On Sat, 31 Jul 1999, Greg Fountain wrote:

> I was wondering if anyone might know what options might be candidates to
> implement a watchdog timer?

Apart from standard features, it would be nice to have a little flash memory
there to save the register and stack dump in case of system crash - when
watdog was neccesary.

The watchdog should have an option to generate few non maskabble interrupts
(NMI) first, and the Linux handler for NMI should be written in such a way
that is saves the dump of the current system state to the flash on the
watchdog, and after a few interrupts it reboots the system. 

After the reboot some program should read the flash contents from the
watchdog, save it to disk and clear the flash.

Regards,
--
Toasz Motylewski

Reply via email to