Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/11/02 12:24
Read: times


 
#32277 - RE: My watchdog implementation
<html>
¡Hola! :)

Is it just turning on red and green LEDs if the watchdog trips?

You could have it save a debug snapshot (including a trip counter), possibly to NVRAM if available, before performing a soft reset.

And if an external watchdog is available, set the timeout for the internal wdog to be smaller than the external, so the internal one could catch snapshots and the external could serve as backup in case the internal wdog fails to trip.

If no external RAM is used, the snapshot could go to a reserved area of internal RAM which is not cleared by the init routine, but the trip counter would have to be cleared by external command, or the main init routine could clear all RAM while the wdog init-upon-trip routine could clear all RAM except the debug snapshot.

Maybe relays or something similar could be used to retain the trip status, even in the event of a power cycle (NVRAM is better if available).

<table><tr><td>james</td><td> </td><td>
www.jameshinnant.com
</td></tr></table>
</html>



List of 5 messages in thread
TopicAuthorDate
My watchdog implementation            01/01/70 00:00      
RE: My watchdog implementation            01/01/70 00:00      
RE: My watchdog implementation            01/01/70 00:00      
RE: My watchdog implementation / Peter            01/01/70 00:00      
RE: My watchdog implementation / Peter            01/01/70 00:00      

Back to Subject List