|
From: | Simon Han |
Subject: | [avr-gcc-list] preserve state during watchdog reset |
Date: | Tue, 3 Feb 2004 12:29:53 -0800 |
Hi all, Does anyone figure out a way to preserve state during watchdog reset?I am using watchdog to monitor for some of my functions. Before and after function calls, I do a watchdog reset. Now the problem is how I can figure out which function caused the watchdog timeout. I was thinking to store this information in EEPROM, but the delay of doing this is way too high. Will it be possible to assume certain registers are not reset?
Any suggestions? Simon
[Prev in Thread] | Current Thread | [Next in Thread] |