Page 1 of 1

System Watchdog

Posted: 30 Jul 2018, 13:11
by Marcelin
Hi,

I am using a Revpi Core connected to a Revpi DIO Module and I would like to set the system to reboot after certain time when it notices that the running code hangs on or when due to unknown problems it fails to execute.
I read in the forum that this is possible from with the hardware watchdog implemented in the Revpi Connect. I would like to know how I could implement this in my system.
Is there any configuration file to install and configure it on the Revpi Core?
Any help is much appreciated.

Thanks!

Re: System Watchdog

Posted: 30 Jul 2018, 13:24
by volker
Basically, no. This is a piece of hardware in our RevPi Connect which cannot be replaced by software.
In a RevPi Core there is a way to somehow monitor your sw and react by kernel driver switching the outputs to off when the application is no longer writing data to the PI ( see here: viewtopic.php?f=41&t=807 ). But you would need to use a special IOCTL call to write data to the PI cyclically