Decision Computer International Watch dog 1 User manual

Operations Manual Watch dog timer card
DECISION Computer International
1
WATCH DOG 1 & 2WATCH DOG 1 & 2
OPERATION MANUAL
Decision Computer Int’l. Co., Ltd.

Operations Manual Watch dog timer card
DECISION Computer International
2
CHAPTER 1
I
IN
NT
TR
RO
OD
DU
UC
CT
TI
IO
ON
N
The watch dog timer adapter is your systems and peripheral
applications protector! Watch dog timer adapter provides user
selectable refresh timer to be used inside your PC, which prevents
the computer to hang by automatically resetting the system of your
computer. When the watch dog timer adapter is enable, the system
software or application program must refresh watch dog before
selected time slice is reached, otherwise the computer will be reset.
There are two kinds of watch dog timer adapter, watch dog I and
watch dog II. The watch dog I is used to prevent the computer to
hang by automatically resetting the system. The watch dog II likes
watch dog I, it can be used to prevent the computer hang and reset
the power of power control box that connects to peripheral devices.
To order watch dog timer adapter, user must specify watch dog I or
watch dog II.
In the distribution diskette, we provide software for MS/DOS, OS/2,
Windows/95, Windows/3.xx, Windows/NT4.0 workstation, SCO
UNIX/XENIX, and Interactive UNIX operating systems.

Operations Manual Watch dog timer card
DECISION Computer International
3
4The features of the watch dog I timer adapter are:
•Provides user selectable refresh timer.
•When the application program or computer system does not
generate refresh signal, the computer will be reset
automatically.
•I/O address selectable.
•PC/386, PC/486, Pentium hardware compatibles.
•Suitable for MS/DOS, OS/2, Windows 3.1, Windows 95,
Windows NT, SCO UNIX/XENIX, Interactive UNIX
operating systems.
4The features of the watch dog II timer adapter are:
•Provides user selectable refresh timer.
•When the application program or computer system does not
generate refresh signal, the computer will be reset
automatically.
•Available with 110V and 240V (10A) Plug type UK,
Europe, USA and Austria type selectable for extension
power control box.
•I/O address selectable.
•PC/386, PC/486, Pentium hardware compatibles.
•Suitable for MS/DOS, OS/2, Windows 3.1, Windows 95,
Windows NT, SCO UNIX/XENIX, Interactive UNIX
operating systems.

Operations Manual Watch dog timer card
DECISION Computer International
4
1.1 Applications
On industrial application, lots of computers are automatically
operating itself once the power turns on. In case the application got
hang surely the computer and its operation hang also. If you don’t
boot your computer again it will not go back to its regular operation,
but not with the watchdog! Because once the watchdog was not
refresh, it will reset the computer automatically!
While using your computer, unexpectedly your modem got hang.
One way of connecting it again is to switch off then turn on your
modem to continue on working. But now, it's the new way around,
watch dog II will be automatically reset the modem power. It will
protect your application software system.
1.2 The Difference between Watch Dog I and II
The advantage of watch dog II over the watch dog I is that the watch
dog II has an expansion power control box that can control external
component. When reset signal activate of the watch dog II, it will
also reset the power of power control box.
User can also reset the power of power control box by watch dog II
directly, without reset whole the computer system.

Operations Manual Watch dog timer card
DECISION Computer International
5
CHAPTER 2
U
UN
NP
PA
AC
CK
KI
IN
NG
G
I
IN
NF
FO
OR
RM
MA
AT
TI
IO
ON
N
4Check that your watch dog package includes one of the
following items:
WATCHDOG I
•Watch dog I timer adapter.
•User manual.
•Reset cable.
•Utility software.
WATCHDOG II
•Watch dog II timer adapter.
•Watch dog expansion power control box.
•User manual.
•RG59AU Connection cable.
•Reset cable.
•Utility software.

Operations Manual Watch dog timer card
DECISION Computer International
6
CHAPTER 3
H
HA
AR
RD
DW
WA
AR
RE
E
I
IN
NS
ST
TA
AL
LL
LA
AA
AT
TI
IO
ON
N
To install the watch dog timer adapter, user have to specify the
refresh time slice and I/O address. The steps for installation are
shown as follows:
1. Select the appropriate refresh time slice and I/O address for
the adapter card. Make sure that I/O address does not
conflict with other devices.
2. Turn off your system.
3. Place your watch dog card into your system.
4. Connect the switch (MS RST) to the reset switch of mother
board.
5. Connect the switch (SW RST) to the reset switch of PC
panel.
6. If your adapter is watch dog II, please connect RG59AU
connector to expansion power control box, and then connect
the power control box to the power plug. Also connect
peripheral power to power control box if necessary.
7. Turn on your system.

