background image

30 

 Bypass and WDT

 

  

 ex. If you have 2 PCI-8214 cards, and install the PCI-8214 

package in 

/usr/local/8213_wdt.  

install the cards with the command

 :  

wdt_inst.pl 2 /usr/local/8213_wdt 

4. 

INSTALL LIBRARY

  

The library is provided as a shared library. To install the library,

 

type the following command: 

Cp <InstallDir>/8213_wdt/lib/libLanWDT.so /usr/lib 

In addition,

 wdt_inst.pl

 also involves the installation for the library. 

More detailed information about Linux Module of WDT is listed in 
readme.dat .(

 X:\NuPRO\PCI8214\WDTutility\Linux

 

5.5.2 WDT with C Language 

#include <stdio.h> 
#include <stdlib.h> 

#include <unistd.h> 
#include "LanWDT.h" 
#include "conio.h" 
 
int main( void ) 

    int err; 
    int timer_interval = 200; // 200 mini-second 
 
    int card_number = 0; /* for the first pci8213 */ 
 
    setbuf( stdout, NULL ); 

    if((err = LanWDT(card_number, timer_interval))<0) 
{ //enable Watchdog timer 
 

printf("Enable WDTimer Error: %d\n", err); 

 

exit(-1); 

    } 
 
    printf(" Enable WDTimer with interval %d sec. \n", 
timer_interval );  
    printf(" 

\n\n Press any key to Disable 

WDTimer :" ); 
    getch(); 
 

    LanWDT(card_number, 0);//disable Watchdog timer 
    putchar('\n'); 
 
    return 0; 

 

Содержание PCI-8213

Страница 1: ...PCI 8213 8214 4 Port 2 Port PCI Ethernet Controller User s Guide Recycled Paper...

Страница 2: ......

Страница 3: ...ncidental or consequential damages arising out of the use or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary informa...

Страница 4: ...ech com Technical Support NuPRO EBC nupro adlinktech com TEL 886 2 82265877 FAX 886 2 82265717 Address 9F No 166 Jian Yi Road Chungho City Taipei 235 Taiwan Please inform or FAX us of your detailed in...

Страница 5: ...6 Extra Display Connector 8 2 7 PXE Function 9 Chapter 3 PCI 8214 10 3 1 Introduction 10 3 2 Specifications 10 3 3 Installation 12 3 4 Jumper Setting 13 3 5 PCI 8214 Front Panel 13 3 6 Extra Display...

Страница 6: ...t Utilities 22 5 1 4 WDT and State Change 22 5 2 WDT control 25 5 2 1 WDT control 25 5 2 2 WDT Time out Value 25 5 2 3 Programming information of the WDT 26 5 3 DOS Test Utility 28 5 4 WDT DLL for Win...

Страница 7: ...il information of each product is list in Chapter 2 to Chapter 4 Chapter 2 PCI 8213 gives detail information of this product Chapter 3 PCI 8214 gives detail information of this product Chapter 4 82559...

Страница 8: ......

Страница 9: ...and reception while retaining the same CSMA CA Ethernet protocol Thus while Fast Ethernet provides a tenfold increase in network capacity it is completely compatible with traditional 10Mbps Ethernet...

Страница 10: ...aximum cable run between the PCI 8213 8214 and the supporting Hub is 100 meters The cable must be straight not a crossover cable with an RJ 45 plug at each end Make the network connection by plugging...

Страница 11: ...100pdisk Due to the Windows NT is a none plug and play OS we remind you some tips for installing the Windows NT here 1 We suggest that installing the newest update version of service pack after insta...

Страница 12: ...ort 32 64 bit and 33 66MHz u Ethernet I F Intel 82559 Ethernet Controller Complied with PCI V2 2 IEEE802 3 IEEE802 3u True 32 bit PCI bus master Full duplex support 10 Base T 100 Base TX support 100Mb...

Страница 13: ...Standard EN 61 000 3 3 EMS Test European Standard EN 50 082 1 1997 FCC Test According to Standard for Methods of Measurement ANSI C63 4 1992 Test in Compliance with CISPR PUB 22 and FCC Part 15 u Env...

Страница 14: ...nstall the board into your system 5 Prepare to install the software drivers you may need to prepare a floppy diskette to pre copy the drivers from ADLINK CD if you install drivers by a FDD 6 Install d...

Страница 15: ...ront Panel Figure 2 5 1 PCI 8213 Front Panel CN1 4 RJ45 Connector ACT LAN active LINK LAN Link 10 100 10 100 Mbps CN4 ACT LINK CN3 ACT LINL CN2 ACT LINK CN1 ACT LINK CN4 10 100 CN3 10 100 CN2 10 100 C...

Страница 16: ...8 PCI 8213 2 6 Extra Display Connector Figure 2 6 1 Extra Display Connector Pin Assignment JP4 JP3 GROUND SPEED LED ACT LED RESERVE RESERVE CH1 CH2 CH4 CH3...

Страница 17: ...system BIOS s Boot From LAN First item When POST power on self test of the system BIOS finished press Ctrl S Into INTEL Boot Agent Setup Program There are seven items as following Boot Protocol PXE R...

Страница 18: ...ecifications u Bus architecture Standard PCI Universal bus Fully complied with PCI Rev2 2 Fully support 32 64 bit and 33 66MHz u Ethernet I F Intel 82559 Ethernet Controller Complied with PCI V2 2 IEE...

Страница 19: ...2 Voltage fluctuations Test European Standard EN 61 000 3 3 EMS Test European Standard EN 50 082 1 1997 FCC Test According to Standard for Methods of Measurement ANSI C63 4 1992 Test in Compliance wit...

Страница 20: ...your system 1 Read this Manual 2 Check the PCB if there is any damage on it 3 Setup the jumper if necessary 4 Install the board into your system 5 Prepare to install the software drivers you may need...

Страница 21: ...d to enable or disable the boot ROM JP2 Boot Rom enable disable setting Default Setting JP2 Disable BOOT ROM Enable BOOT ROM Jumper Pin No 1 2 2 3 3 5 PCI 8214 Front Panel Figure 2 5 1 Front Panel of...

Страница 22: ...bps Blinking Data transmission is active Light LAN Link ACT Low LAN Disconnect Power On High 5V Power on High Normal mode or Power on status WDT time out Low Bypass mode GROUND SPEED LED ACT LED Power...

Страница 23: ...system BIOS s Boot From LAN First item When POST power on self test of the system BIOS finished press Ctrl S Into INTEL Boot Agent Setup Program There are seven items as following Boot Protocol PXE R...

Страница 24: ...the CD ROM drive 4 1 Software and Drivers Support The 82559 drivers support the following OS or platforms Windows 95 Windows 98 Windows 2000 Windows NT Novell Netware DOS Setup for Novell NetWare DOS...

Страница 25: ...ck Network Adapters entry Double click the Intel PRO 100 Management Adapter entry 4 Click Driver tab then click Update Driver button 5 An Update Device Driver Wizard window will pop up click Next 6 Se...

Страница 26: ...Ethernet Adapter 10 100 entry Click the Properties button 4 Click on the Driver button then click Update Driver button 5 Update Device Driver Wizard starts click NEXT 6 Select Display a list of and cl...

Страница 27: ...ate the driver through the following steps 1 From the Control Panel double click the Network icon a Network Configuration window will pop up 2 Click ADD button Select Network Adapter window will pop u...

Страница 28: ...5 Driver Installation on Red Hat Linux The 82559 source code has been included in Red Hat 6 2 7 0 7 1 and 7 2 Linux kernel So what you need to do is plug your card in and boot Red Hat then the driver...

Страница 29: ...r is off 5 1 Bypass Operation 5 1 1 Block Diagram The following diagram shows the operation of bypass on PCI 8214 82559 Ethemet 1 82559 Ethernet 2 Bypass Relays WDT Relay Driver Intel 21154 PCI to PCI...

Страница 30: ...lays are Dis energized 82559 Ethemet 1 82559 Ethernet 2 Bypass Relays WDT Relay Driver Intel 21154 PCI to PCI bridge chip 64 or 32 bit GPIO0 GPIO1 GPIO2 GPIO3 SW1 JP4 7 Time out value Power on default...

Страница 31: ...al State The factory default setting is the Bypass State When power on default setting is Bypass State Power WDT State Note DOS Test Utility Off Disable Bypass Relay physical character On Disable Bypa...

Страница 32: ...ss State After the power on the communication will be initialed according to the JP4 7 setting The default WDT is disabled The communication state will be change from Default State either Bypass State...

Страница 33: ...sable or reload the WDT the program must set those bits to low then high to generate the rising edge trigger If the reload of WDT value is larger than time out value then the communication state will...

Страница 34: ...etion of the configuration write to this register Bit positions corresponding to gpio pins that are programmed as input only are not driven Writing 0 to thes e bits has no effect When read reflects th...

Страница 35: ...st value written Reset value 0 all pins are input only Generate WDT Commands Enable WDT i Write 01h to reg 65h and 10h to reg 66h let GPIO0 to be low ii Write 10h to reg 65h Let GPIO0 to be high Disab...

Страница 36: ...will keep in Default State LANWDT EXE Enable WDT and keep reloading WDT The WDT will not time out unless the program stops running or power off User can turn off the system power to test the bypass f...

Страница 37: ...xvzf 8213_wdt tgz This will extract the 8213_wdt directory with the following subdirectories i driver contains the device module and the installation script ii drvsrc contains the source code for 821...

Страница 38: ...tailed information about Linux Module of WDT is listed in readme dat X NuPRO PCI8214 WDTutility Linux 5 5 2 WDT with C Language include stdio h include stdlib h include unistd h include LanWDT h inclu...

Страница 39: ...s Local warranty conditions will depend on the local dealers 3 Our repair service does not cover two year guarantee while damages are caused by the following a Damage caused by not following instructi...

Страница 40: ...dlinktech com Damaged products with RMA forms attached receive priority For further questions please contact our FAE staff ADLINK service adlinktech com Test Measurement Product Segment NuDAQ adlinkte...

Отзывы: