background image

HS-870P User’s Manual                                             Appendix C 

Watchdog Timer Programming Guide 

49 

Appendix C <Watchdog Timer Programming Guide> 

                           WDT source from : WinBond 83627HF 

    (1) General Description 

           Winbond has a WDT feature inside its chip. We implement its 

        function into our circuit .  

           There are many configuration Registors ( CR ) in 83627HF. The 

        following sequence must be followed for CR programming : 

               (*1) Enter the extended function mode  

                              (*2) Configure    the configuration    registers 

               (*3) Exit the extended function mode 

EFER : Extended Function Enable Registers.( EFER=2Eh in our system ) 

EFIR : Extended Function Index Register. ( Same addr. with EFER. ) 

        EFDR : Extended Function Data Register.( Located at addr.[ EFIR +1 ] ) 

 For instance ; 

              (*1) Enter extended function mode 

                                            MOV    DX,2EH 

                                            MOV    AL,87H 

                                            CLI                          ; disable interrupt 

                                            OUT    DX,AL 

                                            JMP    $+2   

                                            OUT    DX,AL   

                                            STI                          ; enable interrupt 

              (*2) Configurate logical device 1 , configuration register CRF0 

                                            MOV    DX,2EH 

                                            MOV    AL,07H 

                                            OUT    DX,AL       

; point to Logical Device Number Register 

                                            MOV    DX,2FH 

                                            MOV    AL,01H 

                                            OUT    DX,AL     

  ; select logical device 1 

                                            MOV    DX,2EH 

                                            MOV    AL,0F0H 

                                            OUT    DX,AL     

                                            MOV    DX,2FH 

                                            MOV    AL,3CH 

                      OUT  DX,AL   ; update  CRF0 of LD0 with value 3Ch 

              (*3) Exit extended function mode 

                                            MOV    DX,2EH 

                                            MOV    AL,0AAH 

                                            OUT    DX,AL 

                      The    Configuration Register ( CR ) Definition : 

Содержание HS-870P

Страница 1: ...HS 870P Half size Single Board Computer User s manual Edition 1 2 2004 12 22...

Страница 2: ...is document are property of their respective owners Disclaimer The company shall not be liable for any incidental or consequential damages resulting from the performance or use of this product The com...

Страница 3: ...ble Kit 40 pin ATA100 IDE flat cable x 1 Floppy flat cable x 1 DB25 DB9 cable with bracket x 1 Dual USB cable with bracket x 1 Audio cable with bracket x 1 CPU Cooler x 1 4 pin to 3 pin ATX cable x 1...

Страница 4: ...3 2 External Connector UT 15 TU2 4 System Setup UT 16 TU2 4 1 CPU setup UT 16 TU2 4 2 Memory Module setup UT 17 TU2 4 3 CPU cooler setup UT 18 TU2 4 4 Complete the system installation UT 19 TU2 5 CMOS...

Страница 5: ...T 42 TUA 4 Serial Port UT 43 TUA 4 1 External DB9 COM UT 43 TUA 4 2 Internal COM2 UT 43 TUA 5 USB Port UT 44 TUA 6 IrDA Port UT 44 TUA 7 VGA Port UT 45 TUA 8 LAN Port UT 45 TUA 9 AT Keyboard Port UT 4...

Страница 6: ...HS 870P User s Manual 6 This Page is Left for Blank This Page is Left for Blank...

Страница 7: ...platform HS 870P is also integrated with 24 bit dual channel LVDS interface and one Compact Flash Type II socket For these features HS 870P can be easily used for industrial multimedia platform like...

Страница 8: ...0 pin and one 44 pin IDE port DiskOnModule DOM embedded flash disk up to 1GBytes Multi I O Port Chipset Intel 82801DB ICH4 and Winbond W83627HF AW LPC Super I O controller Serial Port One external and...

Страница 9: ...CD in Solid State Disk Interface Flash Type Compact Flash Type I II for CFC Compact Flash Card or IBM MicroDrive Capacity Up to 1 GB flash memory Power and Environment Power Requirement 4 pin onboard...

Страница 10: ...nual Introduction Component Placement 10 1 3 Component Placement Intel Pentium M Processor at 400MHz FSB 1 x DDR266 333 DIMM up to 1GB ICH4 Intel 855GME BIOS Intel 82540EM Gigabit LAN Compact Flash So...

Страница 11: ...ntium M processor with FC PGA2 FC BGA2 855GME CRT LCD LVDS 400MHz FSB 1 x 184 pin DIMM Up to 1GB DDR266 333 ICH4 ATAPI Devices USB Devices UltraATA100 USB2 0 Audio AC97 Codec PISA Backplane PCI Bus Gi...

Страница 12: ...HS 870P User s Manual 12 This Page is Left for Blank This Page is Left for Blank...

Страница 13: ...rdware Setup Connectors Location 13 Chapter 2 Hardware Setup 2 1 Connectors Location IDE1 DIMM IDE2 FDD CN_USB CN_LPT CN_COM2 CN_AUDIO CN_DIO VGA CN_VGA RJ45 CDIN COM1 CN_ATKB CN_PS CN_PWR CPU CN_LVDS...

