Wdt1 Programming; 5.1.1.1 How To Test The Wdt1 - ADLINK Technology NuIPC cPCI-3500A Series User Manual

Table of Contents

Advertisement

5.1.1

WDT1 Programming

The function of the watchdog timer is to reset the system automatically. It
contains a one-second (or one-minute) resolution down counter (in CRF2 of
logical device 8 of super I/O chip) and two Watchdog control registers (CRF4
and CRF3 of logical device 8).
We provides the WDT function call for easy use under DOS, Windows
95/98/2000, and Windows NT, please refer the information under
X : \CHIPDRV\WDT.
In order to simplify the programming code, we provide a sub function for the
programmers to implement their software. For DOS, Windows 95 or 98 and
Window NT, the sub function format is as follow:
out_port (int IOport_number, int Counter_value)
(write a zero to disable the timer)
Under DOS, Windows 95 or 98
Make a project program with wdt.cpp under Turbo C/C++.
Under Windows NT
The library installation procedure:
(1) run the setup program under NT environment.
(2) reboot the system.
You can also write your own DLL by referring the DOS source we provide.

5.1.1.1 How to Test the WDT1?

Under DOS, Windows 95 or 98
Open a DOS command prompt and execute the following utility on the CD.
/* n = second value. This program can auto detect which Super
I/O chip you use. */
IOport_number:0x3F0 -->W83977EF's configuration port.
0x2E -->W83627HF's configuration port.
Counter_value: 0 ~ 15300 (255 minutes)
X : \CHIPRRV\WDT\test
<n>
Watchdog and Utilities • 31

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuIPC cPCI-3500A Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents