Chapter 14: Watchdog timer and hardware reset
Description
The watchdog timer is a fail-safe against program crashes or processor lockups. It
has a programmable timeout period, ranging from 2.0 milliseconds to 2 minutes
(see next section). The watchdog timer can be enabled or disabled in Setup. INT17
software calls, a built–in function on the XE–800 SBC, can also be used to enable
and set the timeout, extend the timeout, strobe, and disable the watchdog timer
from your application. If the timer expires, it performs a hardware reset.
Timeout period (ranges)
Although the timeout periods are listed as 2.0 milliseconds to 2 minutes, the actual
timeouts are ranges of
±
50% of the listed values. Therefore, for a selected timeout
period of 2 minutes, the timeout could expire in as little as one minute or as long as
three minutes. To ensure that the watchdog does not reset the system accidentally,
always strobe the watchdog at a rate of at least twice the selected timeout period.
Booting, power down, and strobing the watchdog timer
When the watchdog is enabled in Setup, it sets the timeout period for two minutes.
The BIOS will strobe the watchdog during the boot process and once more just
before booting is finished. The user’s application must then begin strobing. The
watchdog will continue until it is disabled or power down occurs.
If the watchdog is enabled in Setup and your operating system cannot load up
before the timer expires, your system could reset. Also, if you do not disable the
watchdog and your strobing application ends before power down you could again
reset. If these watchdog situations should occur, remove the “S” jumper W1[1
−
2]
and reboot. This causes the XE–800 SBC to boot using Setup defaults (watchdog
disabled). Enter Setup, then change and save the watchdog settings in Setup.
78
Содержание XE-800
Страница 18: ...Figure 2 1 XE 800 SBC component diagram top 18 ...
Страница 19: ...Figure 2 2 XE 800 SBC component diagram bottom 19 ...
Страница 20: ...Figure 2 3 XE 800 SBC dimensions 20 ...
Страница 89: ...MOV AX 0fb0bh MOV DX 0ffffh INT 17h MOV aData AL if aData 1 printf U1 jumper is ON n 89 ...