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

dfu bootloader Loaded Application runs once then doesn't run at the restart.

Hi everyone! I flashed an application with the help of DFU bootloader. The application runs for the first time . The application contains a service that lets the application reset to the bootloader. Then the bootloader wouldn't run the application after doing a power off -> on. Its the dfu bootloader again and the application wouldnt run. What could be causing this? Some info: The application uses a softdevice and has a bluetooth service. I have a similiar application that would run correctly with the same bootloader even after the restart. The µc is nrf52832. I am using iar workbench.

Parents
  • If you intend to use your firmware in a product, then I strongly suggest that you migrate to a production-ready SoftDevice. SDK v11.0.0 uses the S132 v2.0.0 in its BLE examples and in the bootloader examples.

    However, could you check if 0x7F000 is set to 0x00000001 when the application starts up the first time after the DFU. If it is, then you're probably erasing or writing the bootloader settings page in your application.

Reply
  • If you intend to use your firmware in a product, then I strongly suggest that you migrate to a production-ready SoftDevice. SDK v11.0.0 uses the S132 v2.0.0 in its BLE examples and in the bootloader examples.

    However, could you check if 0x7F000 is set to 0x00000001 when the application starts up the first time after the DFU. If it is, then you're probably erasing or writing the bootloader settings page in your application.

Children
No Data
Related