??? 07/13/06 11:53 Read: times |
#120178 - RTFM Responding to: ???'s previous message |
Harshada D Nehete said:
the fault onyau is referring is correct when i mean processor fault i refer to the fault which occurs if the processor stops What fault do you suspect that would cause this? Note that the AT89S51 Watchdog is clocked from the system clock - so, if that stops, the watchdog will also stop! and not faults that will occur due to software bugs or infinite looping. AT89S51 Datasheet, p8, said: (my emphasis).
The WDT is intended as a recovery method in situations where the CPU may be subjected to software upsets. if i use the watchdog timer the processor gets reset as soon as there is an overflow. Correct - that is what the datasheet says. i want to illuminate an led and then wait for hardware reset to restart the processor.how is this done . You would need external hardware to spot the reset, and hold the reset line low until required. is there a location in the controller where the processor jumps if there is an watchdogtimer overflow No: the watchdog asserts the reset line - as described in the Datasheet where i can illuminate the led and wait for the reset pin to reset it You've got into this state becuase the processor hardware has stopped - you said it's not a software lock-up. So how can the processor do anything if it is stopped?! You are going to need some sort of external "supervisor" to do this. |