B&B Electronics ATXWDT, ATRWDT manual Pinouts, Registers

Page 12

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. It will be a 1 when the ATRWDT resets the computer and a 0 if the computer has not been reset by the ATRWDT. This bit will be cleared if the computer is turned off or after the bit has been read. A small example program, written in QuickBASIC can be found in Appendix B.

Table 4. Registers

Write Register

Read Register

L0

L0

L1

L1

L2

L2

L3

L3

X

Reset Flag FOR ATR

 

X FOR ATX

X

X

X

X

X

X

X = Don’t Care

Pinouts

Three pins of the male DB-9 connector are used for the WDT. Pins 4 and 7 are the external device reset relay contacts. These are non-polarized, normally open contacts, and pins 3 and 7 are for the normally closed.

Figure 2 is a schematic of the output portion of the WDT.

10

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

Image 12
Contents PC Watchdog Timer Card CE Table of Contents Features SpecificationsGeneral Information Introduction Setup and Installation Inspection Address Switch SetupATRWDT/ATXWDT PCB Silk Screen Address Switches S1 Position Bus Weight Hex WeightConnection Decimal 200Relay Setup InstallationConnecting the Atrwdt Motherboard Reset Option Connecting the ATX Reset Option for the Atxwdt Installing the SoftwareDocumentation Number ATxWDT-1303 Operation Communicating with the WDT Pinouts RegistersOutput Schematic Software Windows NT and WindowsWindows Changing the I/O Port AddressDisk Caching Existing DOS ProgramsParameters IoPortAddress=0x0200 IoPortCount=0x0001 Command Reference BBPCWDTStartupBBPCWDTShutdown BBPCWDTReset Value hex TimeoutBBPCWDTReadRegister Bool BBPCWDTReadRegisterHANDLE hDevBYTE* value As Long, value As Byte As ByteAppendix a Hardware I/O Maps SdlcMap of AT Class Machines Parallel printer on monochrome adapterAppendix B QuickBASIC Example Do While INKEY$ =Appendix C Declaration of Conformity Statement Declaration of Conformity