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
  • I understand that it doesn't think my application is valid. But I'm failing to see why it then suddenly thinks it's valid after a reset through SWD.

    The DFU procedure works as expected and the application starts normally after that. If I put the device in OFF mode, and wake it up, the bootloader loads the application. The only time where the bootloader doesn't load the application is if it loses power.

    I'll see if I can re-produce this behaviour in with GDB (I'll need to catch the first power on).

Reply
  • I understand that it doesn't think my application is valid. But I'm failing to see why it then suddenly thinks it's valid after a reset through SWD.

    The DFU procedure works as expected and the application starts normally after that. If I put the device in OFF mode, and wake it up, the bootloader loads the application. The only time where the bootloader doesn't load the application is if it loses power.

    I'll see if I can re-produce this behaviour in with GDB (I'll need to catch the first power on).

Children
No Data
Related