Arkon AIMB-258 user manual Example Program

Page 67

A.1.3 Example Program

1.Enable watchdog timer and set 10 sec. as timeout interval ;-----------------------------------------------------------

Mov dx,2eh ; Unlock W83627UHG Mov al,87h

Out dx,al Out dx,al

;-----------------------------------------------------------

Mov al,07h ; Select registers of watchdog timer Out dx,al

Inc dx Mov al,08h Out dx,al

;-----------------------------------------------------------

Dec dx ; Enable the function of watchdog timer Mov al,30h

Out dx,al Inc dx Mov al,01h Out dx,al

;-----------------------------------------------------------

Dec dx ; Set second as counting unit Mov al,0f5h

Out dx,al Inc dx In al,dx

And al,not 08h Out dx,al

;-----------------------------------------------------------

Dec dx ; Set timeout interval as 10 seconds and start counting Mov al,0f6h

Out dx,al Inc dx Mov al,10 Out dx,al

;-----------------------------------------------------------

Dec dx ; lock W83627UHG Mov al,0aah

Out dx,al

2.Enable watchdog timer and set 5 minutes as timeout interval ;-----------------------------------------------------------

Mov dx,2eh ; unlock W83627UHG Mov al,87h

Out dx,al Out dx,al

Appendix A Programming the Watchdog Timer

59

AIMB-258 User Manual

Image 67
Contents AIMB-258 Electrical safety Safety InformationCertifications Packing List Technical SupportContents Appendix B Bios OperationTable B.3 DVI Connector VGA1B Viii Chapter Before You Proceed Placement DirectionMotherboard Overview Screw Holes Product IntroductionMotherboard Layout Motherboard LayoutPCI SpecificationsOperation System AIMB-258 Operating System support listChapter Board DiagramOrdering Information Bracket View AccessoriesRiser Card JSETCOM1 COM1/+5 V/+12 V Selection Layout Content ListJumper Setting List JSETCOM2 COM2 RS232/422/485 Mode SelectionPSON1 ATX, AT Mode Selection J1LCD Power 3.3 V/5.5 V SelectionCMOS1 Clear Cmos Central Processing Unit CPU for AIMB-258 JWDT1 Watchdog Timer Output OptionJobs HW monitor Installing the CPU Product Introduction Motherboard Hole Installing the CPU Heatsink and FanProduct Introduction Uninstalling the CPU Heatsink and Fan Dimm Sockets Location System MemorySystem Memory Sodimm DDR3 Memory Support List11 LEDs ConnectorsRear Panel Connectors 10 Rear Panel ConnectorsCPU Fan Connector CPUFAN1 System Fan Connector SYSFAN1, SYSFAN2 Page HDD LED JFP2 / Hddled Front Panel Connector JFP1/JFP2/JFP3ATX soft power switch JFP1 / Pwrsw Reset JFP1 / ResetUSB 2.0 Connector USB56, USB78 Power LED and keyboard lock connector JFP312 ATX power supply LED status No support for AT power Important notes on the Motherboard Power Requirements ATX Power Connector ATX1LCD Inverter Connector VP1 Lvds Connector LVDS1 SATA1 SATA2 PCIe x 16 Slot Pcie X SPI Flash ConnectorSPICN1 Product Introduction CF connector Bios Operation Bios Setup Bios IntroductionMain Menu Standard Cmos Features Advanced Bios Features Advanced Chipset Features Integrated Peripherals Super IO Device Onboard DeviceUSE Device Setting Power Management Setup PowerOn by LAN Enabled Power Management User DefinedSuspend Mode Disabled HDD Power Down Mode DisabledPC Health Status 8 PnP/PCI ConfigurationsCurrent CPU Temperature Load Setup Defaults Set PasswordCPU Warning Temperature Current System TemperatureTo Change Password To Establish PasswordTo Disable Password Chipset Software Install Utility Introduction Before you BeginWindows Vista/XP Driver Setup Page VGA Setup Introduction LAN Configuration Installation FeaturesWindows Vista/XP Driver Setup Realtek RTL8111C LAN Configuration Page Appendix a Watchdog timer overview Programming the Watchdog TimerProgramming the Watchdog Timer Appendix a Programming the Watchdog Timer Table A.1 Watchdog Timer Registers Example Program Page Appendix a Programming the Watchdog Timer Page Appendix B VGA Connector VGA1A USB Connector USB56,USB78DVI Connector VGA1B Table B.4 RS-232 Serial Port COM1~COM2 RS-232 Serial Port COM1~COM2Table B.5 RS-232 Serial Port COM23 RS-232 Serial Port COM3 ~ COM6Table B.7 CPU Fan Power Connector CPUFAN1 PS/2 Keyboard/ Mouse Connector KBMS1CPU Fan Power Connector CPUFAN1 Table B.6 PS/2 Keyboard/ Mouse Connector KBMS1Table B.8 Power LED and Keylock Connector JFP3 Power LED & Keyboard Lock Connector JFP3Table B.9 External Speaker Connector JFP2/SPEAKER Table B.10 Audio Front Panel Connector JFP1/ Reset Audio Front Panel Connector FPAUD1Table B.11 Audio front panel connector FPAUD1 Table B.12 Gpio Pin Header GPIO1 Gpio Pin Header GPIO1Table B.13 Lvds Connector LVDS1 Lvds Connector LVDS1Table B.15 Lvds Invert VP1 Lvds Power Jumper J1Table B.14 Lvds Power Jumper J1 Lvds Invert VP1Table B.17 DMA Channel Assignments System I/O PortsDMA Channel Assignments Table B.16 System I/O PortsTable B.19 1st MB Memory Map Interrupt Assignments19 1st MB Memory Map Table B.18 Interrupt AssignmentsAppendix B Pin Assignments