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? _

Parents
  • Every time you do a reset you have to go through the Bootloader, but you don't have to stay there for long before you jump to the application.

    Maybe you can use a bit in GPREGRET register to tell the bootloader if it should jump to the application or not. This is a register that is retained. The data will still be there after a reset.

    You can set or clear the bit when you get a specific ANT payload.

Reply
  • Every time you do a reset you have to go through the Bootloader, but you don't have to stay there for long before you jump to the application.

    Maybe you can use a bit in GPREGRET register to tell the bootloader if it should jump to the application or not. This is a register that is retained. The data will still be there after a reset.

    You can set or clear the bit when you get a specific ANT payload.

Children
Related