Страница 14: ...14 2 2 Jumper Reference Jumper Function JRTC CMOS Operating Clear Setting JCFSEL Compact Flash Addressing Setting JDOM IDE1 Pin 20 voltage setting JVLCD LCD Panel Voltage Setting JLAN Ethernet Control...

Страница 15: ...LVDS connector Standard CN_INV 5 pin panel inverter connector Standard CN_PS 3 pin ATX function connector Standard CN_PWR 4 pin power input connector Standard CN_AUDIO 5 x 2 pin audio connector Stand...

Страница 16: ...e 479 pin CPU socket to support Intel Pentium M 478 pin processor Please follow the instruction to install the processor well CPU Socket 1 Use flat type Screw Driver to unlock the CPU locket CPU locke...

Страница 17: ...17 2 4 2 Memory Module setup HS 870P supports one DDR266 333 SDRAM up to 1GB of capacity It also supports ECC error correcting code function DIMM 80 pin 104 pin Please check the pin number to match th...

Страница 18: ...ollow the instructions to install the cooler on the processor 1 Remove the sticker of the base 2 Put the base through the fixing hole of the processor and paste on the solder side Then put the cooler...

Страница 19: ...supply with the backplane you will need to connect an ATX function cable between the main board and the backplane To power supply ATX connector Notice The ATX function connector may have different typ...

Страница 20: ...data of CMOS can be setting in BIOS If the board refuses to boot due to inappropriate CMOS settings here is how to proceed to clear reset the CMOS to its default values Jumper JRTC Type Onboard 3 pin...

Страница 21: ...ange 1 to 255 Second or Minute Program Sample Watchdog timer setup as system reset with 5 second of timeout 2E 87 2E 87 2E 07 2F 08 Logical Device 8 2E 30 Activate 2F 01 2E F5 Set as Second 2F 00 2E F...

Страница 22: ...r M systems DiskOnChip IDE Pro flash disk with or without the additional VCC power cable The HS 870P also supports Compact Flash Card Type I II interface The jumper JCFSEL provides you to setup the CF...

Страница 23: ...HS 870P Connector CN_PWR Type 4 pin P type connector for 5V 12V input Pin Description Pin Description Pin Description Pin Description 1 12V 2 Ground 3 Ground 4 5V Connector CPUFAN SYSFAN Type 3 pin fa...

Страница 24: ...emory up to 64MBytes shared with system memory The CRT analog VGA interface includes one external DB15 female connector on bracket and one 8 x 2 pin header connector on board The two interfaces can no...

Страница 25: ...n LVDS interface for LCD panel it supports 18 24 bit single dual channel up to 1600 x 1200 of resolution The jumper JVLCD can let you select your panel whether supports 5V or 3 3V of voltage and the C...

Страница 26: ...ATX1 14 BTX1 13 ATX1 16 GND 15 GND 18 BTX2 17 ATX2 20 BTX2 19 ATX2 22 GND 21 GND 24 BTXCK 23 ATX3 26 BTXCK 25 ATX3 28 GND 27 GND 30 BTX3 29 ATXCK 32 BTX3 31 ATXCK 34 GND 33 GND 36 PANELCLK 35 N C 38...

Страница 27: ...inverter and HS 870P 2 Please check the datasheet of the panel to see the voltage of the panel and set the jumper JVLCD to 5V or 3 3V 3 Prepare a LVDS type LCD cable 4 Connect all the devices well 87...

Страница 28: ...n form For 18 bit color For 24 bit color NO Output format NO Output format 1 640 x 480 8 1024 x 768 2 800 x 600 9 1280 x 1024 Dual Channel 3 1024 x 768 10 1400 x 1050 Dual Channel 4 1280 x 1024 11 160...

Страница 29: ...nt The HS 870P Ethernet interface is controlled by Intel 82540EM and it provides the external RJ45 connector on rear I O panel The jumper JLAN can let you set to enable disable onboard network functio...

Страница 30: ...d audio cable the CDIN can let you connect audio output from CD ROM drives Connector CN_AUDIO Type 10 pin 2 x 5 2 54 pitch header Pin Description Pin Description 1 Line Right 2 Ground 3 Line Left 4 MI...

Страница 31: ...tal I O to control the opening and closing of the cash drawer or to sense the warning signal from a tripped UPS The following is a detailed description of how the digital I O is controlled via softwar...

Страница 32: ...trol panel of the board such as power button reset and beeper etc Connector JFRNT Type onboard 14 pin 2 x 7 2 54 pitch header Function Signal PIN Signal Function Vcc 1 2 Vcc IDE LED Active 3 4 N C Res...

Страница 33: ...properly before you boot up the system For configure your Display device please follow the instructions below 1 Please lunch Display Properties You would see two Graphics Controllers If you connect t...

Страница 34: ...s Manual Display Mode Setup Display Mode Setup 34 For advanced display settings please click Advanced button and choose Intel R Extreme Graphics Please click Graphics Properties button to enter the ad...

Страница 35: ...entering the Graphics Properties you will see the options below This option can let you configure the CRT monitors for Colors Screen Area Resolution and Refresh Rate This option can let you configure...

