Watchdog timer

The embedded watchdog on the BeagleBone can be very handy in the case of an embedded product, on a remote location or inside a robot.
 
The watchdog will restart the BeagleBone it is not written to in 60 seconds (while being kept open).
 
To use it:
  1. Open the file /dev/watchdog
  2. Do not close the file
  3. Write something (e.g. "\n") to the file at least every 59 seconds to keep the system running
If a write is not performed within 60 seconds, the watchdog restarts the BeagleBone.
 
To test:
  1. cat > /dev/watchdog
  2. Hit return once
  3. Wait 60 seconds
  4. Watch the BeagleBone reset.
 
 
Comments