WDT during debug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WDT during debug

755 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Tue Apr 27 08:09:01 MST 2010
I am trying to use the Watchdog timer (with WDEN and WDRESET bits on) and it seems to work ok except each time it make a reset (when I fail to feed it) the debugger stops with a SIGSTOP received error.  Am I doing something wrong or is this just something the the wtc normally causes?  It makes it a little difficult to troubleshoot.  Originally I thought of just using the interrupt part but I couldn't figure out where the int vector took me.

Regards
0 Kudos
Reply
1 Reply

646 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkiryanov on Wed Apr 28 01:52:41 MST 2010
I disable WDT for debug build and blinking LED instead of feeding WDT.

User manual:


Quote:
WDINT The Watchdog interrupt flag is set when the Watchdog times out. This flag is cleared when any reset occurs. Once the watchdog interrupt is serviced, it can be disabled in the NVIC or the watchdog interrupt request will be generated indefinitely. The intent of the watchdog interrupt is to allow debugging watchdog activity without resetting the device when the watchdog overflows.

0 Kudos
Reply