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

How to put Application in Bootloader mode without using a Softreset?

I am trying the ANT-OTA DFU Update using an ANT Stick and the nr51422 pca 10028 board.Using the OTA Tester (s210), I am currently doing an OTA Update with the s210 dual bank bootloader. But the application goes into bootloader mode using a NVIC soft reset .Is there another way to put the Application in Bootloader mode ,since my application goes to a power off and on mode frequently to save battery consumption. This would indicate that my application would go to Bootloader mode ,every time it wakes up from a sd_power_system_off. Any other method to put the application to bootloader mode, when it receives a specific ANT Payload? _

  • Yes, that makes complete sense. Now, I just have to figure out, even when there is DFU code present, I want the program counter to directly go to Application mode, or stay for a minimal time in the "bootloader" mode and go to Application. Also , would have to do some research in terms of graceful shutdown. Because in every SDK Example, NVIC Softreset() is used to go to "bootloader" mode, regardless of single or dual bank.

Related