Closed pabigot closed 7 years ago
The project found in the project/bootloader_secure
directory is in fact the source code for the bootloader used in Thingy:52. As you can see in the project, most of the files used come from the nRF5 SDK 12.1.
The only code difference (to my knowledge) from the 12.1 SDK bootloader is the flashing yellow LED.
And of course, the folder should have been renamed from pca10040
to pca20020
. This will be fixed to avoid confusion.
@jorgenmk I think the issue is that I use the armgcc toolchain, which does not even begin to build. Patching the Makefile I can correct the SDK_ROOT
link and add some of the other missing includes and driver sources, but it overruns the FLASH region even before I can identify everything that's missing. It also seems to have references to SEGGER_RTT_printf in the non-debug version.
I don't need this anymore since I can flash directly, but in case it's helpful I'm attaching the work-in-progress diff.
The documentation suggests we should be able to install our own boot loaders to support modified firmware. That page is somewhat lacking in detail; more importantly there doesn't appear to be any bootloader source for pca20020.
There is something in the thingy project/bootloader_secure directory but it's for a different board and possibly a different SDK version.