Hi,
I'm trying to implement the watchdog timer function for my application using watchdog timer 0 with the RESEN bit set so the timer will eventually reset the processor. My understanding from reading up on this in the slay723 technical reference manual is that the timer generates an interrupt the first time it counts down to 0, then it reloads the count and resets the processor the second time it counts down to 0.
I don't know anything about writing interrupt routines so I'm hoping someone can give me a quick tutorial on how to do this. Right now the function is working except that during the time after the interrupt is generated and before it resets the processor it is in a tight loop in "Default_Handler()" which it says is called when the processor receives an unexpected interrupt.
Thank you,
Brad McMillan