B&B Electronics ATRWDT User Manual

Size:
267.08 Kb
Download

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

B&B Electronics Mfg. Co. Inc.

707 Dayton Road --P.O. Box 1040--Ottawa, IL 61350 USA Phone (815)433-5100--General Fax (815)433-5105

Home Page: www.bb-elec.com

Sales e-mail:orders@bb-elec.com --Fax (815)433-5109Technical Supporte-mail:support@bb.elec.com --Fax (815)433-5104

European Headquarters

B&B Electronics Ltd.

Westlink Commercial Park, Oranmore, Co. Galway, Ireland

Phone +353 91-792444--Fax +35391-792445

Home Page: www.bb-europe.com

Sales e-mail: orders@bb-europe.com

Technical Support e-mail:support@bb-europe.com

B&B Electronics --Revised March 2003

Documentation Number ATxWDT-1303

ATRWDT & ATXWDT

Cover Page

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Table of Contents

 

CHAPTER 1: GENERAL INFORMATION...................................

1

INTRODUCTION..................................................................................

1

FEATURES..........................................................................................

1

SPECIFICATIONS ................................................................................

1

CHAPTER 2: SETUP AND INSTALLATION ...............................

2

INSPECTION .......................................................................................

2

ADDRESS SWITCH SETUP ..................................................................

2

RELAY SETUP ....................................................................................

5

INSTALLATION...................................................................................

5

CONNECTING THEATRWDT MOTHERBOARDRESETOPTION.........

6

CONNECTING THEATX RESETOPTION FOR THEATXWDT ............

7

INSTALLING THE SOFTWARE .............................................................

7

CHAPTER 3: OPERATION .............................................................

9

COMMUNICATING WITH THE WDT....................................................

9

PINOUTS ..........................................................................................

10

CHAPTER 4: SOFTWARE ...........................................................

13

WINDOWS NTAND WINDOWS 95 ...................................................

13

Changing the I/O Port Address ..................................................

14

Disk Caching ..............................................................................

14

Existing DOS Programs .............................................................

14

WINDOWS 3.11................................................................................

14

Changing the I/O Port Address ..................................................

15

Disk Caching ..............................................................................

15

COMMAND REFERENCE ...................................................................

16

BBPCWDT_Startup....................................................................

16

BBPCWDT_Shutdown................................................................

16

BBPCWDT_Reset .......................................................................

17

BBPCWDT_ReadRegister ..........................................................

18

APPENDIX A: HARDWARE I/O MAPS...................................

A-1

APPENDIX B: QUICKBASIC EXAMPLE................................

B-1

APPENDIX C: DECLARATION OF CONFORMITY ............

C-1

Documentation Number ATxWDT-1303

Table of Contents

i

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

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. The ATRWDT uses the reset pins from the motherboard to reset the computer, where as the ATXWDT uses the ATX power supply to turn off the computer then turn it back on 10 seconds later. A form C relay output is also provided on both models to reset an external device if desired. This relay may be set to energize when the timeout is reached, or energize during normal operations.

Features

Software selectable timeout period from 0.5 to 512 seconds

Software enable and disable

Form C relay output to control external device

Write back timeout verification

Reset flag for ATRWDT

Non-splicingconnection to motherboard reset pins for the ATRWDT

Non-splicingconnection to the ATX power supply for the ATXWDT

Specifications

Dimensions:

2.6" H x 4.1" L

Address:

0 to 3F8h

Power Consumption:

1.75 W maximum

Output specs:

Form C relay output, maximum ratings

 

24 VDC at 1.0 A

 

115 VAC at 0.5 A

Connector:

DB-9male

Documentation Number ATxWDT-1303

1

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

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. Save the packaging for storage or shipping if the card needs repair.

Address Switch Setup

The WDT can be set for any I/O address using a seven position DIP switch to program the binary I/O address of the card. Figure 1 is a drawing of the printed circuit board showing the locations of the address switch and setup jumpers on the WDT.

2

Documentation Number ATxWDT-1303

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

Figure 1. ATRWDT/ATXWDT PCB Silk Screen

Documentation Number ATxWDT-1303

3

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

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.

Table 1. Address Switches

S1 Position

7

6

5

4

3

2

1

Bus

SA9

SA8

SA7

SA6

SA5

SA4

SA3

Connection

 

 

 

 

 

 

 

Decimal

512

256

128

64

32

16

8

Weight

 

 

 

 

 

 

 

Hex Weight

200

100

80

40

20

10

8

Any I/O address may be used, but it is important that no other device in the host computer use that address. Table 2 is a list of frequently unused I/O addresses. In most cases, the WDT can be set to one of these addresses.

Table 2. Frequently Unused Port Addresses

Base Hex

Binary

Switch

I/O Space

Address

Equivalent

Settings

Description

 

 

MSB LSB

 

200

1000000000

1000000

game port

