Specifications
Utilities 63
cPCI-6840
WDT LED light
Set bit 25 of GPIOBASE + 04H to 0. Bit 25 of GPIOBASE +
0CH determines the state of WDT LED. (0=light, 1=dark)
WDT LED blink
Set bit 25 of GPIOBASE + 04H to 0. Bit 25 of GPIOBASE +
18H enables WDT LED blinking function. (0=function normally,
1=enable blinking) The high and low times have approximately
0.5 seconds each.
WDT Programming Procedure
1. Set BIOS Setting in Integrated Peripherals\Onboard
Device Page Watch Dog Timer Item to “Enabled”.
2. Make sure WDT_TOUT# signal is functional. (Not
GPIO32 function).
3. Set WDT output enable, presecaler and interrupt type
into WDT configuration register.
4. Obtain control base from Base Address register.
5. Program Preload register’s value according to unlocking
sequence.
6. Set WDT timer mode into WDT Lock Register.
7. Enable WDT from WDT Lock register and program the
functionality of WDT LED.
To prevent the timer from causing an interrupt or driving
WDT_TOUT#, the timer must be reloaded periodically. The fre-
quency of reloads required is dependent on the value of the pre-
load values. To reload the down-counter, the register unlocking
sequence must be performed.
If the user wishes to disable WDT, set bit 1 of WDT Lock Register
to 0.
Utilities
ADLINK provides a demo DOS utility, HRWDT.EXE. It is included in
the driver CD. Run “hrwdt /?” under the following directory:
X:\CHIPDRV\WDT\HRWDT for a more detailed description.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com