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

Bootloader DFU timeout issue

Hello,
It looks like if there is an issue with bootloader DFU.
If no connection timeout is right.
But if you starts a DFU late (near the end of the timeout), il will cut during the update. How to fix that please (report timeout when connected to smartphone DFU application) ?


Another question about the smartphone DFU update tool (no section to ask question about it, please could you transmit to the right person).
Why do you suppress the selected file after an update ? It's really boring when you have to update a lot of devices… and better, allow multiple devices selection.


Thank you.

Parents
  • Hi,

    Which SDK version are you using? And which timeout is happening, inactivity timeout or watchdog timeout? I will assume SDK 15.3 and inactivity timeout for now.

    The inactivity timer that is started and reset every time a DFU object is received (see nrf_bootlaoder.c, line 162). You will see "Inactivity timeout." if there is a timeout and you are testing with the debug bootloader. Since this is based on the reception of a BLE packet, simply connecting is not enough to reset the device. You can, of course, change this if you like, by calling nrf_bootloader_dfu_inactivity_timer_restart() from somewhere else, if desirable. For instance, when handling the BLE_GAP_EVT_CONNECTED event in ble_evt_handler() in nrf_dfu_ble.c.

Reply
  • Hi,

    Which SDK version are you using? And which timeout is happening, inactivity timeout or watchdog timeout? I will assume SDK 15.3 and inactivity timeout for now.

    The inactivity timer that is started and reset every time a DFU object is received (see nrf_bootlaoder.c, line 162). You will see "Inactivity timeout." if there is a timeout and you are testing with the debug bootloader. Since this is based on the reception of a BLE packet, simply connecting is not enough to reset the device. You can, of course, change this if you like, by calling nrf_bootloader_dfu_inactivity_timer_restart() from somewhere else, if desirable. For instance, when handling the BLE_GAP_EVT_CONNECTED event in ble_evt_handler() in nrf_dfu_ble.c.

Children
Related