Operations Manual Watch dog timer card
DECISION Computer International
7
CHAPTER 4
H
HA
AR
RD
DW
WA
AR
RE
E
C
CO
ON
NF
FI
IG
GU
UR
RA
AT
TI
IO
ON
N
4.1 Jumper Settings
Be sure to set correct I/O address and refresh timer, then connect
JP3 and JP4 to reset signal of main board and reset push button. The
jumper settings are:
1. JP1 (I/O address selection)
ADDRESS SPECIFICATION
Base + 00H Enable or Refresh Watch Dog (READ)
Base + 01H Disable Watch Dog (READ)
Base + 01H Turn ON/OFF power control box (WRITE)
The JP1 is used to select I/O address, Each JP contains A11 to A1
jumper pins. The A11 to A1 are used to set I/O port address, when
the corresponding pin is short means 0, otherwise no pin short
means 1. The base address of above is BBCH. It is easily to read the
corresponding address to trigger the enable (refresh) or disable
watch dog adapter. To turn OFF power control box, just write “1” to
(Base + 01H), to turn ON power control box, write “0” to (Base +
01H).

Operations Manual Watch dog timer card
DECISION Computer International
8
2. JP5 (select refresh timer)
Pin 123456
Timer 62.5ms 125ms 250ms 500ms 1sec 2sec
Pin 7 8 9 10 11
Timer 4sec 8sec 16sec 32sec 64sec
The JP5 is used to select refresh time slice.
3. JP3 and JP4 (Connector 1)
Please connect JP3 to reset connector of your CPU main board, and
connect JP4 to reset push button on the front panel of your PC.
Please refer section 4.2 for more details.
4. RG59AU Connector
The RG59AU connector of watch dog II is used to connect to
expansion power control box. Please refer section 4.2 for more
details.

Operations Manual Watch dog timer card
DECISION Computer International
9
WATCH DOG I

Operations Manual Watch dog timer card
DECISION Computer International
10
WATCH DOG II

Operations Manual Watch dog timer card
DECISION Computer International
11
4.2 Hardware Configurations
JP3 and JP4 Connection for watch dog I
JP3 and JP4 Connection for watch dog II
JP4
JP3

Operations Manual Watch dog timer card
DECISION Computer International
12
4.3 The Examples of Jumper Setting
Address: &180H
Address: &200H
Address: &240H
Address: &270H

Operations Manual Watch dog timer card
DECISION Computer International
13
Address: &280H
Address: &2C0H
Address: &340H
Address: &380H
Address: &3C0H

Operations Manual Watch dog timer card
DECISION Computer International
14
CHAPTER 5
S
SO
OF
FT
TW
WA
AR
RE
E
In the distribution diskette, we support the library and examples for
MS/DOS, Windows/3.xx, and Windows/95 to access adapter. For
Windows/NT4.0 workstation, OS/2, SCO UNIX/XENIX, and
Interactive UNIX, the device driver is supported for auto or manual
refresh control.
When watch dog software is installed, user may select auto refresh
or manual refresh mechanism. To select auto refresh, the watch dog
software will refresh watch dog timer adapter automatically, except
the system hang (when system hang, the watch dog adapter will
reset the computer system). To select manual refresh, user must
refresh watch dog adapter by application program on time;
otherwise the system will be reset. Under multitasking
(multiprogramming, multithread, … etc.) operating system, the time
schedule can not control accuracy by application program, so that if
you use manual refresh, please refresh the watch dog more quicker
than selected time slice.
After watch dog software is installed and set to manual mode, user
need enable watch dog timer, then refresh it, or disable the watch
dog timer. The enhanced functions of watch dog II will be used to
turn OFF/ON power control box.

Operations Manual Watch dog timer card
DECISION Computer International
15
5.1 Developing Software
Developing software on watch dog is very simple. Below are the
sample programs under different programming languages:
1. EXAMPLE PROGRAM USING BASIC:
REM
REM WDSIMPLE.BAS -> Simple Program for Watchdog (I and
II)
REM Program by Edgardo A Regodon Jr(SrSE)
REM of Decision Asia Inc. (Phil.)
REM
DIM UserChoice AS STRING * 1 ' Variable Declaration
DIM WDAddress AS INTEGER
DIM status AS STRING * 1
DIM Feedback AS STRING * 1
DIM Counter1 AS INTEGER
DIM counter2 AS INTEGER
status = "F"
CLS ' Get The Watch Dog Address
PRINT "Please Enter the address of Watch Dog Card (I/II) in
decimal"
PRINT "Address Range from 0 to 4094"
INPUT "Watch Dog address is: ", WDAddress
Inquire:
CLS ' Main Menu
PRINT ("Menu Choices")
PRINT ("1] Enable/Disable")

