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

WDT triggers DFU exit

Hi,

I have an application that requires watchdog to run continuously. And from application I have code that jumps to the bootloader without device resetting using bootloader_util_app_start() API(example ble_app_hrs). This causes watchdog to trigger even though I have disabled all interrupts hence making dfu exit. Is there a way to disable watchdog. If not could you please suggest the best way to achieve a smooth jump to bootloader?

Thanks in Advance

Parents
  • Hi,

    You should check out section 38 of the reference manual for more details. The watchdog timer will remain running through a soft reset, so even if you used a soft reset to get to your bootloader you would have the same issue. I ended up adding a watchdog service to the bootloader to prevent it from interfering with bootloading operations.

    JD

Reply
  • Hi,

    You should check out section 38 of the reference manual for more details. The watchdog timer will remain running through a soft reset, so even if you used a soft reset to get to your bootloader you would have the same issue. I ended up adding a watchdog service to the bootloader to prevent it from interfering with bootloading operations.

    JD

Children
Related