Watchdog Programming - TDS e28 User Manual

Epic sbc supports intel atom n270 processor with gigabit lan / lvds / tv out / 2com / wifi
Table of Contents

Advertisement

4.2 WatchDog Programming

This section describes the usage of WatchDog. E 2 8 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.
Please refer to the following
WatchDog under 'Debug' program.
Address port: 2E and Data port: 2F
C:>debug To enter debug mode.
-o 2E 87
To enter configuration.
-o 2E 87
-o 2E 07 To point to Logical Device Number Reg.
-o 2F 07 To select logical device 7 (WatchDog)
-o 2E 30
To activate WatchDog.
-o 2F 01
-o 2E F5 Preparing to select the unit of timer equals minute or second.
To read the value of index "2F".
-I 2F
The value "xx" equals [(value of index "2F") OR (F7) or (FF)].
-o 2F xx OR (F7): unit is second.
OR (FF): unit is minute.
-o 2E F6 Preparing to set the WatchDog timer value.
The value "##" ranges between 01 ~ FF (1 ~ 255).
-o 2F ##
00: To disable WatchDog.
-o 2E FA Preparing to set the WatchDog output signal.
To read the value of index "2F".
-I 2F
The value "xx" equals [(value of index "2F") OR (01)].
-o 2F xx
To issue signal WDTRST to reset system.
-o 2E F5 Preparing to start the WatchDog timer counting.
To read the value of index "2F".
-I 2F
The value "xx" equals [(value of index "2F") OR (20)].
-o 2F xx
To start timer counting.
-q
To quit debug mode
table to program WatchDog properly, and user could test
27
E28 User Manual

Advertisement

Table of Contents
loading

Related Products for TDS e28

Table of Contents