7 utilities, 1 watchdog timer, Using the watchdog in an application – ADLINK cPCI-6510 User Manual

Page 65: Chapter 7, utilities, 7utilities

Advertising
background image

Utilities

51

cPCI-6510

7

Utilities

7.1

Watchdog Timer

This section describes the operation of the cPCI-6510’s watchdog

timer (WDT). The primary function of the WDT is to monitor the

cPCI-6510's operation and to reset the system if a software appli-

cation fails to function as programmed. The following WDT func-

tions may be controlled using a software application:

X

enabling and disabling

X

reloading timeout value

The cPCI-6510 custom WDT circuit is implemented using the

internal IO of the ITE Super I/O IT8783 which is at address 2Eh of

LPC. The basic functions of the WDT include:

X

Starting the timer countdown

X

Enabling or disabling WDT

X

Enabling or disabling WDT countdown LED ON

X

Reloading the timeout value to keep the watchdog from timing

out

X

Setting the range of the timeout period from 1 to 15300 seconds

or minutes

X

Sending a RESET signal to the system when the watchdog

times out

Using the Watchdog in an Application

The following section describes using the WDT functions in an

application. The WDT reset function is explained in the previous

section. This can be controlled through the registers in the

cPCI-6510's Super I/O.
An application using the reset feature enables the watchdog func-

tion, sets the count-down period, and reloads the timeout value

periodically to keep it from resetting the system. If the timer count-

down value is not reloaded, the watchdog resets the system hard-

ware after its counter reaches zero.

Advertising