Vantron
|
Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
IBOX3588 | User Manual
30
4.4
Watchdog Timer
The watchdog timer is disabled by default, and you can use the following commands to
set the time frequency for watchdog kicking. Therefore, when there is any abnormality,
the Device will reboot when it reaches preset time.
1.
Open system.conf;
# vi /etc/systemd/system.conf
2.
Use the up and down arrows to navigate to Runtime and Reboot options, and set the
frequency for watchdog kicking (e.g.,1600ms) and device reboot interval upon an
abnormality (e.g., 2 minutes);
3.
Enable the watchdog with the following command, and the Device will reboot within
2 minutes when there is an abnormality that stops the watchdog kicking at intervals
of 1600ms;
# gpioset gpiochip3 6=1
4.
Disable the watchdog.
# gpioset gpiochip3 6=0