This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

secure bootloader switch to application

Hi,

I'm trying to program the bootloader together with an application+SD132 3.0 on the nrf52, but my device gets stuck with the bootloader when I finish programming it.

The steps I've done are those:

1-Program the SD132 3.0. 2-Prepare the settings file for the bootloader with my app.hex and merge it (app+settings+bootloader). 3-Program the secure_bootloader_debug: it starts correctly and I can connect to it without problems. 4- Program the app+settings+bootloader file. 5- The DFU advertising is working, but when timeout is reached it stops emitting...

I checked the 0x7f020 flag and is set to '1'... I don't know if the bootloader size is wrong (starts 0x78000, size: 0x6000), the timeout doesn't work properly or maybe I'm doing anything else wrong. If I understand correctly the bootloader_debug accepts the "debug" firmware packages bypassing the key checking, no?

Thank you!

Related