208

1000001000

1000001

game port

300

1100000000

1100000

prototype

308

1100001000

1100001

prototype

310

1100010000

1100010

prototype

318

1100011000

1100011

prototype

380

1110000000

1110000

SDLC

388

1110001000

1110001

SDLC

3A0

1110100000

1110100

bisync comm

3A8

1110101000

1110101

bisync comm

4

Documentation Number ATxWDT-1303

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

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.

2.Convert the hex address to its binary equivalent.

3.Throw away the 3 least significant bits.

4.The remaining 7 digits represent the switch address. 1's represent an OFF switch. 0's represent an ON switch.

Relay Setup

The jumper labeled RELAY NORMALLY provides two ways for the external reset to be configured. With the jumper in the0 position, the relay will normally be discharged, and will energize after the timeout is reached. In the1 position, the relay will be energized while the timer is running. The relay will discharge after the timeout is reached, the timer disabled, or the power is turned off.

Installation

1.Turn the power to your computer off and unplug from the power outlet.

2.Remove the cover of the computer.

3.Pick an unused ISA slot. The WDT will work in a short (8-bit)or full length(16-bit)slot.

4.Remove the expansion ISA slot cover. Save the screw for installation of WDT.

5.Install the WDT into the unused ISA slot. Be certain that the card is inserted completely into the slot.

6.Secure the card with the mounting screw.

Documentation Number ATxWDT-1303

5

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

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. If your computer has a RESET switch, the switch's jumper wires should already be connected to the motherboard reset pins. Remove the switch wires from the motherboard pins and connect them to theRESET BUTTON jumper on the ATRWDT. Next connect the jumper wire to themotherboard-resetpins. The other end is connected to theMOTHERBOARD RESET PINS jumper on the ATRWDT. These pins are in parallel withRESET BUTTON jumper and will allow the ATRWDT or your RESET switch to reboot the host computer.

The polarity of the RESET JMPR is indicated on the ATRWDT PCB but, in most cases, not on the motherboard or reset switch. If you are unsure of how to connect the ATRWDT to the motherboard, use the following procedure to verify the polarity of the connections.

1.Disconnect the reset switch wires from the motherboard.

2.Install the ATRWDT in an empty ISA slot in your computer. Leave the computer cover off.

3.Connect the jumper wire provided with the ATRWDT to the motherboard-resetpins. Leave the other end unconnected.

4.Power up the computer.

5.After the computer has booted, connect the other end of the jumper wire to MOTHERBOARD RESET PINS jumper of the ATRWDT.

6.Remove the wires from MOTHERBOARD RESET PINS jumper.

7.If your computer does not reboot, the polarity was correct. If the computer did reboot, reverse the connection made to

MOTHERBOARD RESET PINS jumper of the ATRWDT.

8.Follow the same procedure to connect the RESET switch wires to RESET BUTTON jumper of the ATRWDT.

NOTE: Use caution when operating the computer with the case open. Be sure to ground yourself by touching the metal case of the computer before you handle any components inside the machine.

6

Documentation Number ATxWDT-1303

 

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100

- Fax 815-433-5104

 

B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +353 91-792444

Fax +353 91-792445

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-ONdata line to turn off the computer for 10 seconds. Then when this signal goes back to zero the computer turns back on. The ATX daughter board also allows the computer to bypass the ON/OFF button. Setting the jumper toON/OFF will allow the ON/OFF button to work as normal. Setting the jumper toALWAYS ON will bypass the ON/OFF button, leaving the computer always on.

1.Unplug the computer from the outlet socket.

2.Press the release tab on the connector to disconnect the power cable from the motherboard.

3.Set the Jumper to ON/OFF orALWAYS ON.

4.Plug the 20-pinconnector of the jumper wire into the motherboard’s power connector.

5.Plug the 3-pinconnector of the jumper wire intoATX CONNECTOR jumper of the ATXWDT.

6.Plug the power cable into the header on the jumper wire.

Installing the Software

The software provided with the WDT is only for Windows. If you are not using Windows, you do not need to install the software.

1.Insert the floppy disk in drive A:

2.Run the setup program. This step is different depending on the version of Windows:

A.For Windows 3.11, select RUN from the FILE MENU of the Program Manager and type:A:\SETUP.EXE

B.For Window 95 or Windows NT, select SETTINGS | CONTROL PANEL | ADD/REMOVE PROGRAMS from the Start Button and typeA:\SETUP.EXE

3.Follow the directions in the setup program to complete the installation of the software.

After the software is installed, the file, FILES.LST, contains a list and description of the installed files. The file, HISTORY.LST,

Documentation Number ATxWDT-1303

7

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445

contains a historic description of the product. The file, READ.ME, contains corrections and additions to the printed user’s manual.

8

Documentation Number ATxWDT-1303

B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104B&B Electronics Ltd – Westlink Comm. Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445