background image

45 

Appendix A. Watch-Dog Timer 

The WatchDog Timer is a device to ensure that standalone systems can 
always recover from abnormal conditions that cause the system to crash. 
These conditions may result from an external EMI or a software bug. 
When the system stops working, hardware on the board will perform 
hardware reset (cold boot) to bring the system back to a known state. 
Three I/O ports control the operation of WatchDog Timer. 

443 (hex) 

Write 

Set WatchDog Time period 

443 (hex) 

Read 

Enable the refresh the WatchDog Timer. 

043/843 (hex)  Read 

Disable the WatchDog Timer. 

 

Prior to enable the WatchDog Timer, user has to set the time-out period. 
The resolution of the timer is 1 second and the range of the timer is from 
1 sec to 255 sec. You need to send the time-out value to the I/O port – 
443H, and then enable it by reading data from the same I/O port – 443H. 
This will activate the timer that will eventually time out and reset the CPU 
board. To ensure that this reset condition won’t occur, the WatchDog 
Timer must be periodically refreshed by reading the same I/O port 443H. 
This must be done within the time-out period that is set by the software, 
please refer to the example program. Finally, we have to disable the 
WatchDog timer by reading the I/O port -- 843H or 043H. Otherwise the 
system could reset unconditionally. 
 
 

A tolerance of at least 5% must be maintained to avoid unknown routines 
in the operating system (DOS), such as disk I/O that can be very time-
consuming. Therefore if the time-out period has been set to 10 seconds, 
the I/O port 443H must be read within 7 seconds

 
 
 
 
 
 
 
 
 

46 

Example assembly program: 

TIMER_PORT   =  443H 
TIMER_START  =  443H 
TIMER_STOP   =  843H

 

;;Initial Timer Counter 

MOV DX, TIMER_PORT 
MOV AL, 8    

;;8 seconds

 

OUT DX, AL    
MOV DX, TIMER_START 
IN AL, DX

.    

;;Start counter

 

 

W_LOOP: 
MOV DX, TIMER_STOP 
IN AL, DX 
MOV DX, TIMER_START

 

IN AL, DX

        

;;Restart counter

 

;;Add Your Appliaction Here 

CMP EXIT_AP, 0 
JNE W_LOOP 
MOV DX, TIMER_STOP 
IN AL, DX 

;;Exit AP

 

Summary of Contents for JUKI-3712

Page 1: ...arks JUKI 3711P 3712 is registered trademarks of ICP Electronics Inc IBM PC is a registered trademark of International Business Machines Corporation Intel is a registered trademark of Intel Corporatio...

Page 2: ...SETUP 25 4 6 BIOS FEATURES SETUP 27 4 7 CHIPSET FEATURES SETUP 32 4 8 INTEGRATED PERIPHERALS 34 4 9 POWER MANAGEMENT SETUP 37 4 10 PNP PCI CONFIGURATION SETUP 40 4 11 Defaults Menu 42 4 12 IDE HDD au...

Page 3: ...Chipset 82C693A 82C596B 2 1 1 Specifications CPU Celeron 300 566Mhz or above Processor Pentium III FC PGA 450 866Mhz or above Processor VIA Cyrix 466Mhz or above Processor FSB 66 100 133MHz Bus PCISA...

Page 4: ...ddition to this User s Manual the JUKI 3711P 3712 package includes the following items JUKI 3711P 3712 Celeron Pentium III Single Board Computer RS 232 Top RS422 485 Bottom Cable x 1 Printer Cable x 1...

Page 5: ...actFlash Disk device mode The CompactFlash used IDE channel 2 JP2 CompactFlash Disk Mode Setup JP2 DESCRIPTION SHORT Master OPEN Slave 2 3 Clear CMOS Setup If want to clear the CMOS Setup for example...

Page 6: ...Port B COM2 JP6 DESCRIPTION 1 2 RS 232 3 4 RS 422 485 8 2 7 Serial Port B RI or External Power Select These jumpers are used to set the RI pin of COM2 as ring signal or external power JP7 JP8 1 2 3 JP...

Page 7: ...10 27 GROUND 28 WRITE PROTECT 29 N C 30 READ DATA 31 GROUND 32 SIDE 1 SELECT 33 N C 34 DISK CHANGE 3 2 PCI IDE Disk Drive Connector You can attach two IDE Integrated Device Electronics hard disk driv...

