View
2
Download
0
Category
Preview:
Citation preview
IMC-A2PCI
Rugged Industrial Mining Computer
Technical Reference
Revision A 11/5//09
Warranty The product is warranted against material and manufacturing defects for two
years from date of delivery. Buyer agrees that if this product proves defective Chassis Plans’ is only obligated to repair, replace or refund the purchase price of this product at Chassis Plans’ discretion. The warranty is void if the product has been subjected to alteration, neglect, misuse or abuse; if any repairs have been attempted by anyone other than Chassis Plans; or if failure is caused by accident, acts of God, or her causes beyond the control of Chassis Plans. Chassis Plans reserves the right to make changes or improvements in any product without incurring any obligation to similarly alter products previously purchased.
In no event shall Chassis Plans be liable for any defect in hardware or software or loss or inadequacy of data of any kind, or for any direct, indirect, incidental or consequential damages arising out of or in connection with the performance or use of the product or information provided. Chassis Plans’ liability shall in no event exceed the purchase price of the product purchased hereunder. The foregoing limitation of liability shall be equally applicable to any service provided by Chassis Plans.
Return Policy Products returned for repair must be accompanied by a Return Material
Authorization (RMA) number, obtained from Chassis Plans prior to return. Freight on all returned items must be prepaid by the customer, and the customer is responsible for any loss or damage caused by common carrier in transit. Items will be returned from Chassis Plans via Ground, unless prior arrangements are made by the customer for an alternative shipping method
To obtain an RMA number, call us at 858-571-4330. We will need the following information: Return company address and contact Model name and model # from the label on the back of the display Serial number from the label on the back of the display Description of the failure An RMA number will be issued. Mark the RMA number clearly on the outside of each box, include a failure report for each board and return the product(s) to our San Diego, CA facility: Chassis Plans. 8295 Aero Place Suite 200 San Diego, CA 92123 Attn: Repair Department
Trademarks “The Original Industrial Computer Source”, “Systems Engineered to Perform” and Chassis Plans are registered trademarks of Chassis Plans, LLC. IBM, PC/AT, VGA, EGA, OS/2 and PS/2 are trademarks or registered trademarks of International Business Machines Corp. Intel is a registered trademark of Intel Corporation. MS-DOS and Microsoft are registered trademarks of Microsoft Corp. All other brand and product names may be trademarks or registered trademarks of their respective companies.
Liability Disclaimer This manual is as complete and factual as possible at the time of printing;
however, the information in this manual may have been updated since that time. Chassis Plans reserves the right to change the functions, features or specifications of their products at any time, without notice.
Copyright © 2009 by Chassis Plans. All rights reserved.
E-mail: Support@chassisplans.com Web: www.chassisplans.com
Chassis Plans 8295 Aero Place • San Diego, CA 92123 Phone: (858) 571-4330 • Fax: (858) 571-6146 • Email: Saleseng@chassisplans.com
This Page Intentionally Blank
Chassis Plans IMC-A2PCI Technical Reference Index
Table of Contents
Chapter 1 ‐ Introduction ________________________________________________________ 1
Features __________________________________________________________________________ 1
Specifications ______________________________________________________________________ 2
Mechanical and Environmental Specifications ___________________________________________ 2 Figure 1 – Mechanical Layout and Dimensions ________________________________________________ 3
Photos ___________________________________________________________________________ 4 Front View ___________________________________________________________________________ 4 Rear View ____________________________________________________________________________ 4 Inside View ___________________________________________________________________________ 4
Chapter 2 – Hardware Installation _______________________________________________ 5 Figure 4 – Jumper Locations ______________________________________________________________ 5
FAN Power Selection (JP1) (For special usage) ___________________________________________ 6 Figure 3 – Jumper JP1 ___________________________________________________________________ 6
PS2 Keyboard/ Mouse Power Selection (JP2) ____________________________________________ 7 Figure 4 – Jumper JP2 ___________________________________________________________________ 7
RTC Battery Selection (JP3) ___________________________________________________________ 8 Figure 5 – Jumper JP3 ___________________________________________________________________ 8
COM1, COM3, COM4, Pin 9 Selection (JP6, JP4, JP5) ______________________________________ 9 Figure 6 – Jumpers JP4, JP5 & JP6 __________________________________________________________ 9
USB1, 2 (J1) & USB3, 4 (J2) Power Selection ____________________________________________ 10 Figure 7 – Jumpers J1 & J2 ______________________________________________________________ 10
COM2 RS‐232/422/485 Selection _____________________________________________________ 11
COM2 RS‐232/422/485 Serial Port Connector ___________________________________________ 11
Hard Disk Drive Installation _________________________________________________________ 12 Figure 8 – Disassembly / Front Screw Removal ______________________________________________ 12 Figure 9 – Disassembly / Rear Screw Removal _______________________________________________ 13 Figure 10 – Disassembly / Bottom Screw Removal ____________________________________________ 13 Figure 11 – Hard Drive Screw Installation ___________________________________________________ 14 Figure 12 – Hard Drive Shock Grommet Installation __________________________________________ 14 Figure 13 – Hard Drive Installation ________________________________________________________ 15 Figure 14 – Hard Drive Shock Bracket Installation ____________________________________________ 15 Figure 15 – Hard Drive IDE Cable Installation ________________________________________________ 16 Figure 16 – Hard Drive SATA Cable Installation ______________________________________________ 16 Figure 17 – Reassembling / Bottom Screw Installation ________________________________________ 17 Figure 18 – Reassembling / Front Screw Installation __________________________________________ 17 Figure 19 – Reassembling / Rear Screw Installation ___________________________________________ 18
PCI Card Installation _______________________________________________________________ 19 Figure 20 – Disassembly / Front Screw Removal _____________________________________________ 19 Figure 21 – Disassembly / Rear Screw Removal ______________________________________________ 19 Figure 22 – Disassembly / Bottom Screw Removal ____________________________________________ 20 Figure 23 – Card Guide Removal __________________________________________________________ 21
Wallmount / Bulkhead Kit Installation ________________________________________________ 24
Chassis Plans IMC-A2PCI Technical Reference Index
Chapter 3 – Award Bios Setup __________________________________________________ 25
System Test and Initialization ________________________________________________________ 25
System configuration verification ____________________________________________________ 25
Award BIOS Setup _________________________________________________________________ 25
Chapter 4 ‐ Driver Installation __________________________________________________ 27
Installation _______________________________________________________________________ 27
Appendix A ‐ Programming the Watchdog Timer ___________________________________ 29
Programming _____________________________________________________________________ 29
Configuring Sequence Description ____________________________________________________ 29 Figure 31 – Watchdog Timer Flow Chart ____________________________________________________ 29
WatchDog Timer Configuration Registers ______________________________________________ 30
IT8712 Watchdog Timer Initial Program _______________________________________________ 32
Appendix B ‐ I/O Information __________________________________________________ 35
I/O Address Map __________________________________________________________________ 35 Figure 32 – I/O Address Map _____________________________________________________________ 36
1st MB Memory Address Map ________________________________________________________ 37 Figure 33 – 1st Memory Address Map ______________________________________________________ 37
IRQ Mapping Chart ________________________________________________________________ 38 Figure 34 – IRQ Mapping Chart ___________________________________________________________ 38
DMA Channel Assignments __________________________________________________________ 38 Figure 35 – DMA Channel Assignments _______________________________________________________ 38
Chassis Plans IMC-A2PCI Technical Reference Chapter 1 - Introduction
Page 1
Chapter 1 - Introduction The IMC-A2PCI computer system offers a rugged solution for a dedicated industrial controller system with an installed Atom processor for fanless operation. The IMC-A2PCI is targeted at the mining and vehicular industries where a rugged design is required to survive the extreme temperatures and high shock and vibration environments. The construction starts with a finned extruded aluminum housing. This robust design allows fanless operation and provides high structural strength. The Intel Atom N270 Processor, running at 1.6GHz, provides ample performance for the intended environment. The Atom processor line is Intel’s ultra-low power offering. The system supports two plug-in PCI cards. An included watch dog timer will generate a system reset on a software programmable time interval for failsafe operation. System I/O is very robust offering VGA and S-Video for graphics, an audio output, four USB 2.0 and four RS232 connectors. One of the RS232 ports can be configured for RS232, RS422 or RS485. A PS/2 keyboard/mouse connector or one of the USB ports can be used for a keyboard and mouse. Storage options include a Compact Flash slot, a PCMCIA slot and an internal shock isolated 2-1/2” hard drive. Input power is 9 VDC (@1.91A) to 30VDC (@0.69A). An external universal input AC adapter provides 90 to 240VAC operation. The DC input allows direct connection to vehicular systems, either 12VDC or military 28VDC. Environmentally, the unit is rated for –15 to +55 Deg C operating and 5G rms for 5 to 500Hz (random) with a Compact Flash drive (CFD) or 1G rms, 5 to 500Hz if a hard drive is installed. Shock is specified at 50G peak (11mS duration) with a CFD or 20G with a hard drive installed. The system has been tested to CE and FCC Class B
Features
Fanless Design with IntelP
®P Atom N270 1.6GHz Processor
Supports 2 PCI slots for plug-in card expansion 2 PCMCIA slots 4 COM / 4 USB 2.0 / 2 RJ-45 ports 1 RS232 configurable for RS422/RS485 2 10/100/1000Base-TX Ethernet ports Operating Temperature: -15 P
oPC~50P
oPC
Anti-vibration up to 5grms / Anti-shock up to 50 g Low Power Consumption
Chassis Plans IMC-A2PCI Technical Reference Chapter 1 - Introduction
Page 2
Specifications
CPU: IntelP
®P Atom N270 1.6GHz Processor
System Memory: DDR II SDRAM SODIMM x 1, Max. 1GB Expansion: PCI slot x 2, PCMCIA x 2 VGA: DB-15 VGA connector, Max. Resolution: 1920 x 1080 Keyboard/Mouse: PS/2 Keyboard & Mouse Ethernet: 10/100/1000Base-TX RJ-45 Connector x 2 SSD: CompactFlash P
™P slot x 1
Device Bay: Internal 2.5” Slim HDD Bay Serial Port: RS-232 x 3, RS-232/422/485 x 1 Audio: Line-in / Line-out / MIC-in by external cable USB: 4 USB 2.0 ports Watchdog Timer: Generates a time-out system reset, setting via software Power Supply: 1. DC Input -- Internal DC-DC Converter (Default) Input voltage: DC 9V/1.91A~ DC 30V/0.69A
2. AC Input -- External Power Adapter (Optional) Input voltage: 100V AC ~ 240V AC @ 50 ~ 60Hz
System Control: Power on / off switch x 1; Reset button x 1 Indicators: Power LED x 1; HDD active LED x 1
Mechanical and Environmental Specifications
Construction: Rugged Extruded Aluminum Alloy chassis Color: Mustard Mounting: Wallmoun Dimension: 8.4”(W) x 3.7”(H) x 9.4”(D) (214mm x 94.8mm x 237.8mm) Net Weight: 12.4 lb (5.63 kg) Operating Temperature: °F ~ 131°F (-15°C~55°C) Storage Humidity: 5~90%@40°C, non-condensing Vibration: 5g rms / 5~500Hz / random operation (CFD);
1g rms / 5~500Hz / random operation (Internal HDD) Shock: 50g peak acceleration (11msec. duration) (CFD)
20g peak acceleration (11 msec. duration) (HDD) EMC: CE/FCC class B
Chassis Plans IMC-A2PCI Technical Reference Chapter 1 - Introduction
Page 3
Figure 1 – Mechanical Layout and Dimensions
Chassis Plans IMC-A2PCI Technical Reference Chapter 1 - Introduction
Page 4
Photos
Front View Rear View
Inside View
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 5
Chapter 2 – Hardware Installation
Figure 2 – Jumper Locations
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 6
FAN Power Selection (JP1) (For special usage) JP1 Function 1-2 +12V
2-3 +5V
Figure 3 – Jumper JP1
JP1JP1
+12V
+5V
1
1
1
11
1
1
1
1
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 7
PS2 Keyboard/ Mouse Power Selection (JP2) JP2 Function 1-2 Normal VCC5
2-3 Standby (Default) 5VDUAL
Figure 4 – Jumper JP2
JP2
JP2
VCC5
5VDUAL(Default)
1
1
1
11
1
1
1
1
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 8
RTC Battery Selection (JP3) JP3 Function 1-2 Normal (Default)
2-3 Clear CMOS
Figure 5 – Jumper JP3
JP3
1
1
Clear CMOS
1
1
Normal
JP3
1
(Default)
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 9
COM1, COM3, COM4, Pin 9 Selection (JP6, JP4, JP5) JP6 Function 1-2 +12V
3-4 +5V
5-6 RI for COM1 (Default)
JP4 Function 1-2 +12V
3-4 +5V
5-6 RI for COM3 (Default)
JP5 Function 1-2 +12V
3-4 +5V
5-6 RI for COM4 (Default)
Figure 6 – Jumpers JP4, JP5 & JP6
JP4
1
+12V
JP4
1
1
1
1
1
2
1
+5V
2
1
1
1 COM3
2
(Default)
1
(Default)
1
2
COM4
1
1
1+5V
2
JP5
1
2
+12V
COM1
(Default)
+5V
+12V
JP6
JP5
JP6
1
1
2
1
1
2
1
1
2
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 10
USB1, 2 (J1) & USB3, 4 (J2) Power Selection J1 Function 1-2 Normal VCC5
2-3 Standby (Default) 5VDUAL
J2 Function 1-2 Normal VCC5
2-3 Standby (Default) 5VDUAL
Figure 7 – Jumpers J1 & J2
J1
J2
J1,J2
VCC5
5VDUAL(Default)
1
1
1
11
1
1
1
1
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 11
COM2 RS-232/422/485 Selection Setting COM2 for RS-232/422/485 selection is set in BIOS settings as following:
Entering BIOS Setting Menu: Choose "Integrated Peripherals Super IO device COM2 select". (Default setting is at "RS-232")
COM2 RS-232/422/485 Serial Port Connector Different devices implement the RS-232/422/485 standard in different ways. If you have problems with a serial device, check the pin assignments below for the connector.
Pin Signal Pin Signal
1 DCD (422TXD- 2 RXD (422RXD+)
3 TXD (422TXD+/485DATA+)
4 DTR (422RXD-)
5 GND 6 DSR
7 RTS 8 CTS
9 RI 10 N.C.
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 12
Hard Disk Drive Installation
Disassemble the IMC-A2PCI
For Hard Disk Drive (HDD) installation, you have to disassemble the bottom lid of IMC-A2PCI and some components and covers in the IMC-A2PCI.
Step 1: Unfasten the screw in the blue circle on the rear panel.
Figure 8 – Disassembly / Front Screw Removal
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 13
Step 2: Remove the screw in the blue circle on the front panel.
Figure 9 – Disassembly / Rear Screw Removal
Step 3: Remove the six screws on the bottom lid.
Figure 10 – Disassembly / Bottom Screw Removal
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 14
Assemble the HDD Module
After disassembling the IMC-A2PCI, you have to get the HDD module ready for the installation.
Step 1: Install the four HDD screws and cover with the four black shock grommets
Figure 11 – Hard Drive Screw Installation
Figure 12 – Hard Drive Shock Grommet Installation
Black DamperBlack Damper
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 15
Step 2: Assemble the HDD chassis
Figure 13 – Hard Drive Installation
Step 3: Assemble the shock bracket
Figure 14 – Hard Drive Shock Bracket Installation
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 16
Step 4: Connect the HDD cable (for IDE Type HDD)
Figure 15 – Hard Drive IDE Cable Installation
Connect the HDD cable (for SATA Type HDD)
Figure 16 – Hard Drive SATA Cable Installation
HDD DISK
SATA Power
W/LOCK I/O Board Side
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 17
Step 5: Install the six screws on the bottom of the IMC-A2PCI
Figure 17 – Reassembling / Bottom Screw Installation
Step 6: Install the front panel screw
Figure 18 – Reassembling / Front Screw Installation
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 18
Step 7: Install the rear panel screw screw
Figure 19 – Reassembling / Rear Screw Installation
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 19
PCI Card Installation
Step 1: Remove the screw in the blue circle on the front panel.
Figure 20 – Disassembly / Front Screw Removal
Step 2: Remove the screw on the rear panel.
Figure 21 – Disassembly / Rear Screw Removal
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 20
Step 3: Unfasten the six screws on the bottom lid.
Figure 22 – Disassembly / Bottom Screw Removal
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 21
Step 4: Remove the screw on the I/O shield with your finger and get the PCI card ready to install. You should keep the shield and screw for use later.
Figure 23 – Card Guide Removal
Step 5: Insert the PCI card into the PCI slot and reattach the screw.
Figure 24 – Plug-in Card Installation
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 22
Step 6: Loosen the blue thumbscrews and position the bracket to lock the PCI card in position.
Figure 25 – Plug-in Card Retention Bracket Adjustment
Step 7: Close the bottom lid of the IMC-A2PCI and install the six screws as shown.
Figure 26 – Reassembly / Bottom Screw Installation
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 23
Step 8: Fasten the one screw on the rear panel and one screw on the front panel
Figure 27 – Reassembly / Rear Screw Installation
Figure 28 – Reassembly / Front Screw Installation
Chassis Plans IMC-A2PCI Technical Reference Chapter 2 – Hardware Installation
Page 24
Wallmount / Bulkhead Kit Installation Step 1: Get the brackets ready and fasten appropriate three screws on each bracket. After fastening the two brackets on the bottom lid of IMC-A2PCI, the wallmount kit installation is finished
Figure 29 – Installing the Wall Mount Brackets
Figure 30 – Mounting Plate Dimensions
Chassis Plans IMC-A2PCI Technical Reference Chapter 3 – Award Bios Setup
Page 25
Chapter 3 – Award Bios Setup
System Test and Initialization These routines test and initialize board hardware. If the routines encounter an error during the tests, you will either hear a few short beeps or see an error message on the screen. There are two kinds of errors: fatal and non-fatal. The system can usually continue the boot up sequence with non-fatal errors. Non-fatal error messages usually appear on the screen along with the following instructions: Press <F1> to RESUME Write down the message and press the F1 key to continue the boot up sequence.
System configuration verification These routines check the current system configuration against the values stored in the CMOS memory. If they do not match, the program outputs an error message. You will then need to run the BIOS setup program to set the configuration information in memory. There are three situations in which you will need to change the CMOS settings:
1. You are starting your system for the first time 2. You have changed the hardware attached to your system 3. The CMOS memory has lost power and the configuration information has been erased.
The IMC-A2PCI CMOS memory has an integral lithium battery backup for data retention with an anticipated 7 year life.
Award BIOS Setup The Award BIOS ROM has a built-in Setup program that allows users to modify the basic system configuration. This type of information is stored in battery-backed CMOS RAM so that it retains the Setup information when the power is turned off. Entering Setup
Power on the computer and press <Del> immediately. This will allow you to enter Setup.
Standard CMOS Features
Use this menu for basic system configuration. (Date, time, IDE, etc.)
Advanced BIOS Features
Use this menu to set the advanced features available on your system.
Advanced Chipset Features
Use this menu to change the values in the chipset registers and optimize your system performance.
Integrated Peripherals
Use this menu to specify your settings for integrated peripherals. (Primary slave, secondary slave, keyboard, mouse etc.)
Note: COM3, COM 4 cannot support LapLink V.5.0(LL5)
Chassis Plans IMC-A2PCI Technical Reference Chapter 3 – Award Bios Setup
Page 26
Power Management Setup
Use this menu to specify your settings for power management. (HDD power down, power on by ring, KB wake up, etc.)
PnP/PCI Configurations
This entry appears if your system supports PnP/PCI.
PC Health Status
This menu allows you to set the shutdown temperature for your system.
Frequency/Voltage Control
Use this menu to specify your settings for auto detect DIMM/PCI clock and spread spectrum. Load Fail-Safe Defaults
Use this menu to load the BIOS default values for the minimal/stable performance for your system to operate.
Load Optimized Defaults
Use this menu to load the BIOS default values that are factory settings for optimal performance system operations. While AWARD has designated the custom BIOS to maximize performance, the factory has the right to change these defaults to meet their needs.
Set Supervisor/User Password
Use this menu to set Supervisor/User Passwords.
Save and Exit Setup
Save CMOS value changes to CMOS and exit setup.
Exit Without Saving
Abandon all CMOS value changes and exit setup.
You can refer to the "CHASSIS PLANS BIOS Item Description.pdf" file in the CD for the meaning of each setting in this chapter.
Chassis Plans IMC-A2PCI Technical Reference Chapter 4 – Driver Installation
Page 27
Chapter 4 - Driver Installation The IMC-A2PCI comes with a CD-ROM that contains all drivers and utilities that meet your needs. Follow the sequence below to install the drivers:
Step 1 – Install INF Driver Step 2 – Install VGA Driver Step 3 – Install LAN Driver Step 4 – Install Audio Driver
USB 2.0 Drivers are available for download using Windows Update for both Windows XP and Windows 2000. For additional information regarding USB 2.0 support in Windows XP and Windows 2000, please visit www.microsoft.com/hwdev/usb/. Please read instructions below for further detailed installations.
Installation Insert the IMC-A2PCI CD-ROM into the CD-ROM Drive. The Autorun program should run automatically depending on the Windows settings. You also can choose the drivers to install from step 1 to step 4 in order as following instructions. Step 1 – Install INF Driver
1. Click on the Step 1-INF folder and then double click on the Setup.exe 2. Follow the instructions that the window will show you 3. The system will help you install the driver automatically
Step 2 – Install VGA Driver
1. Click on the Step 2-VGA folder and select the OS folder your system is 2. Double click on the Setup.exe located in each OS folder 3. Follow the instructions that the window shows you 4. The system will help you install the driver automatically
Caution: In products with Intel embedded graphics chipset, when the system is booting before the CRT / LCD monitor has connected to VGA, it will cause the Intel graphics chipset to automatically detect without CRT / LCD connection and set the CRT output to disabled. Therefore, the CRT / LCD screen will go black and never recover in Windows. This is a limitation of the application for the Intel embedded graphics driver under Windows XP. There is a simply way to recover CRT / LCD output through a Hot-Key function as suggested by Intel as follows:
You need to press <CTRL><ALT><F1> key simultaneously to recover the VGA output again. This hot-key function is only in the Windows driver version 6.14.10.4497 or later.
Step 3 – Install LAN Driver
1. Click on the Step 3-LAN folder and select the OS folder your system is 2. Double click on the .exe file located in each OS folder 3. Follow the instructions that the window shows you 4. The system will help you install the driver automatically
Step 4 – Install Audio Driver
1. Click on the Step 4-AC97 folder and then click on the folder of Win98ME2KXP 2. Double click on the wdm_a371.exe 3. Follow the instructions that the window shows you 4. The system will help you install the driver automatically
Chassis Plans IMC-A2PCI Technical Reference Chapter 4 – Driver Installation
Page 28
Note: Under the Window OS environment, if the CRT connector is connected to display monitor by the data switch device, the user need to set the color and resolution from Intel Graphic utility (VGA driver) instead of setting from the control panel in case of the wrong display appearance.
Chassis Plans IMC-A2PCI Technical Reference Appendix A – Watchdog Timer
Page 29
Appendix A - Programming the Watchdog Timer
Programming
The IMC-A2PCI utilizes an ITE 8712 chipset as its watchdog timer controller. A Watchdog Timer is a device that will cause a system reset if not “pinged” within a set period. The “ping” comes from the user’s software. Thus, should the system lock up, the software will not ping the Watchdog Timer which will cause a system reset to reestablish normal operation.
Below are the procedures to complete its configuration and the CHASSIS PLANS intial watchdog timer program is also attached based on which you can develop customized program to fit your application.
Configuring Sequence Description
After the hardware reset or power-on reset, the ITE 8712 enters the normal mode with all logical devices disabled except KBC. The initial state (enable bit ) of this logical device (KBC) is determined by the state of pin 121 (DTR1#) at the falling edge of the system reset during power-on reset.
Figure 31 – Watchdog Timer Flow Chart
Chassis Plans IMC-A2PCI Technical Reference Appendix A – Watchdog Timer
Page 30
There are three steps to complete the configuration setup:
1. Enter the MB PnP Mode;
2. Modify the data of configuration registers;
3. Exit the MB PnP Mode. Undesired result may occur if the MB PnP Mode is not exited normally.
1 - Enter the MB PnP Mode
To enter the MB PnP Mode, four special I/O write operations are to be performed during Wait for Key state. To ensure the initial state of the key-check logic, it is necessary to perform four write opera-tions to the Special Address port (2EH). Two different enter keys are provided to select configuration ports (2Eh/2Fh) of the next step.
2 - Modify the Data of the Registers
All configuration registers can be accessed after entering the MB PnP Mode. Before accessing a selected register, the content of Index 07h must be changed to the LDN to which the register belongs, except some Global registers.
3 - Exit the MB PnP Mode Set bit 1 of the configure control register (Index=02h) to 1 to exit the MB PnP Mode.
WatchDog Timer Configuration Registers
Configure Control (Index=02h)
This register is write only. Its values are not sticky; that is to say, a hardware reset will automatically clear the bits, and does not require the software to clear them.
Chassis Plans IMC-A2PCI Technical Reference Appendix A – Watchdog Timer
Page 31
WatchDog Timer Control Register (Index=71h, Default=00h)
WatchDog Timer Configuration Register (Index=72h, Default=00h)
WatchDog Timer Time-out Value Register (Index=73h, Default=00h)
Chassis Plans IMC-A2PCI Technical Reference Appendix A – Watchdog Timer
Page 32
IT8712 Watchdog Timer Initial Program
.MODEL SMALL
.CODE
Main: CALL Enter_Configuration_mode CALL Check_Chip mov cl, 7 call Set_Logic_Device ;time setting mov cl, 10 ; 10 Sec dec al
Watch_Dog_Setting: ;Timer setting mov al, cl mov cl, 73h call Superio_Set_Reg ;Clear by keyboard or mouse interrupt mov al, 0f0h mov cl, 71h call Superio_Set_Reg ;unit is second. mov al, 0C0H mov cl, 72h call Superio_Set_Reg ; game port enable mov cl, 9 call Set_Logic_Device Initial_OK: CALL Exit_Configuration_mode MOV AH,4Ch INT 21h
Enter_Configuration_Mode PROC NEAR MOV SI,WORD PTR CS:[Offset Cfg_Port] MOV DX,02Eh MOV CX,04h Init_1: MOV AL,BYTE PTR CS:[SI] OUT DX,AL INC SI LOOP Init_1 RET Enter_Configuration_Mode ENDP Exit_Configuration_Mode PROC NEAR MOV AX,0202h CALL Write_Configuration_Data RET Exit_Configuration_Mode ENDP Check_Chip PROC NEAR MOV AL,20h CALL Read_Configuration_Data
Chassis Plans IMC-A2PCI Technical Reference Appendix A – Watchdog Timer
Page 33
CMP AL,87h JNE Not_Initial MOV AL,21h CALL Read_Configuration_Data CMP AL,12h JNE Not_Initial
Need_Initial:
STC RET
Not_Initial:
CLC RET Check_Chip ENDP Read_Configuration_Data PROC NEAR MOV DX,WORD PTR CS:[Cfg_Port+04h] OUT DX,AL MOV DX,WORD PTR CS:[Cfg_Port+06h] IN AL,DX RET Read_Configuration_Data ENDP Write_Configuration_Data PROC NEAR MOV DX,WORD PTR CS:[Cfg_Port+04h] OUT DX,AL XCHG AL,AH MOV DX,WORD PTR CS:[Cfg_Port+06h] OUT DX,AL RET Write_Configuration_Data ENDP Superio_Set_Reg proc near push ax MOV DX,WORD PTR CS:[Cfg_Port+04h] mov al,cl out dx,al pop ax inc dx out dx,al ret Superio_Set_Reg endp.Set_Logic_Device proc near Set_Logic_Device proc near push ax push cx xchg al,cl mov cl,07h call Superio_Set_Reg pop cx pop ax ret Set_Logic_Device endp ;Select 02Eh->Index Port, 02Fh->Data Port Cfg_Port DB 087h,001h,055h,055h DW 02Eh,02Fh
Chassis Plans IMC-A2PCI Technical Reference Appendix A – Watchdog Timer
Page 34
END Main Note: Interrupt level mapping 0Fh-Dh: not valid 0Ch: IRQ12 .
. 03h: IRQ3 02h: not valid 01h: IRQ1 00h: no interrupt selected
Chassis Plans IMC-A2PCI Technical Reference Appendix B – I/O Address Map
Page 35
Appendix B - I/O Information
I/O Address Map
Chassis Plans IMC-A2PCI Technical Reference Appendix B – I/O Address Map
Page 36
Figure 32 – I/O Address Map
Chassis Plans IMC-A2PCI Technical Reference Appendix B – I/O Address Map
Page 37
1st MB Memory Address Map
Figure 33 – 1st Memory Address Map
Chassis Plans IMC-A2PCI Technical Reference Appendix B – I/O Address Map
Page 38
IRQ Mapping Chart
Figure 34 – IRQ Mapping Chart
DMA Channel Assignments
Figure 35 – DMA Channel Assignments
Recommended