NRF52832 won't reset chip after dfu

won't reset chip after dfu

application:      \examples\ble_peripheral\ble_app_buttonless_dfu

bootloader:     \examples\dfu\secure_bootloader\pca10040_s132_ble_debug\arm5_no_packs

SOFTDEVICE:  S132

android  app:  nrf connect VESION 4.24.3

I have programmed  application and merged bootloader, application, soft device.

I can do dfu as many as I want,

but the problem is the MCU can not auto reset   whenever I finish dfu.

i have to    "disconnect " from the nrf connect app, then it reset

how to 

nrf log:  

00> <debug> app: Enter nrf_bootloader_fw_activate
00>
00> <info> app: No firmware to activate.
00>
00> <debug> app: App is valid
00>
00> <info> nrf_dfu_settings: Backing up settings page to address 0x7E000.
00>
00> <debug> nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
00>
00> <debug> app: Running nrf_bootloader_app_start with address: 0x00001000
00>
00> <debug> app: Disabling interrupts. NVIC->ICER[0]: 0x0

Parents
  • bootloader does not enable UART OR logging,

    Removing line contains NRF_LOG_FLUSH (nrf_bootloader_app_start.c:75) have no affect.

    bootloader is base on the examples without any change:

    1. nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_bootloader\pca10040_s132_ble

    2. nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_bootloader\pca10040_s132_ble_debug

    Another strange issue : no logs print out while in stage of bootloader  with  application In combination with freertos

    application:      \examples\ble_peripheral\ble_app_buttonless_dfu +freertos

    actually both  the application and dfu running well,but no logs print out while in stage of bootloader

  • Can you run "nrfjprog --readregs" when the device has gotten stuck in this state? I.e. after the "00> <debug> app: Disabling interrupts. NVIC->ICER[0]: 0x0" line is printed. The Program Counter (PC) should tell us exactly where it hangs.

Reply Children
No Data
Related