Operations Manual Watch dog timer card
DECISION Computer International
16
PRINT ("2] Refresh")
PRINT ("3] Exit")
INPUT "Please enter your choices: ", UserChoice
SELECT CASE UserChoice
CASE "1" ' Enable Disable Watch Dog
IF status = "F" THEN
status = "T"
value = INP(WDAddress)
PRINT "The Watch Dog has been enabled. . ."
ELSE
status = "F"
value = INP(WDAddress + 1)
PRINT "The Watch Dog has been disabled. . ."
END IF
INPUT "Press ENTER key to continue", temp
GOTO Inquire
CASE "2" ' Refresh Watch Dog
IF status = "T" THEN
value = INP(WDAddress + 1)
value = INP(WDAddress)
PRINT "Watch Dog Refresh"
ELSE
PRINT "The Watch Dog is currently not enable. . ."
PRINT "You have to enable the Watch Dog first to refresh it"
END IF
INPUT "Press ENTER key to continue", temp
GOTO Inquire
CASE "3" ' QUIT Watch Dog
value = INP(WDAddress + 1)
END
CASE ELSE ' Wrong selection
PRINT "Please select 1, 2 or 3 only"

Operations Manual Watch dog timer card
DECISION Computer International
17
INPUT "Press ENTER key to continue", temp
GOTO Inquire
END SELECT
2. EXAMPLE PROGRAM USING PASCAL
{
WDSimple.PAS -> Simple Program for Watchdog (I and II)
Program by Edgardo A Regodon Jr (SrSE) of Decision Asia Inc.
(Phil.)
Jan 1998
}
uses crt,dos;
label
Inquire;
var
UserChoice,ans:char;
WDAddress,Value:integer;
Status:Boolean;
BEGIN
Status := FALSE;
clrscr;
writeln('Please Enter the address of Watch Dog Card (I/II) in
hexadecimal');
writeln('Address Range from 0 decimal to 4094 decimal');
write('Wathc Dog address is: ');
read(WDAddress);
Repeat

Operations Manual Watch dog timer card
DECISION Computer International
18
clrscr;
writeln('Menu Choices');
writeln('');
writeln('1] Enable/Disable');
writeln('2] Refresh');
writeln('3] Exit');
write('Please enter your choices: ');
UserChoice := readkey;
delay(70);
case UserChoice of
'1':
if (Status = FALSE) then
begin
Status := TRUE;
value:=port[WDAddress];
writeln('The Watch Dog has been enabled. . .');
ans := readkey;
end
else
begin
Status := FALSE;
value:=port[WDAddress+1];
writeln('The Watch Dog has been disabled. . .');
ans := readkey;
end;
'2':
if (Status = TRUE) then
begin
value:=port[WDAddress+1];
value:=port[WDAddress];
writeln('');
write('Watch Dog Refresh');

Operations Manual Watch dog timer card
DECISION Computer International
19
delay(500);
end
else
begin
writeln('The Watch Dog is currently not enable. . .');
write('You have to enable the Watch Dog first to refresh it');
ans:=readkey;
end;
'3':
value:=port[WDAddress+1];
else
writeln('');
writeln('Please select 1, 2 or 3 only');
readkey;
end;
until (UserChoice = '3');
end.

Operations Manual Watch dog timer card
DECISION Computer International
20
3. EXAMPLE PROGRAM USING C++
/*
WDSIMPLE.CPP -> Simple Program for Watchdog (I and II)
Program by Edgardo A Regodon Jr(SrSE)
of Decision Asia Inc. (Phil.)
*/
#include <stdio.h> /* Headers Declaration */
#include <conio.h>
#include <dos.h>
#include <string.h>
void main()
{
char UserChoice; /* Variable Declaration */
unsigned int WDAddress;
char Boolean;
Boolean = 'F';
clrscr(); /* Inquire for the Address */
printf("Please Enter the address of Watch Dog Card (I/II) in
hexadecimal\n");
printf("Address Range from 0 Hex to 0FFE Hex\n");
printf("Wathc Dog address is: ");
scanf("%x", &WDAddress);
Inquire:
clrscr(); /* Main menu */
printf("Menu Choices\n\n");
printf("1] Enable/Disable\n");
printf("2] Refresh\n");
printf("3] Exit\n\n");
This manual suits for next models
1
Table of contents
Other Decision Computer International PCI Card manuals
Popular PCI Card manuals by other brands

Eaton
Eaton Cutler-Hammer 76PCI quick start guide

Digitus
Digitus DS-33003 user manual

Winnov
Winnov VIDEUM quick start guide

Acromag
Acromag PMC470 Series user manual

Belkin
Belkin F5U503ea instruction manual

Teledyne Lecroy
Teledyne Lecroy PCI Express 5.0 x16 Slot Interposer User manual and quick start guide