??? 07/13/06 10:32 Read: times |
#120167 - Not necessarily Responding to: ???'s previous message |
Onyau Chan said:
I think you need to use the watchdog to detect the processor fault. That depends on the nature of the "processor fault"! See: http://www.8052.com/forum/read.phtml?id=120166 Watchdogs are most useful for recovering from software bugs that cause infinite waits - but there are very many other possible "processor faults" that would not trigger a watchdog! Without further diagnostics, a watchdog itself will not tell you what fault occurred! Please have a look at page 8 of the spec. What spec?! If the proccessor is hanging, it can not feed the watchdog. As a result, the watchdog will reset the MCU. Unless you have something like a timer interrupt feeding the watchdog...! Or some other bug that somehow manages to keep the dog fed...# Again, "hanging" is often not a fault in the processor itself. |