Nu Technology cPCI-6760DK/P5 WDT Programming, How to Test the WDT?, 46 ∙ Watchdog and Utilities

Page 54

5.1.1 WDT Programming

In order to simplify the programming code, we have provided a sub function for programmers to implement with their software. For DOS, Windows 95, 98 and Windows NT, the sub function format is as follows:

out_port (int IOport_number, int Counter_value)

IOport_number:0x3F0 -->W83977EF's configuration port. 0x2E -->W83627HF's configuration port.

Counter_value: 0 ~ 15300 (255 minutes)

(write a zero to disable the timer)

Under DOS, Windows 95 or 98

Make a project program called 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 to the DOS sources we have provided.

5.1.2 How to Test the WDT?

Under DOS, Windows 95 or 98

Open a DOS command prompt and execute the following utility on the CD.

X:\CHIPDRV\WDT\test <n>

/* n = second value. This program can auto-detect which Super I/O chip you are using. */

Under Windows NT

Before you executing this program under NT, you must run the setup program under Windows NT in advance. Open a DOS command prompt window and execute the following command.

test977 <n>: n = second value. For W83977EF

46 Watchdog and Utilities

Image 54
Contents NuIPC CPCI-6760DK/P5 Trademarks Detailed Company Information Getting service from AdlinkAdlink Technology Inc QuestionsPage Table of Contents Getting Started Driver InstallationWarranty Policy Ii ∙ Table of Contents Watchdog and UtilitiesList of Tables List of Tables ∙Page Checklist IntroductionIntroduction ∙ ∙ Introduction Description CPCI-6760DK/P5 functional TableModel CPCI-6760DK/P5 Features SpecificationsSpecifications of the cPCI-6760DK/P5 Host Memory Bios Award PnP BiosChipset IDE PortsUSB Interface Watch-dog TimerOn Board Super I/O Hardware MonitoringOS Compatibility Front Panel LEDs and switchOn-board Ethernet supporting Flash Disk SupportingSafety Certificate and Test Power ConsumptionEnvironment Peripheral Connectivity for cPCI-6760DK/P5 Peripheral Connectivity for cPCI-6760DK/P5Functional Block Diagram 10 ∙ IntroductionMechanical outline drawing Outline drawing for cPCI-6760DK/P5 CPU boardJumpers and Connectors 12 ∙ Jumpers and ConnectorsJumpers and Connectors ∙ TOP View14 ∙ Jumpers and Connectors Bottom and Front Panel View Jumper Setting Information for cPCI-6760DK/P5 Front Board Connector Pin Assignments Information for cPCI-6760DK/P516 ∙ Jumpers and Connectors Setting Function Pin # Signal Function1 JP1 on cPCI-6760DK/P5 VGA Connector CN3 Ethernet Connectors CN6Serial Port COM1 Connector CN1 USB Port a Connector CN5Secondary IDE Connectors 44-pin, CN2 Signal Pin #20 ∙ Jumpers and Connectors Primary IDE Interface 40-pin, CN11Parallel Port Connector on DB-6760J3 CN9 FDD Interface 34-pin, CN1022 ∙ Jumpers and Connectors Ping header P3 Pin AssignmentsCompactPCI J1 Pin Assignments 12-1424 ∙ Jumpers and Connectors CompactPCI J2 Pin AssignmentsCompactPCI J4 Pin Assignments 26 ∙ Jumpers and Connectors CompactPCI J5 Pin AssignmentsLAN Port Indicators Integrated in LAN1 CN6 and LAN2 CN7 LED indication in LAN portIDE Activity LED Indication Power LED Indication28 ∙ Jumpers and Connectors WDT LED IndicationGetting Started Getting Started ∙CPU Installation Memory Installation30 ∙ Getting Started CF Installation 1 DB-6760CF Outline, Jumper and Connectors Selection32 ∙ Getting Started Removing the DB-6760CF from the cPCI-6760DK/P5 HDD Installation 1 HDD/FFD Installation for cPCI-6760DK/P534 ∙ Getting Started Device Connection for OS Installation Using the cPCI-6760DK/P5 on other backplanesRemoving HDD/FFD from cPCI-6760DK/P5 I/O implementation is only supported by rear I/O board 36 ∙ Getting Started3 LAN1, LAN2 Front and Rear I/O Connecting Selection S1, S2 LAN1 Connecting SelectionS3, S4 LAN2 Connecting Selection Driver Installation 38 ∙ Driver InstallationVGA Drivers Installation Driver Installation on WindowsDriver Installation ∙ 40 ∙ Driver Installation Driver Installation on Windows NT LAN Drivers Installation 42 ∙ Driver InstallationSoftware and Drivers Support Update Device Driver Wizard starts, click Next 44 ∙ Driver Installation Watchdog Timer Configuration Watchdog and UtilitiesWatchdog and Utilities ∙ How to Test the WDT? WDT Programming46 ∙ Watchdog and Utilities Hardware Doctor Utility Intel Preboot Execution Environment PXE 48 ∙ Watchdog and UtilitiesIntel Adapter Teaming Warranty Policy Warranty PolicyAdlink service@adlinktech.com Warranty Policy ∙