
50 V7865 Hardware Reference Manual
3.4 Watchdog Timer
3.4.1 General
The V7865 provides a programmable Watchdog Timer (WDT) which can be used
to reset the system if software integrity fails.
3.4.2 WDT Control Status Register (WCSR)
The WDT is controlled and monitored by the WDT Control Status Register
(WCSR) which is located at offset 0x08 from the address in BAR2. The mapping of
the bits in this register are as follows:
The “WDT Timeout Select” field is used to select the timeout value of the
Watchdog Timer as follows
The “SERR/RST Select” bit is used to select whether the WDT generates an SERR#
on the local PCI bus or a system reset. If this bit is set to “0”, the WDT will
generate a system reset. Otherwise, the WDT will make the local PCI bus SERR#
signal active.
The “WDT Enable” bit is used to enable the Watchdog Timer function. This bit
must be set to “1” in order for the Watchdog Timer to function. Note that since all
registers default to zero after reset, the Watchdog Timer is always disabled after a
reset. The Watchdog Timer must be re-enabled by the application software after
reset in order for the Watchdog Timer to continue to operate. Once the Watchdog
Timer is enabled, the application software must refresh the Watchdog Timer
within the selected timeout period to prevent a reset or SERR# from being
generated. The Watchdog Timer is refreshed by performing a write to the WDT
Keepalive register (WKPA). The data written is irrelevant.
Table 3-11 WDT Control Status Register (WCSR)
Field
Bits
Read or Write
SERR/RST Select
WCSR[16]
Read/Write
WDT Timeout Select
WCSR[10..8]
Read/Write
WDT Enable
WCSR[0]
Read/Write
All of these bits default to “0” after system reset. All other bits are reserved.
Table 3-12 WDT Timeout Select Field
Timeout
WCSR[10]
WCSR[9]
WCSR[8]
135 s
0
0
0
33.6 s
0
0
1
2.1 s
0
1
0
524 ms
0
1
1
262 ms
1
0
0
131 ms
1
0
1
32.768 ms
1
1
0
2.048 ms
1
1
1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com