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

Bootloader doesn't load application on power-on

I have a small problem with my bootloader + application on NRF52832. I'm using SDK 12.2.0 with S132 v3.0.0.

When the device loses power, and power is then re-applied, the bootloader doesn't start the application. If I however issue a reset through SWD, the application is started.

Everything else is working as expected (BLE DFU firmware update etc.). I know there isn't a lot to go on, but I'm hoping there is a simple explanation.

Parents
  • Hi,

    How does the application start at the first place? I assume it only start on the first run if you do DFU update but not if you do a power rest after that ?

    When the bootloader didn't start application what did it do ?Would it advertise as DFUTarg ? Or it's simply bricked ?

    You may want to check what happened inside the bootloader, simply debug it, add a breakpoint in main and step the code (you may need to put optimization level to 0 )

Reply
  • Hi,

    How does the application start at the first place? I assume it only start on the first run if you do DFU update but not if you do a power rest after that ?

    When the bootloader didn't start application what did it do ?Would it advertise as DFUTarg ? Or it's simply bricked ?

    You may want to check what happened inside the bootloader, simply debug it, add a breakpoint in main and step the code (you may need to put optimization level to 0 )

Children
No Data
Related