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

Simple Method to call bootloader from Applicaton

Hello, 

I am using my own board with the NRF52832 device.

I currently have a NRF DFU bootloader programmed and soft device. I used it to download my own App using the NRF connect utility and the application is working.

The application needs a method to invoke the bootloader from an internal command.

I have read on the forums and am a little confused. 

I found this: https://devzone.nordicsemi.com/f/nordic-q-a/12606/jumping-to-bootloader-from-the-application/47861#47861

Is this all I need to do to get the bootloader to re-activate from my App?

-TimW

  • This just in... I have it working now.

    I'm not sure which of these things fixed it but my application doesn't use buttons.

    1) I did not have NRF_BL_DFU_METHOD_GPREGRET enabled in my SDK.  I'm not sure when in the firmware that actually applies but somehow I missed it before.

    2) I compiled my application with a different soft device than the DFU bootloader.

    I can now program my app from my own version of the DFU bootloader and then switch back from my app to the DFU bootloader on command! 

    -Thanks and I will open a new question if I have more.

Related