Страница 36: ...nual Display Mode Setup Display Mode Setup 36 This option can let you configure the Dual Display for clone mode same display on two devices This option can let you configure the Dual Display for Exten...

Страница 37: ...ins the information when the power is turned off If the battery runs out of the power then the settings of BIOS will come back to the default setting The BIOS section of the manual is subject to chang...

Страница 38: ...HS 870P User s Manual 38 This Page is Left for Blank This Page is Left for Blank...

Страница 39: ...n Description 1 Reset 2 Ground 3 D7 4 D8 5 D6 6 D9 7 D5 8 D10 9 D4 10 D11 11 D3 12 D12 13 D2 14 D13 15 D1 16 D14 17 D0 18 D15 19 Ground 20 VCC 21 REQ 22 Ground 23 IOW STOP 24 Ground 25 IOR HDMARDY 26...

Страница 40: ...d 3 D7 4 D8 5 D6 6 D9 7 D5 8 D10 9 D4 10 D11 11 D3 12 D12 13 D2 14 D13 15 D1 16 D14 17 D0 18 D15 19 Ground 20 N C 21 REQ 22 Ground 23 IOW STOP 24 Ground 25 IOR HDMARDY 26 Ground 27 IORDY DDMARDY 28 Gr...

Страница 41: ...4 DRIVE DENSITY SELECT 1 5 Ground 6 N C 7 Ground 8 INDEX 9 Ground 10 MOTOR ENABLE A 11 Ground 12 DRIVER SELECT B 13 Ground 14 DRIVER SELECT A 15 Ground 16 MOTOR ENABLE B 17 Ground 18 DIRECTION 19 Grou...

Страница 42: ...2 54 pitch box header Pin Description Pin Description 1 STROBE 14 AUTO FEED 2 D0 15 ERROR 3 D1 16 INITIALIZE 4 D2 17 SELECT INPUT 5 D3 18 Ground 6 D4 19 Ground 7 D5 20 Ground 8 D6 21 Ground 9 D7 22 G...

Страница 43: ...D sub male connector on bracket Pin Description Pin Description 1 DCD 6 DSR 2 SIN 7 RTS 3 SO 8 CTS 4 DTR 9 RI 5 Ground A 4 2 Internal COM2 Connector CN_COM2 Type 10 pin 2 x 5 2 54 pitch header Pin Des...

Страница 44: ...n 2 x 5 header for dual USB Ports Pin Description Pin Description 1 VCC 2 VCC 3 Data0 4 Data1 5 Data0 6 Data1 7 Ground 8 Ground 9 Ground 10 N C A 6 IrDA Port Connector CN_IR Type 5 pin 1 x 5 2 54 pitc...

Страница 45: ...ion Pin Description 1 RED 6 Ground 11 N C 2 GREEN 7 Ground 12 5VCDA 3 BLUE 8 Ground 13 HSYNC 4 N C 9 LVGA5V 14 VSYNC 5 Ground 10 Ground 15 5VCLK A 8 LAN Port Connector RJ45 Type RJ45 connector with LE...

Страница 46: ...DATA N C Ground VCC A 10 PS 2 Keyboard Mouse Port Connector PS2 Type 6 pin Mini DIN connector on bracket Pin 1 2 3 4 5 6 Description KBD MSD Ground VCC KBC MSC Note The PS 2 connector supports standar...

Страница 47: ...e of the tool is awdflash exe it s the utility that can write the data into the BIOS flash ship and update the BIOS B 2 Flash Method 1 Please make a bootable floppy disk 2 Get the last bin files you w...

Страница 48: ...HS 870P User s Manual 48 This Page is Left for Blank This Page is Left for Blank...

Страница 49: ...nction Enable Registers EFER 2Eh in our system EFIR Extended Function Index Register Same addr with EFER EFDR Extended Function Data Register Located at addr EFIR 1 For instance 1 Enter extended funct...

Страница 50: ...DA ACPI with CR CR30 CRFF LDB HARDWARE MONITOR with CR CR30 CRF0 2 Related CR for WDT programming CR2B Bit 4 0 for WDT function via Pin89 LD8 CRF5 Bit 3 Select WDT count time 0 second 1 minute LD8 CRF...

Страница 51: ...own xy 00 No WDT time out and counting xy 01 WDT time out 30 sec and starts counting 2 4 Read CRF7 b4 if needed 0 WDT counting 1 WDT time out happened Step 3 Exit extended function mode as mentioned a...

Страница 52: ...V AH AL MOV DX 2Eh MOV AL 0F5h OUT DX AL MOV DX 2Fh MOV AL AH OUT DX AL MOV DX 2Eh SETTING 5 MINUTES MOV AL 0F6h LD8 CRF6 P05h OUT DX AL MOV DX 2Fh MOV AL 05h OUT DX AL Step 3 Exit extended function m...

Страница 53: ...We will do our best to support you for your products projects and business Taiwan Commate Computer Inc Address 8F No 94 Sec 1 Shin Tai Wu Rd Shi Chih Taipei Hsien Taiwan TEL 886 2 26963909 FAX 886 2 2...

Отзывы: