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

How to debug App + Bootloader

Hi all,

I have sent an application ZIP OTA and performed DFU, the log:

...

<debug> app: All flash operations have completed.

<debug> app: Starting reset timer.

<debug> app: Attempting to reset the device.

<debug> nrf_sdh_soc: In nrf_dfu_transports_close

<debug> nrf_sdh_soc: num transports: 1

<debug> nrf_sdh_soc: Shutting down BLE transport.

<debug> nrf_sdh_soc: Disconnecting.

<debug> nrf_sdh_soc: BLE transport shut down.

<debug> nrf_sdh_soc: After nrf_dfu_transports_init

<debug> app: Reset.

<info> nrf_sdh_soc: Inside main

<debug> nrf_sdh_soc: In nrf_bootloader_init

<debug> nrf_sdh_soc: in weak nrf_dfu_init_user

<debug> nrf_sdh_soc: In real nrf_dfu_init

<debug> dfq_req_handling: Running nrf_dfu_settings_init(sd_irq_initialized=false).

<debug> nrf_sdh_ble: Calling nrf_dfu_flash_init(sd_irq_initialized=false)...

<debug> nrf_sdh_ble: Initializing nrf_fstorage_nvmc backend.

<debug> nrf_sdh_soc: Initializing the clock.

<debug> nrf_sdh_soc: Enter nrf_dfu_continue

<debug> nrf_sdh_soc: Valid App

<debug> nrf_sdh_soc: Enter nrf_dfu_app_is_valid

<debug> nrf_sdh_soc: Return true. App was valid

<debug> dfq_req_handling: Erasing settings page additional data.

<debug> nrf_sdh_soc: Enter nrf_dfu_app_is_valid

But I do not see the device advertising.

I'm wondering at this point how do I debug the device?

Please note I have tested the application with only softdevice and it works perfectly.

Any other suggestions as to why it might not be working when the bootloader is involved?

Related