Advantech PCM-3362 user manual Watchdog Timer sample code, Bit 10=Reserved Bit 62Reserve=00000

Page 84

D.1 Watchdog Timer sample code

;The SCH3114 Runtime base I/O address is A00h ;Setting WatchDog time value location at offset 66h

;If set value "0", it is mean disable WatchDog function. Superio_GPIO_Port = A00h mov dx,Superio_GPIO_Port + 66h

mov al,00h out dx,al

.model small

.486p

.stack 256

.data

SCH3114_IO EQU A00h

.code org 100h

.STARTup

;====================================================

;90H

;enable WDT function bit [0]=01h ;==================================================== mov dx,SCH3114_IO + 90h mov al,01h

out dx,al ;==================================================== ;65H

;bit [1:0]=Reserved

;bit [6:2]Reserve=00000

;bit [7] WDT time-out Value Units Select ;Minutes=0 (default) Seconds=1 ;==================================================== mov dx,SCH3114_IO + 65h ;

mov al,080h out dx,al ;==================================================== ;66H

;WDT timer time-out value ;bit[7:0]=0~255 ;==================================================== mov dx,SCH3114_IO + 66h mov al,01h

out dx,al ;==================================================== ;bit[0] status bit R/W

;WD timeout occurred =1 ;WD timer counting = 0 ;==================================================== mov dx,SCH3114_IO + 68h

mov al,01h out dx,al

.exit

PCM-3362 User Manual

76

Image 84
Contents PCM-3362 Copyright Acknowledgements Packing List Additional Information and AssistanceDeclaration of Conformity FCC Class a Contents AMI Bios Setup Appendix a Appendix BAppendix C Appendix D Watchdog Timer and Gpio sample Chapter General InformationFeatures SpecificationsIntroduction Standard PC/104-plus Biscuit SBC Functions2 VGA/LVDS Interface Ethernet InterfaceOS support Mechanical and EnvironmentalBoard layout dimensions Board layout Dimensions Component SideBoard layout Dimensions Solder Side Page Hardware Installation Connectors JumpersConnectors component side Connectors solder sideSetting Jumpers Block diagramLvds Panel Power Select JP2 Clear Cmos JP1Open Closed Installing SODIMMs Flash3 COM3 RS422/RS485 Select JP3 PCI I/O Voltage Select JP4USB connectors CN9 & CN10 Front Panel Connector CN12High Definition Audio Interface CN1 VGA/LCD interface connectionsBuzzer Connector CN13 Sata Connector CN15COM port connector CN16 & CN17 Giga LAN Connector CN18Gpio Connector CN21 ATX Power in connector CN23Power Connectors CN24 19 I2C Bus connector CN25Page AMI Bios Setup Entering Setup Main SetupAdvanced Bios Features Setup System time / System dateCPU Configuration Execute-Disable Bit CapabilityHyper Threading Technology Intel SpeedStepTM techIDE Configuration Super I/O Configuration Hardware Health ConfigurationSerial Port1 / Port2 / Port3 IRQ Auto Direction Control SelAcpi Settings Temperature & Voltage showReport Video on S3 Resume Headless mode Acpi Apic supportAMI Oemb table Ahci Configuration Energy Lake FeatureHigh Performance Event Timer USB Device Wakeup From S3/S4APM Configuration Event Log Configuration MPS ConfigurationMark all events as read Clear Event LogSmbios Configuration USB ConfigurationUSB 2.0 Controller Mode Advanced PCI/PnP Settings Bios Ehci Hand-OffHotplug USB FDD Support Emulation TypePCI Latency Timer Plug & Play O/SAllocate IRQ to PCI VGA Palette SnoopingBoot Settings Boot settings ConfigurationQuiet Boot AddOn ROM Display ModeSecurity Setup Advanced Chipset Settings North Bridge Chipset ConfigurationConfigure Dram Timing by SPD Memory HoleSouth Bridge Chipset Configuration Boot Display DeviceDVMT/FIXED Memory Flat Panel TypeExit Option Save Changes and ExitLoad Optimal Defaults Load Fail-Safe DefaultsDiscard Changes and Exit Software Introduction & Installation Driver Installation Value-Added Software ServicesS/W Introduction Software APIs Gpio APISusi Installation Susi UtilitiesSusi.lib Susi.dllExpress Installation Manual InstallationWindows Graphics Mode Susi Sample ProgramsSample Programs SusiDemo.exeSoftware Introduction & Installation I2C SMBusSoftware Introduction & Installation Display Control WatchdogHardware Monitor Page Chipset Software Installation Utility Windows XP/Vista/Win7 Driver Setup Before You BeginIntegrated Graphic Device Setup Windows XP/ Vista /Win7 Driver Setup LAN Configuration Installation Appendix a Pin AssignmentsJumper and Connector Tables JP1 Clear CmosAppendix a Pin Assignments CN7 6 8 CN9CN12 Front panel Connector Part Number CN16 COM1~COM2 Connector Part Number 6 8 CN21 Gpio Connector Part Number CN25 I2C BUS connector Part Number Appendix B System AssignmentsSystem I/O Ports 1st MB Memory MapDMA channel assignments Interrupt assignments Table B.4 Interrupt assignmentsPage Appendix C Mechanical DrawingsBoard Mechanical Drawings Figure C.1 PCM-3362 Mechanical Drawing Component SideAppendix C Mechanical Drawings Heatsink Mechanical Drawings Figure C.3 PCM-3362N Heatsink Mechanical DrawingOptional Heat spreader Mechanical Drawings Figure C.5 PCM-3362 optional Heatspreader Mechanical DrawingPage Watchdog Timer and Gpio sample code Appendix DWatchdog Timer sample code Bit 10=Reserved Bit 62Reserve=00000Appendix D Watchdog Timer and Gpio sample code Gpio sample codePage Appendix D Watchdog Timer and Gpio sample code