SBC comm SBC-770 manual Demo program

Page 110

Demo program

outportb(0x444, 0):

// set time-out event to reset-system

outportb(0x443x 10);

// set time-out interval to 10 seconds

customer_job();

// execute your job here, be sure your

 

job will finished within 10 seconds

outportb(0x443, 0);

// refresh watchdog timer, otherwise

 

the system will reset after time-out

outputb(0x443, 20);

// set time-out interval to 20 seconds

another_job();

// another job finished in 20 seconds

outportb(0x443, 0)

// disable watchdog timer

...

 

...

 

Appendix A Programming the Watchdog Timer 99

Image 110
Contents SBC-770 Page Copyright Notice AcknowledgementsTechnical Support Aaeon Customer ServicesMessage to the Customer Product Warranty Packing list Dear Customer Contents Award Bios Setup Ethernet Software configuration Page General Information Introduction Highly integrated SBCFeatures Specifications Standard SBC functionsFlat Panel/CRT Interface Mechanical and environmental Board layout Board dimensions Installation Jumpers and connectors Label FunctionCN1 Locating jumpers Locating connectors Setting jumpers CPU installing and upgrading Mounting the CPU and cooling Modules Step System Memory Installing Dram DIMMsMemory Installation Procedures Supplementary information about DimmCache memory Clear Cmos J2 LCD driving voltage select J4System temperature thermal sensor J5 CPU frequency ratio select J6Pentium II CPU jumper setting examples 450/100MHz 500/100MHz 550/100MHz LCD clock signal select J7 DOC address select J8 COM2 RS-232/422/485 select J10, J9 CPU fan power connector CN5 Power connectors PWR1, CN5Power connector PWR1 Power LED and Keylock CN1 Hard drive LED CN2Reset switch CN4 External speaker CN3IDE hard drive connector CN7, CN8 Connecting the hard driveIDE hard drive connectors CN7, CN8 IrDA connector CN9 Parallel port IRQ Parallel port connector CN10Parallel port connector table CN10 Floppy drive connector CN12 Connecting the floppy driveFloppy drive connector CN12 USB connector CN14 Display connectors CN15, CN6 VGA display connector CN15LCD display connector CN6 COM2 RS-232/422/485 serial ports CN11 100Base-Tx Ethernet connector CN17Serial ports CN16, CN11 Keyboard and PS/2 mouse connector CN18, CN13 DiskOnChip socket U34 DiskOnChip DOC 2000 Installation Award Bios Setup Starting setup To Enter Setup Before Boot Press DEL KEYSetup keys These keys helps you navigate in SetupCase of Problems Getting helpMain setup Menu BiosPage Standard Cmos setup Hard Disks Award Bios Setup Drive a Drive B Pannel Base Memory Extended Memory Bios features setup Virus Warning Boot Sequence PS/2 Mouse Function Control Chipset features setup Sdram RAS-to-CAS Delay Sdram Precharge Control Memory Hole at 15M-16M Power management setup Power Management Determines the manner in which the monitor is blanked Standby Mode Reload Global Timer Events PNP/PCI configuration setup PNP OS Installed DMA n Assigned to Load Bios defaults/Load setup defaults Integrated peripherals setup Select Enabled only if your hard drives support block mode Select a DMA channel for the port Supervisor/User password setting Enter Password IDE HDD auto detection Save & exit setup Page Flat Panel/CRT Controller Display Drivers and Utilities Hardware configuration Software driversNecessary prerequisites Before you beginDriver installation WindowsDriver Installation Page Driver Installation Page Driver Installation Page Driver Installation Windows NT Windows NT Page Ethernet Software Configuration Ethernet software configuration Programming the Watchdog Timer How to program the Watchdog Timer Outportb0x443, 30 // set watchdog to 30 secondsDemo program