[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use watchdog in user application



Hello RIEM-VIS,

Thursday, March 30, 2006, 8:33:49 AM, you wrote:
RVR> I'm looking for a way to have an application in user space (e.g.
RVR> daemon) to force a hardware reset if other user applications do
RVR> not fire the watchdog.

I wrote such a daemon (very simple) as an replacement for the kernel
watchdog. Of course it does a *software* reset and is even *less*
reliable than the kernel version.


RVR> #   CONFIG_WATCHDOG is not set

If you don't have a hardware watchdog you must at least enable the
software watchdog (CONFIG_SOFT_WATCHDOG). Be aware the software
implementation can't be 100% reliable, as noted in the documentation.

Udo