Page 8: ...h speed NS16C550 compatible UARTs with Read Receive 16 byte FIFO COM2 also provides multifunctios as RS422 full duplex or RS485 half duplex The RS485 can automatically change its direction depending o...

Page 9: ...ARD CLOCK 6 MOUSE CLOCK 14 CN16 5 pin External Keyboard Connector 1 2 3 4 5 PIN NO DESCRIPTION 1 KEYBOARD CLOCK 2 KEYBOARD DATA 3 NC 4 GROUND 5 5V 3 6 USB Port Connector The JUKI 3711P 3712 built in t...

Page 10: ...ognize the fan speed Please note only specified fan offers the rotation signal 16 FAN1 CPU Fan Connector 1 2 3 PIN NO DESCRIPTION 1 Ground 2 12V 3 Rotation Signal 3 9 LAN RJ45 Connector JUKI 3711P 371...

Page 11: ...eceiving z z z z z z 18 3 13 LCD Connector JUKI 3711P 3712 board equipped with a 50 pin connector CN7 LCD CONNECTOR 1 2 49 50 PIN NO DESCRIPTION PIN NO DESCRIPTION 1 VCLK 2 P33 3 P34 4 P31 5 P35 6 P32...

Page 12: ...is in control the Setup program can be activated in one of two ways 1 By pressing Del immediately after switching the system on or 2 by pressing the Del key when the following message appears briefly...

Page 13: ...e Setup Menu and Option Page Setup Menu Exit current page and return to Main Menu F1 key General help on Setup navigation keys F5 key Load previous values from CMOS F6 key Load the fail safe defaults...

Page 14: ...fy your settings for power management See section 4 9 for the details PNP PCI CONFIGURATION This entry appears if your system supports PnP PCI See section 4 10 for the details LOAD BIOS DEFAULTS Use t...

Page 15: ...ry Slave Options are in its sub menu described in Table 3 Press Enter to enter the sub menu of detailed options IDE Secondary Master Options are in its sub menu described in Table 3 Press Enter to ent...

Page 16: ...ternal Cache These two categories speed up memory access However it depends on CPU chipset design Enabled Enable cache Disabled Disable cache CPU L2 Cache ECC Checking This item allows you to enable d...

Page 17: ...the keystroke The choice 250 500 750 1000 30 Security Option Select whether the password is required every time the system boots or only when you enter setup System The system will not boot and acces...

Page 18: ...emory resources such as DRAM and the external cache It also coordinates communications between the conventional ISA bus and the PCI bus It must be stated that these items should never need to be alter...

Page 19: ...system contains a Universal Serial Bus USB controller and you have USB peripherals The choice Enabled Disabled USB Keyboard Support Select Enabled if your system contains a Universal Serial Bus USB c...

Page 20: ...the system board and you wish to use it If you install and in FDC or the system has no floppy drive select Disabled in this field The choice Enabled Disabled Onboard Serial Port 1 Port 2 Select an add...

Page 21: ...m 1 min to 1 hr except for HDD Power Down which ranges from 1 min to 15 min and disable Video Off After This determines the manner in which the monitor is blanked The choice Yes No Video Off Method Th...

Page 22: ...nearing the speed the CPU itself uses when communicating with its own special components This section covers some very technical items and it is strongly recommended that only experienced users shoul...

Page 23: ...A and PCI ISA PnP DMA Resource When resources are controlled manually assign each system DMA channel a type depending on the type of device using the DM channel DMA 0 1 3 5 6 7 assigned to Legacy ISA...

Page 24: ...en enabled you will be prompted to enter it every time you try to enter Setup This prevents an unauthorized person from changing any part of your system configuration Additionally when a password is e...

Page 25: ...ctivate the timer that will eventually time out and reset the CPU board To ensure that this reset condition won t occur the WatchDog Timer must be periodically refreshed by reading the same I O port 4...

Page 26: ...e E 2 KEY s data at address The address range is from 0 to 63 Return data is one word 16 bits void write_e2key unsigned int address unsigned data This function will write the given data to E 2 KEY at...

Page 27: ...IRQ15 Secondary IDE DMA Channel Assignments Channel Function 0 Available 1 Available 2 Floppy disk 8 bit transfer 3 Available 4 Cascade for DMA controller 1 5 Available 6 Available 7 Available 50 Appe...

Reviews: