B&B Electronics PC Watchdog Timer Card ATRWDT User Manual

Pc watchdog timer card

Advertisement

Quick Links

PC Watchdog Timer Card CE
Models: ATRWDT and ATXWDT
This product designed and manufactured in Ottawa, Illinois USA
707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA
Phone (815) 433-5100 -- General Fax (815) 433-5105
Sales e-mail:
Technical Support e-mail:
Westlink Commercial Park, Oranmore, Co. Galway, Ireland
Technical Support e-mail:
Documentation Number ATxWDT-1303
Documentation Number ATxWDT-1303
of domestic and imported parts by
International Headquarters
B&B Electronics Mfg. Co. Inc.
Home Page: www.bb-elec.com
orders@bb-elec.com
support@bb.elec.com
European Headquarters
B&B Electronics Ltd.
Phone +353 91-792444 -- Fax +353 91-792445
Home Page: www.bb-europe.com
Sales e-mail:
orders@bb-europe.com
 B&B Electronics -- Revised March 2003
-- Fax (815) 433-5109
-- Fax (815) 433-5104
support@bb-europe.com
ATRWDT & ATXWDT
Cover Page

Advertisement

Table of Contents
loading

Summary of Contents for B&B Electronics PC Watchdog Timer Card ATRWDT

  • Page 1 PC Watchdog Timer Card CE Models: ATRWDT and ATXWDT Documentation Number ATxWDT-1303 This product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts by International Headquarters 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Sales e-mail: Technical Support e-mail:...
  • Page 2: Table Of Contents

    Table of Contents CHAPTER 1: GENERAL INFORMATION...1 ...1 NTRODUCTION ...1 EATURES ...1 PECIFICATIONS CHAPTER 2: SETUP AND INSTALLATION...2 ...2 NSPECTION DDRESS WITCH ...5 ELAY ETUP ...5 NSTALLATION ATRWDT M ONNECTING THE ATX R ONNECTING THE NSTALLING THE OFTWARE CHAPTER 3: OPERATION ...9 OMMUNICATING WITH THE ...10 INOUTS...
  • Page 3: Chapter 1: General Information

    Chapter 1: GENERAL INFORMATION Introduction B&B Electronics' Watchdog Timer (WDT) Cards, Models ATRWDT and ATXWDT, are hardware devices designed to overcome the dangers or annoyances associated with a PC "locking up." Your software periodically resets the WDT. If the watchdog doesn't receive the reset trigger within a software selectable timeout period, the WDT resets the computer.
  • Page 4: Chapter 2: Setup And Installation

    Chapter 2: SETUP AND INSTALLATION Inspection Your WDT has been tested for proper operation. It should be in perfect electrical and mechanical condition upon receipt. Remove the card from its protective packaging. Handle the card only by its edges being careful not to touch the gold connection fingers.
  • Page 5 Figure 1. ATRWDT/ATXWDT PCB Silk Screen Documentation Number ATxWDT-1303...
  • Page 6 Switch positions 1 - 7 of S1 configure the I/O address of the WDT. Switches represent a binary 0 in the ON position, a binary 1 when OFF. Least significant bit (LSB) and most significant bit (MSB) are labeled on the card. Table 1 shows the numerical weight and electrical connection of each switch.
  • Page 7: Relay Setup

    If you want to install at another address, use the following procedure. 1. Select the address: Using an I/O port usage table (one is included in Appendix A) select an unused hex address space. Note that the WDT card occupies 8 bytes of I/O space. Use caution when selecting a port address, it is important that nothing else is installed at the selected address.
  • Page 8: Connecting The Atrwdt Motherboard Reset Option

    Connecting the ATRWDT Motherboard Reset Option To use the ATRWDT to reboot the host computer, a connection must be made from the ATRWDT to the motherboard. The jumper wire supplied with the ATRWDT must be connected between the MOTHEBOARD RESET PINS jumper on the ATRWDT and the RESET pins on the host motherboard.
  • Page 9: Connecting The Atx Reset Option For The Atxwdt

    Connecting the ATX Reset Option for the ATXWDT The ATXWDT uses the ATX Power supply to reset the computer. The ATXWDT sends a 5 volt, 10 second signal on the PS-ON data line to turn off the computer for 10 seconds. Then when this signal goes back to zero the computer turns back on.
  • Page 10 contains a historic description of the product. The file, READ.ME, contains corrections and additions to the printed user’s manual. Documentation Number ATxWDT-1303...
  • Page 11: Chapter 3: Operation

    Chapter 3: OPERATION Communicating with the WDT The WDT uses a four-bit latch to start and stop the timers and set the timeout period. Regardless of the mode of operation of the WDT, a "1" must be written to the least significant bit of the latch to start the timers. Writing a "0"...
  • Page 12: Pinouts

    The four bit latch values are also readable. Reading these bits is recommended to verify the presence and setup of the WDT. The BASIC command INP <WDTaddress> is used to read from the WDT. The top three bits are not used and can be masked out. In the ATRWDT the fifth bit is the reset flag.
  • Page 13 Figure 2. Output Schematic Documentation Number ATxWDT-1303...
  • Page 14: Chapter 4: Software

    Chapter 4: SOFTWARE The software shipped with the ATRWDT and ATXWDT includes example software for Windows 3.11, Windows 95 and Windows NT written for Borland C++ 5.01, Microsoft Visual C++ 4.0 and Microsoft Visual BASIC 4.0. Also included is a Windows NT 4.0 device driver. Windows NT and Windows 95 Windows NT restricts access to the I/O ports of the computer to device drivers, so a simple OUT command cannot be used to...
  • Page 15: Changing The I/O Port Address

    Changing the I/O Port Address The setup program, WDTSETUP.EXE, changes the I/O port address that the software uses to communicate with watchdog timer. This address must match the setting of the jumper switches on the watchdog timer. The program updates keys in the registry for the device driver.
  • Page 16: Changing The I/O Port Address

    In Borland C++, a program using the watchdog timer must include PCWDT.H and PCWDT16.LIB in the project to use the watchdog timer commands. The example program uses Borland’s EasyWin to demonstrate the use of the DLL functions. A Borland C++ project file is included to make it easier to recompile the example program.
  • Page 17: Command Reference

    Command Reference BBPCWDT_Startup Purpose: Begin communications with the watchdog timer. C Syntax: HANDLE BBPCWDT_Startup(void); BASIC Function BBPCWDTStartup () As Long Syntax: Remarks: This function reads the watchdog timer’s I/O port value that the setup program stored in the registry for Windows 95 / NT or in the file, PCWDT.INI, for Windows 3.11.
  • Page 18: Bbpcwdt_Reset

    BBPCWDT_Reset Purpose: Reset the timeout of the watchdog timer. BOOL BBPCWDT_Reset(HANDLE hDev, BYTE C Syntax: bResetValue); BASIC Function BBPCWDTReset (ByVal hDev As Long, ByVal bResetValue As Byte) As Syntax: Byte Remarks: hDev is the handle to the watchdog timer that was returned by BBPCWDT_Startup.
  • Page 19: Bbpcwdt_Readregister

    BBPCWDT_ReadRegister Purpose: Read the value of the reset register. C Syntax: BOOL BBPCWDT_ReadRegister(HANDLE hDev, BYTE* value); Function BBPCWDTShutdown (ByVal hDev BASIC As Long, value As Byte) As Byte Syntax: Remarks: hDev is the handle to the watchdog timer that was returned by BBPCWDT_Startup.
  • Page 20: Appendix A: Hardware I/O Maps

    Appendix A: Hardware I/O Maps I/O Map of XT Class Machines Hex Address Address Function in XT Class Machines 000-00F DMA controller (8237A) 020-021 Interrupt controller (8259A) 040-043 timer (8253) 060-063 PPI(8255A) 080-083 DMA page register (74LS612) 0A0-0AF NMI – non maskable interrupt 200-20F game port joystick controller 210-217...
  • Page 21 I/O Map of AT Class Machines Hex Address Address Function in AT Class Machine 000-01F DMA controller #1 (8237A-5) 020-03F Interrupt controller #1 (8259A) 040-05F timer (8254) 060-06F Keyboard (8042) 070-07F NMI – non maskable interrupt & CMOS RAM 080-09F DMA page register (74LS612) 0A0-0BF Interrupt controller #2 (8259A)
  • Page 22: Appendix B: Quickbasic Example

    Appendix B: QuickBASIC Example Note: An additional test program for the WDT is available on B&B’s ftp site at ftp.bb-elec.com/bb-elec/software. B&B Electronics Mfg. Co. Watchdog Timer QuickBASIC Example Program This code is an example of how the WDT is addressed from within a program.
  • Page 23: Appendix C: Declaration Of Conformity

    Appendix C: Declaration of Conformity Statement DECLARATION OF CONFORMITY Manufacturer’s Name: Manufacturer’s Address: Model Numbers: Description: Type: Application of Council Directive: 89/336/EEC Standards: William H. Franklin III, Director of Engineering Documentation Number ATxWDT-1303 B&B Electronics Manufacturing Company P.O. Box 1040 707 Dayton Road Ottawa, IL 61350 USA ATRWDT, ATXWDT...

This manual is also suitable for:

Pc watchdog timer card atxwdtAtrwdtAtxwdt

Table of Contents