Sony AR-B1570 manual Watchdog Timer Setting, Watchdog Timer Trigger, Irq

Page 28

AR-B1570 Users Guide

4.3.1 Watchdog Timer Setting

The watchdog timer is a circuit that maybe be used from your program software to detect crash or hang up. The Watchdog timer is automatically disabled after reset. Once you enabled the watchdog timer, your program should trigger the watchdog timer every time before it times out. After you trigger the watchdog timer, the timer will be set to zero and start to count again. If your program fails to trigger the watchdog timer before times out, it will generate a reset pulse to reset the system or trigger the IRQ 9 signal in order to tell your system that the watchdog time is out.

Please refer to the following table in order to properly program Watchdog function

 

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

 

 

1

Enable

Reset

 

Time period

 

0

Disable

IRQ 9

 

 

 

 

 

 

Users could test watchdog function under ‘Debug’ program as follows:

C:>debug

!O 214 C8H

Generally, watchdog function would reset system after 8 seconds

!O 214 0H

Disable watchdog function

C:>debug

!O 214 88H

Generally, watchdog function would generate IRQ 9 after 8 seconds

!O 214 0H

Disable watchdog function

4.3.2 Watchdog Timer Trigger

After you enable the watchdog timer, your program must write the same factor as triggering to the watchdog timer at least once during every time-out period. You can change the time-out period by writing another timer factor to the watchdog register at any time, and you must trigger the watchdog during every new time-out period in next trigger.

C:>debug

!O 214 CFH

Generally, watchdog function would reset system after 15 seconds

!O 214 40H

Disable watchdog function

Trigger success.

27

Image 28
Contents Industrial Grade CPU Board AR-B1570 User’s Guide Save & Exit Setup Exit Without Saving Preface Static Electricity Precautions Organization1SPECIFICATION OverviewPacking List CPU NS Geode GX1 BGAAward Bios FeaturesCPU NS Geode GX1 Microprocessor System ControllerDMA Controller Interrupt Controller Keyboard ControllerInterrupt Controller 1 I/O Port Address Map Hex Range DeviceSSD Port Address MapTimer Real-Time Clock and Non-Volatile RAMAddress Description Real-Time Clock & Non-Volatile RAMSerial Port Modem Control Register MCR Line Status Register LSRModem Status Register MSR Divisor Latch LS, MSParallel Port Register AddressPrinter Interface Logic Data SwapperPrinter Control Latch & Printer Control Swapper Bit’s DefinitionSetting UP the System System SettingOverview External System LocationHard Disk IDE Connector Pin Hard Disk IDE Connector CN8Pin Hard Disk IDE Connector CN7 Pin SignalHard Disk IDE1 Connector FDD Port Connector CN3FDD Pin Assignment Ethernet RJ-45 Connector LAN1 4 PS/2 KB/Mouse Connector CN4 & PS1Reset Header J7 PS-ON Header CN9Power Connector PWR2 CRT Connector P4LCD Panel Display Connector LCD1 P4 CRT ConnectorUSB ConnectorUSB1 LED Header J8LCD Display Pin Assignment Pin DescriptionPin PC/104 Connector Bus a & B PC104 13 PC104 ConnectorPin PC/104 Connector Bus C & D PC104 Parallel Port Connector CN2 16 Ext. Battery CN1Battery Jumper JP2 15 IR. Header J1RS-232 Connector Pin Assignment 18 COM1, COM2 CN5, CN6RS-232/RS-485 Select for COM1 P2 & P3 RS-485 Terminator Select J2ATX Power External Bottom Connector J6 Touch Screen Connector J3 & J420 D.O.C. Memory Address Select JP1 Driver Installation InstallationUtility Diskette Watchdog Block Diagram Watchdog TimerDisk Watchdog Timer Trigger Watchdog Timer SettingIRQ Bios Setup Overview Bios ConsoleBios Setup Main Menu Standard Cmos Setup Date & Time SetupHard Disk Setup Floppy SetupEGA/VGA Halt OnMono Bios Features Setup Typematic Rate Setting Typematic Delay MsecVideo Bios Shadow Memory Parity CheckChipset Features Setup Bit I/O Cycle Recovery TimeChipset Features Setup Sdram CAS latency TimePNP/PCI Configuration Load Default SettingLoad Bios Defaults Load Setup DefaultsIntegrated Peripherals Bios Exit Password SettingIDE HDD Auto Detection