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
  • If it advertise as DFUTarg and doesn't enter your application, meaning it thinks that the application is not valid. This could be due to CRC mismatch.

    Do you do any flash operation in your application ?

    Please step into bootloader code and check the return value of nrf_dfu_app_is_valid() inside nrf_dfu_init().

    Could you test doing DFU with any of our example for example the ble_app_hrs .

Reply
  • If it advertise as DFUTarg and doesn't enter your application, meaning it thinks that the application is not valid. This could be due to CRC mismatch.

    Do you do any flash operation in your application ?

    Please step into bootloader code and check the return value of nrf_dfu_app_is_valid() inside nrf_dfu_init().

    Could you test doing DFU with any of our example for example the ble_app_hrs .

Children
No Data
Related