NICK MATTESON

MCF5211/5213 Watchdog Reset

Discussion created by NICK MATTESON on Apr 9, 2007
Latest reply on Apr 11, 2007 by NICK MATTESON
I would like to have a "hard" reset whenever the watchdog times out.
There is a CWRI bit in the CWCR that is supposed to be used for selecting interrupt or reset whenever the watchdog times out.  If I then look into the bit descriptions of the CWRI bit I find that selecting 0 for interrupt on timeout is OK but selecting 1 states the following: "Reserved. If a one is written undetermined behaviour will result.  Note: If a core reset is required, the watchdog interrupt should set the soft reset bit in the interrupt controller."
 
Has anyone had any success with this approach or is there another way to get the reset of the micro upon watchdog timeout??
 
Thanks,
NM

Outcomes