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

RESETREAS DOG without WDT Handler Firing

SDK 15.2, nrf52840 SD 6.1


I'm having an issue where a reset with RESETREAS DOG 0x02 is not coming through the WDT handler before executing reset.
I can force this reset by jumping into a while(1) spin loop, but the WDT expired handler does not fire before the jump to 0 reset.
The code resets, and the reset reason is watchdog, however my breakpoint and routine in wdt_event_handler are not executed before the reset. (I make sure to clear the reason after each reboot)
I also made sure APP_ERROR_CHECK is not executed either.

What is the path of this execution? Is this a valid watchdog reset, or am I looking in the wrong place?
Does the soft device not being able to run in the while loop cause the reset? The breakpoint that happens at the reset instruction does not give any context. 


Any help/insight would be appreciated,
Jeff

Related