Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
VT-SBC-3399 | User Manual 32
3.5
RTC
RTC module provides accurate time and date information
to the system. If you are using
the RTC for the first time, please calibrate the RTC time to the system time.
1.
Set the system date & time;
# date -s "2023-02-24 14:38:10"
2.
Synchronize the RTC time with the system time;
# hwclock -w
3.
Reboot the Board;
# reboot
4.
Check the RTC time information.
# hwclock -r
3.6
Watchdog Timer
The watchdog timer is turned on by default and the system will reboot automatically if the
feed frequency is not set. If the watchdog timer is killed, the dog will not be fed and the
system will reboot automatically after 10 seconds.
Check the watchdog device:
# ls /dev/watchdog
/dev/watchdog
If the device is identified, the watchdog driver is working properly.
Kill the watchdog program:
# killall watchdog
[ 197.034060] dw_wdt: unexpected close, system will reboot soon
If the system reboots in a short time, the program is turned off properly.