Revision: 1.0
35
4.5 WATCHDOG, GPIO, AND BYPASS PROGRAMMING
4.5.1 Watchdog Programming
This section describes the usage of WATCHDOG. AR-B6050 integrated the
WATCHDOG that enable user to reset the system after a time-out event. User can use a
program to enable the WATCHDOG and program the timer in range of 1~255
second(s)/minute(s). Once user enables the WATCHDOG, the timer will start to count down
to zero except trigger the timer by user’s program continuously. After zeroize the timer (stop
triggering), the WATCHDOG will generate a signal to reset the system. It can be used to
prevent system crash or hang up. The WATCHDOG is disabled after reset and should be
enabled by user’s program.
Intel also provides a Linux watchdog driver to access the feature on AR-B6050. It can
be accessed via /dev/watchdog. About the related operations of Linux watchdog, please
refer Linux website.
Please refer to the following table to program WATCHDOG properly, and user could test
WATCHDOG under ‘Debug’ program.
Address port: 2E and Data port: 2F
C:>debug
To enter debug mode.
-o 2E 87
-o 2E 01
-o 2E 55
-o 2E 55
To enter configuration.
-o 2E 07
To point to Logical Device Number Reg.
-o 2F 07
To select logical device 7 (WATCHDOG).
-o 2E 72
-o 2F 40
To select “keyboard reset” as WATCHDOG output to reset system.
-o 2E 72
Preparing to select the unit of timer equals minute or second.
-i 2F
To read the value of index “2F”.
-o 2F xx
The value “xx” equals [(value of index “2F”) OR (80)].
OR (80): unit is second.
OR (00): unit is minute.
-o 2E 73
Preparing to set the WATCHDOG timer value.
-o 2F ##
The value “##” ranges between 01 ~ FF (1 ~ 255 seconds).
00: To disable WATCHDOG.
-q
To quit debug mode
Notice: The “actual” timer value may not match with the “theoretical”. That is
because of the tolerance of internal oscillating clock and cannot be adjusted or
optimized.
Summary of Contents for AR-ES6050FLD
Page 1: ...Revision 1 0 1 Revision Description Date 1 0 Release 2010 08 20 AR ES6050FLD System Guide...
Page 5: ...Revision 1 0 5 3 System Configuration 3 2 4 8 9 10 11 12 13 7 5 6 1...
Page 17: ...Revision 1 0 17 3 Switch Cable...
Page 18: ...Revision 1 0 18 4 AR B6050 Board Guide 4 1 Block Diagram...
Page 21: ...Revision 1 0 21 4 2 2 AR B6050 LAYOUT Bottom side SODIMM1 CF...
Page 38: ...Revision 1 0 38 printf For 10 seconds to reset n...