System Watchdog

Topics about the Hardware of Revolution Pi
Post Reply
Marcelin
Posts: 9
Joined: 16 Jul 2018, 11:03

System Watchdog

Post 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!
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41

Re: System Watchdog

Post 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
Unser RevPi Motto: Don't just claim it - make it!
Post Reply