[En-Nut-Discussion] Watchdog Timer

Chuck Hackett ChuckH at WhiteTrout.net
Mon Jan 28 17:49:24 CET 2008


I see in the help files how to enable and reset the Watchdog Timer but I
don't see how one gets access to information that tells me where the
processor was executing at the time the timer expired (i.e.: when the
processor was reset).

I would like to be able to record how many Watchdog timer restarts occurred
and what the PC (code location) & SP (to help determine the task that was
running) locations were at the time.

Is there Nut support for this or do I need to roll my own (I assume I'd have
to insert code in the init logic to capture this information).

BTW: Is there a PDF version of the Nut library documentation?  It would be
easier to search, etc.

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck





More information about the En-Nut-Discussion mailing list