bootloader not loading application (nRF25832, SES, SDK v.17.1.0, SoftDevice s112 v7.2.0)

Hello,

I have followed this guide https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader to create an image with bootloader, custom application and softdevice.

My problem is that bootloader is never loading the application, I can see with nRFConnect that the bootloader is advertising as DfuTarg.

I suspect that bootloader is not recognising the application as valid, so my questions are:

- how do I debug what is happening in bootloader? If I load bootloader_debug with SES I lose my application in the flash

-what could be a possible solution?

Regards,

Rocco

Parents Reply
  • ok, now is working. I had DFU button mode enabled

    <info> app: Inside main
    <debug> app: In nrf_bootloader_init
    <debug> nrf_dfu_settings: Calling nrf_dfu_settings_init()...
    <debug> nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
    <debug> nrf_dfu_settings: Using settings page.
    <debug> nrf_dfu_settings: Copying forbidden parts from backup page.
    <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
    <info> nrf_dfu_settings: Backing up settings page to address 0x7E000.
    <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
    <debug> app: Enter nrf_bootloader_fw_activate
    <info> app: No firmware to activate.
    <debug> app: App is valid
    <info> nrf_dfu_settings: Backing up settings page to address 0x7E000.
    <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
    <debug> app: Running nrf_bootloader_app_start with address: 0x00001000
    <debug> app: Disabling interrupts. NVIC->ICER[0]: 0x0

Children
Related