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

BLE DFU WDT SDK15.2 bug?

Hi all

nrf52840 Development board,sdk is nRF5_SDK_15.2.0_9412b96,PC is windows 10 .My testing master device is cell phone(Huawei HTC and so on,android system),and using "nrf toolbox" APP.

I added watchdog  function in my application,and then when I test the ble dfu ,I found that  the watchdog feeding in the bootloader did not happen during app FW activation.

nrf_bootloader_wdt_feed_timer_start(reduced_timeout_ticks, wdt_feed_timer_handler);

wdt_feed_timer_handler is not called any time.Is this an SDK bug?

Thanks,

mijiale

The log as follosw:

  • : During the DFU process the bootloader may perform one or more SoftResets, i.e. call either  NVIC_SystemReset() or sd_nvic_SystemReset(). The WDT will _not_ be reset during a SoftReset, see Reset behavior

    If the WDT causes the reset during the DFU process, then yes, then the WDT will not be running after the reset unless explicitly started by the bootloader.  However, the WDT should not timeout during the DFU process in the first place. Could it be that the WDT interval is to thight? Do you see an improvement when setting the WDT timeout interval to 4?

    Best regards

    Bjørn

Related