Acrosser AR-B1322 User Manual

Page 1
AR-B1322
PC/104 386SX CPU BOARD
User’s Guide
Edition: 1.2
Book Number: AR-B1322-99.A01
Page 2
AARR--BB11332222
Copyright Notice and Disclaimer
October 1999
Acrosser Technology makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Furthermore, Acr osser Technology reserves th e right to revise this public ation and to make changes f rom time to time in th e contents hereof without obligation of Acrosser T echnology to notif y any person of s uch revisions or changes. Check for updates at www.acrosser.com
Possession, use, or copying of the soft ware described in th is publication is a uthorized only pursuant to a valid written license from Acrosser or an authorized sublicensor.
(C) Copyright 錯誤
Acrosser, Intel, ALI, AMI…are registered trademarks.
All other trademarks and registered trademarks are the property of their respective holders.
This document was produced with Adobe Acrobat 3.01.
錯誤! 尚未定義書籤。
尚未定義書籤。 Acrosser Technology Co., Ltd., 1999. All rights Reserved.
錯誤錯誤
尚未定義書籤。尚未定義書籤。
II
Page 3
AARR--BB11332222
Table of Contents
0. PREFACE.............................................................................................................................................V
0.1 WELCOME TO THE AR-B1322 CPU BOARD............................................................................................V
0.2 BEFORE YOU USE THIS GUIDE.................................................................................................................V
0.3 RETURNING YOUR BOARD FOR SERVICE.............................................................................................V
0.4 TECHNICAL SUPPORT AND USER COMMENTS....................................................................................V
0.5 ORGANIZATION..........................................................................................................................................VI
0.6 STATIC ELECTRICITY PRECAUTIONS...................................................................................................VI
1. OVERVIEW........................................................................................................................................1-1
1.1 INTRODUCTION.........................................................................................................................................1-1
1.2 PACKING LIST............................................................................................................................................1-1
1.3 FEATURES...................................................................................................................................................1-2
2. SYSTEM CONTROLLER................................................................................................................2-1
2.1 MICROPROCESSOR ...................................................................................................................................2-1
2.2 DMA CONTROLLER...................................................................................................................................2-1
2.3 DRAM CONFIGURATION..........................................................................................................................2-2
2.4 I/O CONTROLLER.......................................................................................................................................2-2
2.5 I/O PORT ADDRESS MAP.......................................................................................................................... 2-3
2.6 INTERRUPT CONTROLLER......................................................................................................................2-4
2.7 SERIAL PORTS............................................................................................................................................2-5
2.8 PARALLEL PORT........................................................................................................................................2-7
2.9 TIMER...........................................................................................................................................................2-9
2.10 REAL-TIME CLOCK AND NON-VOLATILE RAM.................................................................................2-9
2.11 WATCHDOG TIMER.................................................................................................................................2-10
2.12 FLASH DISK ..............................................................................................................................................2-10
2.13 ETHERNET CONTROLLER .....................................................................................................................2-10
3. SETTING UP THE SYSTEM ........................................................................................................... 3-1
3.1 BOARD LAYOUT........................................................................................................................................3-2
3.2 CPU BASE CLOCK SELECT (JP1).............................................................................................................3-4
3.3 SWITCH SETTINGS (SW1).........................................................................................................................3-4
3.4 ETHERNET CONNECTOR(J1)...................................................................................................................3-5
EXTERNAL LED HEADER (J2)....................................................................................................... .....................3-5
3.6 KEYBOARD CONNECTOR (J3).................................................................................................................3-5
3.7 RESET HEADER (J4)...................................................................................................................................3-5
3.8 SPEAKER HEADER (J5).............................................................................................................................3-6
3.9 POWER CONNECTOR (J6).........................................................................................................................3-6
3.10 PRINTER CONNECTOR (CN1)..................................................................................................................3-6
3.11 FLOPPY CONNECTOR (CN2)....................................................................................................................3-7
3.12 SERIAL PORT CONNECTORS (CN3, CN4 & CN5) .................................................................................3-8
3.12.1 RS-232C CONNECTORS (CN3 & CN4) ................................................................................................................3-8
3.12.2 RS-485 CONNECTOR (CN5).................................................................................................................................3-9
3.12.3 RS-485 TERMINATOR (JP2 & JP3) ......................................................................................................................3-9
3.13 HARD DISK CONTROLLER (CN6).........................................................................................................3-10
3.14 PC/104 CONNECTOR (CN7 & CN8)........................................................................................................3-11
3.14.1 64 PIN PC/104 CONNECTOR – CN8 (BUS A & B).............................................................................................3-11
3.14.2 40 PIN PC/104 CONNECTOR - CN7 (BUS C & D).............................................................................................3-12
3.14.3 PC/104 CHANNEL SIGNAL DESCRIPTION.......................................................................................................3-13
3.15 LED INDICATOR (LED1 & LED2) ..........................................................................................................3-14
3.15.1 POWER LED (LED1)...........................................................................................................................................3-14
3.15.2 STATUS LED (LED2)...........................................................................................................................................3-14
3.16 DISKONMODULE.....................................................................................................................................3-15
III
Page 4
AARR--BB11332222
4. BIOS CONSOLE...............................................................................................................................4-1
4.1 BIOS SETUP OVERVIEW...........................................................................................................................4-1
4.2 STANDARD CMOS SETUP........................................................................................................................4-2
4.3 ADVANCED CMOS SETUP .......................................................................................................................4-4
4.4 ADVANCED CHIPSET SETUP...................................................................................................................4-7
4.5 PERIPHERAL SETUP..................................................................................................................................4-9
4.6 AUTO-DETECT HARD DISKS.................................................................................................................4-10
4.7 PASSWORD SETTING..............................................................................................................................4-10
4.8 SETTING THE PASSWORD .....................................................................................................................4-10
4.8.1 CHECKING THE PASSWORD.............................................................................................................................4-11
4.9 LOAD THE DEFAULT SETTING............................................................................................................. 4-11
4.9.1 AUTO CONFIGURATION WITH OPTIMAL SETTING.......................................................................................4-11
4.9.2 AUTO CONFIGURATION WITH FAIL SAFE SETTING.....................................................................................4-11
4.10 BIOS EXIT..................................................................................................................................................4-11
4.10.1 SAVE SETTINGS AND EXIT................................................................................................................................4-11
4.10.2 EXIT WITHOUT SAVING.....................................................................................................................................4-12
4.11 BIOS UPDATE ...........................................................................................................................................4-12
5. SYSTEM INSTALLATION...............................................................................................................5-1
5.1 OVERVIEW..................................................................................................................................................5-1
5.2 UTILITY DISKETTE ...................................................................................................................................5-1
5.2.1 NETWORK UTILITY ..............................................................................................................................................5-2
5.2.2 WATCHDOG TIMER..............................................................................................................................................5-2
5.2.2.1 WATCHDOG TIMER SETTING.....................................................................................................5-2
5.2.2.2 WD ENABLE REGISTER - INDEX 37H ........................................................................................5-3
5.2.2.3 WD REPORT REGISTER - INDEX 38H.........................................................................................5-3
5.2.2.4 WD TIMER COUNTER(24 BITS) - INDEX 39H, 3AH, AND 3BH ...............................................5-3
5.2.2.5 TIMEOUT STATUS & RESET WATCHDOG - INDEX 3CH........................................................5-4
5.2.2.6 PROGRAMMING WATCHDOG - BASIC OPERATION ..............................................................5-4
A. APPENDIX........................................................................................................................................ A-1
A-1 SPECIFICATIONS......................................................................................................................................A-1
A-2 BOARD DIMENSIONS..............................................................................................................................A-2
A-3 PROGRAMMING THE RS-485.................................................................................................................A-3
IV
Page 5
0. PREFACE
0.1 WELCOME TO THE AR-B1322 CPU BOARD
This guide introduces the Acrosser AR-B1322 CPU board.
This guide desc ribes t his card’s functions, f eatures , a nd how to start, set up and oper at e your AR­B1322. You could also find the general system information here.
0.2 BEFORE YOU USE THIS GUIDE
If you have not already installed this AR-B1322, refer to Chapter 3, “Setting System,” in this guide.
0.3 RETURNING YOUR BOARD FOR SERVICE
If your board requires servicing, contact the dealer from whom you purchased the product for service information. If you need to ship your board to us for s ervice, be sure it is packed in a protective carton. We recommend that you keep the original shipping container for this purpose.
You can help assure efficient servicing of your product by following these guidelines:
1). Include your nam e, addres s, daytim e telepho ne, facs im ile number and e-mail where you m ay be reached
2). A description of the system configurations and/or the software at the time of malfunction.
3). A brief description of the symptoms.
AARR--BB11332222
0.4 TECHNICAL SUPPORT AND USER COMMENTS
User's comments are al ways welc ome as they assist us in improving the usefulness of our products and the understanding of our publications. They form a very important part of the input used for product enhancement and revision.
We may use and distribute any of the information you suppl y in any way we believe appropriate without incurring any oblig a t i o n . Y o u ma y, o f c o u rs e , c o n tinue to use the information you supply.
If you have sug gestions fo r impr oving particu lar sec tions or if you find any error s, please in dicate the manual title and book number.
Please send your comments to Acrosser Technology Co., Ltd. or your local sales representative. Send Internet electronic mail to: Sales@acrosser.com
V
Page 6
0.5 ORGANIZATION
This information covers the following topics (see the Table of Contents for a detailed listing):
!
Chapter 1, “Overview,” provides an overview of the system features and packing list.
!
Chapter 2, “System Controller,” describes the major structure.
!
Chapter 3, “Setting the System,” describes how to adjust the jumpers, and the connector settings.
!
Chapter 4, “BIOS Console,” providing the BIOS settings.
!
Chapter 5, “System Installation,” providing hardware and driver installing procedures
!
Appendix
# Specifications
#
Board dimensions
# Programming the RS-485
0.6 STATIC ELECTRICITY PRECAUTIONS
Before removing the board from its anti-static bag, read this section about the static electricity precautions.
Static electricit y is a cons tant danger to com puter system s. The charg e that can build up in your body may be more than s ufficient to damage int egrate d circuits on any PC boar d. It is, theref ore, important to observe basic precautions whenever you use or handle computer components. Although areas with hum id clim ates are much les s prone to the static b uilt up, it is al ways best to safeguard against accidents, which may result in expensive repairs. The following measures should generally be sufficient to protect your equipment from static discharge:
1) Touch a grounded metal object to discharge the s tatic electricity in your bo dy (or ideally,
wear a grounded wrist strap).
2) W hen unpacking and handling the boar d or other system components , place all materials
on an antic-static surface.
3) Be careful not to touch the components on the board, especially the “gold finger”
4) connectors on the bottom of every board.
AARR--BB11332222
VI
Page 7
1. OVERVIEW
This chapter provides a n overview of your system features and c apabilities. T he following topics are covered:
! Introduction
!
Packing List
! Features
1.1 INTRODUCTION
The AR-B1322, PC/104 C PU module is a lower pow er consuming, high perf ormance 386 based computer. By using the s pace-saving features of the AL I M6117C CPU, this module is able t o support up to 4MB of DRAM. The unit also comes with two RS-232C/RS-485 ports, 1 parallel port, 1 floppy interface, 1 IDE i nt er f ac e, and 1 DiskOnChip socket for adding a hig h de g r ee of vers atil ity to any project. T he AR-B1322 is an excel lent choice for mobile s ystems, or as a controller for machines that are too small to accommodate traditional industrial PCs.
The AR-B1322 offer s higher speed and it makes a very stable 386SX-based sys tem with a true PC/104 module for embedded applications. It als o has LAN onboard with suppor t of 10 Mbps transmission rate. Acr osser additionally provides AR-B9450 ethernet adapter m odule to ensure efficient LAN applictions.
This manual has been written to assist you i n installing, configuring and running the AR-B1322 CPU card. Each section is intended to guide you through its procedures clearly and concisely, allowing you to continue to the next chapters without any difficulty.
AARR--BB11332222
1.2 PACKING LIST
These accessories are included with the system. Before you begin installing your AR-B1322 board, take a moment to m ake sure that the following item s have been included inside the AR­B1322 package.
!
A quick setup guide
! 1 AR-B1322 PC/104 386SX CPU board
!
1 Keyboard adapter cable
!
1 Floppy adapter cable
! 2 RS-232C interface cables
!
1 Printer adapter cable
! 1 Power adapter cable ! 1 Utility diskette
!
1 LAN adapter cable
Accessory Description
Keyboard adapter cable 6-pin JST t o 6 -p i n mi n i - d i n I B M P S / 2 s t andard ty pe Floppy adapter cable 16-pin mini-IDC to 34-pin IDC RS-232C interface cable 10-pin IDC to DB-9 male Printer adapter cable 26-pin mini-IDC to DB-25 female Power adapter cable 4-pin JST power cable LAN adapter cable Acrosser’s AR-B9450 RJ-45 adapter module with 2 LED indicators
(about 15mm in length)
Table 1-1 Accessories
1-1
Page 8
1.3 FEATURES
This system provides a number of special features that enhance its reliability, ensure its availability, and improve its expansion capabilities, as well as its hardware structure.
!
80386SX-33/40 MHz CPU (on-board 33 MHz CPU as standard model)
!
Stack-through PC/104 extension bus
!
System of up to 4MB DRAM (2 MB already on-board)
!
Supports 2 RS-232C/RS-485 serial ports
!
PS/2 compatible keyboard interface
!
Programmable watchdog timer
!
Flash BIOS
!
Supports two IDE drives
!
Supports 10 Base-T NE2000 compatible with 7-pin 2.5mm JST connector
!
Supports one floppy drive
!
Supports one SPP/EPP/ECP printer port
!
Supports DiskOnModule flash disk
!
Powered-on LED indicator
!
Signal 5V power requirement
!
Multi-layer PCB for noise reduction
!
Dimensions: 90.2mmX95.9mm (3.55”x3.775”)
AARR--BB11332222
1-2
Page 9
2. SYSTEM CONTROLLER
This chapter describes the major structure. The following topics are covered:
!
Microprocessor
!
DMA Controller
!
DRAM Configuration
!
I/O Port Address Map
!
Interrupt Controller
!
Serial Port
!
Parallel Port
!
Timer
!
Real-Time Clock and Non-Volatile RAM
!
Watch-Dog Timer
!
FLASH Disk
!
Ethernet controller
2.1 MICROPROCESSOR
The AR-B1322 uses the ALI M6117C CPU; it is designed to perform like Intel’s 386SX-based system with deep green features.
The 386SX core is the s ame as M1386SX of Ac er La b s . Inc . and 100% object c ode compatible with the Intel 386SX microprocessor. System manufacturers can provide 386 CPU based systems optimized f or both cost and size. Instructi on pipelining and high bus band width ensure short average instruct ion-execution tim es and high system throughput. Furtherm ore, it can keep the state internall y from c harge leak age whi le exter nal clock to the core is stop ped without s tor ing the data in registers . The power consumption here is almost zero when the clock stops . The internal structure of this c or e is 32-bit a nd it’s address bus has a very low supply current. The r eal mode as well as the protec ted m ode are a vailab le and can run M S-DOS , MS-Windows, OS/2 and UNIX.
AARR--BB11332222
2.2 DMA CONTROLLER
The equivalent of two 8237A DMA controllers are implemented in the AR-B1322 card. Each controller is a f our-channel DMA device, which will generate t he memory address es and control signals necess ary to transf er inform ation direc tly betw een a peripher al device and m emor y. This allows high-speed inf ormation transfer with less CPU intervention. The t wo DMA controllers are internally cascaded to provide four DMA channels f or transfers to 8-bit peripherals (DMA1) and three channels for transfers to 16- bit periph erals (DM A2). DMA2 c hannel 0 pr ovides the c ascade interconnection between the two DMA devices, thereby maintaining the IBM PC/AT compatibility.
The following is the DMA channels:
DMA Controller 1 DMA Controller 2
Channel 0: Spare Channel 4: Cascade for controller 1
Channel 1: IBM SDLC Channel 5: Spare
Channel 2: Diskette adapter Channel 6: Spare
Channel 3: Spare Channel 7: Spare
Table 2-1 DMA Channel Controller
2-1
Page 10
2.3 DRAM CONFIGURATION
There are two 16-bit memory banks on the AR-B1322 board. The first bank is embedded with a 1MBx16-bit (2MB, 60ns) EDO RAM and the other is 42-pin SOJ socket for extra 2MB DRAM with 1MBx16-bit (2MB, 60ns) EDO RAM. Please refer to the following table for details:
-
EDO 1Mx16 None 2MB Factory Preset EDO 1Mx16 EDO 1Mx16 4MB
Table 2-2 DRAM Configuration
2.4 I/O CONTROLLER
A super I/O chip (SMC37C669) is embedded at the back panel of the AR-B1322 board. It combines the functions of a floppy disk drive adapter, a hard disk drive (IDE) adapter, two serial (with 16C550 UART) adapters and 1 parallel adapter. Setting the BIOS setup program can do the I/O port configurations.
As a UART, the chip supports the serial to parallel conversion on data characters received from a peripheral device or a MODEM, and the parallel to serial conversion on data character received from the CPU. The UART includes a programmable baud rate generator, complete MODEM control capability and a processor interrupt system. For the parallel port, the SMC37C669 provides the user with a fully bi-directional centronics-type printer interface.
AARR--BB11332222
2-2
Page 11
AARR--BB11332222
2.5 I/O PORT ADDRESS MAP
Hex Range Device Factory Preset
000-01F DMA controller 1 020-021 Interrupt controller 1 022-023 ALI M6117C chipset address 040-04F Timer 1 050-05F Timer 2 060-06F 8042 keyboard/controller 070-071 Real-time clock (RTC), non-maskable interrupt
(NMI)
080-09F DMA page registers 0A0-0A1 Interrupt controller 2 0C0-0DF DMA controller 2
0F0 Clear Math Co-processor 0F1 Reset Math Co-processor
0F8-0FF Math Co-processor
170-178 Fixed disk 1
1F0-1F8 Fixed disk 0
201 Game port 208-20A EMS register 0 218-21A EMS register 1 278-27F Parallel printer port 3 (LPT 3)
2E8-2EF Serial port 4 (COM 4) 2F8-2FF Serial port 2 (COM 2)
300-31F Ethernet controller 378-37F Parallel printer port 2 (LPT 2) 380-38F SDLC, bisynchronous
3A0-3AF Bisynchronous 3B0-3BF Monochrome display and printer port 1 (LPT 1) 3C0-3CF EGA/VGA adapter 3D0-3DF Color/Graphics monitor adapter 3E8-3EF Serial port 3 (COM 3)
3F0-3F7 Floppy controller
3F8-3FF Serial port 1 (COM 1)
Table 2-3 I/O Port Address Map
Note: The I/O port address with the mark “✓✓✓” is factory preset value and is not adjustable. The items marked “
▲▲▲▲” can be adjusted in BIOS setup.
2-3
Page 12
2.6 INTERRUPT CONTROLLER
The ALI M6117C also provides two cascaded 8259 Programmable Interrupt Controllers (PIC). They accept requests from the peripherals, resolve priorities on pending interrupts in service, issue interrupt requests to the CPU, and provi de vectors which are used as ac ceptance index ed by the CPU to determine which interrupt service routine should be executed.
The following is the system information of interrupt levels:
InInterrupt Level
Description
AARR--BB11332222
NMI CTRL1
IRQ 0 IRQ 1
CTRL2
Parity check
System timer interrupt from timer 8254 Keyboard output buffer full
IRQ 2
: Real time clock
IRQ8
: Rerouting to INT 0Ah from hardware IRQ2
IRQ9
: LAN
IRQ10
: Spare
IRQ11
: Spare
IRQ12
: Reserved for Math. coprocessor
IRQ13
: Hard disk adapter
IRQ14
: Spare
IRQ15
IRQ 3 IRQ 4 IRQ 5 IRQ 6 IRQ 7
Serial port 2 Serial port 1 Spare Floppy disk Parallel port
Figure 2-1 Interrupt Controller
2-4
Page 13
2.7 SERIAL PORTS
The ACEs (Asynchronous Communication Elements ACE1 and ACE2) are used to convert the parallel data to a ser ial format on the trans mit side and convert t he serial data to parall el on the receiver side. The s erial format, in order of transm ission and reception, is a start bit, followed by five to eight data bits, a p arity bit (if programm ed) and one, one and half (f ive-bit format only) or two stop bits. The ACEs are capa ble of hand ling divis ors of 1 to 65 535, and pro duce a 16x c lock for driving the internal transmitter logic.
Provisions are als o include d to use this 16x clock to d rive the rece iver logic. A lso include d in the ACE are a complete MODEM control capabilit y, and a processor interrupt system that may be software tailored to the computing time required to handle the comm unic ations li nk. The following is a summary of each ACE accessible registers.
DLAB Port Address Register
0 base + 1 Interrupt enable (IER) X base + 2 Interrupt identification (IIR, read only) X base + 3 Line control (LCR) X base + 4 MODEM control (MCR) X base + 5 Line status (LSR) X base + 6 MODEM status (MSR) X base + 7 Scratched register 1 base + 0 Divisor latch (least significant byte) (LS) 1 base + 1 Divisor latch (most significant byte) (MS)
(1) Receiver Buffer Register (RBR)
Bit 0-7: Received data byte (Read Only)
Receiver buffer (RBR, read) 0 base + 0 Transmitter holding register (THR, write)
Table 2-4 ACE Accessible Register
AARR--BB11332222
(2) TRANSMITTER HOLDING REGISTER (THR)
Bit 0-7: Transmitter holding data byte (Write Only)
(3) I NTERRUPT ENABLE REGISTER (IER)
Bit 0: Enable Received Data Available Interrupt (ERBFI) Bit 1: Enable Transmitter Holding Empty Interrupt (ETBEI) Bit 2: Enable Receiver Line Status Interrupt (ELSI) Bit 3: Enable MODEM Status Interrupt (EDSSI) Bit 4: Must be 0 Bit 5: Must be 0 Bit 6: Must be 0 Bit 7: Must be 0
(4) INTERRUPT IDENTIFICATION REGISTER (I IR)
Bit 0: “0” if Interrupt Pending Bit 1: Interrupt ID Bit 0 Bit 2: Interrupt ID Bit 1 Bit 3: Must be 0 Bit 4: Must be 0 Bit 5: Must be 0 Bit 6: Must be 0 Bit 7: Must be 0
2-5
Page 14
(5) LINE CONTROL REGISTER (LCR)
Bit 0: Word Length Select Bit 0 (WLS0) Bit 1: Word Length Select Bit 1 (WLS1)
WLS1 WLS0 Word Length
0 0 5 Bits 0 1 6 Bits 1 0 7 Bits 1 1 8 Bits
Bit 2: Number of Stop Bit (STB) Bit 3: Parity Enable (PEN) Bit 4: Even Parity Select (EPS) Bit 5: Stick Parity Bit 6: Set Break Bit 7: Div isor Latch Access Bit (D LAB)
(6) MODEM CONTROL REGISTER (MCR)
Bit 0: Data Terminal Ready (DTR) Bit 1: Request to Send (RTS) Bit 2: Out 1 (OUT 1) Bit 3: Out 2 (OUT 2) Bit 4: Loop Bit 5: Must be 0 Bit 6: Must be 0 Bit 7: Must be 0
AARR--BB11332222
(7) LINE STATUS REGISTER (LSR)
Bit 0: Data Ready (DR) Bit 1: Overrun Error (OR) Bit 2: Parity Error (PE) Bit 3: Framing Error (FE) Bit 4: Break Interrupt (BI) Bit 5: Transmitter Holding Register Empty (THRE) Bit 6: Transmitter Shift Register Empty (TSRE) Bit 7: Must be 0
(8) MODEM STATUS REGISTER (MSR)
Bit 0: Delta Clear to Send (DCTS) Bit 1: Delta Data Set Ready (DDSR) Bit 2: Training Edge Ring Indicator (TERI) Bit 3: Delta Receive Line Signal Detect (DSLSD) Bit 4: Clear to Send (CTS) Bit 5: Data Set Ready (DSR) Bit 6: Ring Indicator (RI) Bit 7: Received Line Signal Detect (RSLD)
2-6
Page 15
AARR--BB11332222
(9) DIVISOR LATCH (LS, MS)
Byte Data LS MS
Bit 0: Bit 0 Bit 8 Bit 1: Bit 1 Bit 9 Bit 2: Bit 2 Bit 10 Bit 3: Bit 3 Bit 11 Bit 4: Bit 4 Bit 12 Bit 5: Bit 5 Bit 13 Bit 6: Bit 6 Bit 14 Bit 7: Bit 7 Bit 15
Desired
Baud Rate
50 2304 --­75 1536 ---
110 1047 0.026
134.5 857 0.058 150 768 --­300 384 --­600 192 ---
1200 96 --­1800 64 --­2000 58 0.69 2400 48 --­3600 32 --­4800 24 --­7200 16 ---
9600 12 --­14400 8 --­19200 6 --­28800 4 --­38400 3 --­57600 2 ---
115200 1 ---
Divisor Used to
Generate 16x Clock
Table 2-5 Serial Port Divisor Latch
Present Error Difference
Between Desired and Actual
2.8 PARALLEL PORT
(1) Register Address
Port Address Read/Write Register
base+0 Write Output data base+0 Read Input data base+1 Read Printer status buffer base+2 Write Printer control latch
(2) Printer Interface Logic
The parallel portion of the SMC37C669 makes the attachment of various devices that accept eight bits of parallel data at standard TTL level.
Table 2-6 Parallel Port Register
2-7
Page 16
AARR--BB11332222
)
(3) Data Swapper
The system microprocessor can read the contents of the printer's Data Latch through the Data Swapper by reading the Data Swapper address.
(4) Printer Status Buffer
The system microprocessor can read the printer status by reading the address of the Printer Status Buffer. The bit definitions are described as follows:
12345670
XXX
-ERROR SLCT PE
-ACK
-BUSY
Bit 7: This signal may become active during data entry, when the printer is off-line during printing, or
when the print head is changing position or in an error state. When Bit 7 is active, the printer is busy and can not accept data.
Bit 6: This bit represents the current state of the printer's ACK signal. A 0 means the printer has
received the character and is ready to accept another. Normally, this signal will be active for
approximately 5 microseconds before BUSY stops. Bit 5: A 1 means the printer has detected the end of paper. Bit 4: A 1 means the printer is selected. Bit 3: A 0 means the printer has encountered an error condition. Bit 0-2: No meaning.
(5) Printer Control Latch & Printer Control Swapper
The system microprocessor can read the contents of the printer control latch by reading the address of printer control swapper. Bit definitions are as follows:
12345670
XX
STROBE AUTO FD XT INIT SLDC IN
IRQ ENABLE
DIR(write only
Bit 5: Direction control bit. When logic 1, th e output buffers in t he parallel port are d isabled
allowing data driven f rom external sources to be read; when log ic 0, they work as a printer port. This bit is write only.
Bit 4: A 1 in this posit ion allows an interru pt to occur when AC K changes from lo w state to
high state. Bit 3: A 1 in this bit position selects the printer. Bit 2: A 0 starts the printer (50μsecond pulse, minimum).
Bit 1: A 1 causes the printer to line-feed after a line is printed. Bit 0: A 0.5μsecond m inimum high active puls e clock s data into the printer . Valid dat a must
be present for a minimum of 0.5μseconds before and after the strobe pulse.
2-8
Page 17
2.9 TIMER
The AR-B1322 provides three programmable timers, each with a timing frequency of 1.19 MHz.
Timer 0 The output of this timer is tied to interrupt request 0. (IRQ 0) Timer 1 This timer is used to trigger memory refresh cycles. Timer 2 This timer provides the speaker tone.
Application programs can load different counts into this timer to generate various sound frequencies.
Table 2-7 Timer
2.10 REAL-TIME CLOCK AND NON-VOLATILE RAM
The AR-B1322 contains a real-time clock compartment that maintains the date and time in addition to storing configuration inform ation about the com puter system. It contains 14 bytes of clock and registers and 114 bytes of general purpose RAM. Because of the use of CMOS technology, it consum es ve ry little po wer and can be m aintained for long per iods of tim e using an internal lithium battery.
Address Description
00 Seconds 01 Second alarm 02 Minutes 03 Minute alarm 04 Hours 05 Hour alarm 06 Day of week 07 Date of month 08 Month 09 Year 0A Status register A
0B Status register B 0C Status register C 0D Status register D 0E Diagnostic status byte 0F Shutdown status byte
10 Diskette drive type byte, drive A and B
11 Fixed disk type byte, drive C
12 Fixed disk type byte, drive D
13 Reserved
14 Equipment byte
15 Low base memory byte
16 High base memory byte
17 Low expansion memory byte
18 High expansion memory byte
19-2D Reserved 2E-2F 2-byte CMOS checksum
30 Low actual expansion memory byte
31 High actual expansion memory byte
32 Date century byte
33 Information flags (set during power on)
34-7F Reserved for system BIOS
Table 2-8 Real-Time Clock & Non-Volatile RAM
AARR--BB11332222
2-9
Page 18
2.11 WATCHDOG TIMER
The AR-B1322 is equipped with a programmable time-out period watchdog timer. Actually, the watchdog timer is provided by the ALI M6117C chipset. You can use the progr am to enable the watchdog timer. O nce you have enabled the watchdog tim er, the program should trig ger it ever y time before it tim es out. If your program fails to trigge r or disable this timer before it tim es out because of a system hang-up, it will generate a r eset signal to r eset the s ystem or trigger a n IRQ or NMI signal to tell your pr ogram that the watchdog has tim ed out. The time-out period can be
programmed to be from 30.5μseconds to 512 seconds with 30.5μseconds per step.
2.12 FLASH DISK
The AR-B1322 supports DiskOnModule flash disk, which makes it ideal for diskless systems, and are also highly reliable for high-speed access applications, such as controllers for industrial use, line test instruments, etc.
2.13 ETHERNET CONTROLLER
The Ethernet controller of the AR-B1322 is a highly integrated design that provides all Media Access Control (MAC) and Encode-Decode (ENDEC) functions in accordance with the IEEE
802.3 standard. T he Eth ernet c on tr ol ler c an int erf ac e dir ect l y with the PC-AT ISA bus without an y external device. The interface to PC-AT ISA bus is fully compatible with NE2000 Ethernet adapter cards, so all sof tware progr ams designed f or NE200 0 standard can r un on t he Ether net contro ller card without any modification.
Microsoft’s Plug and P lay and the jum perless software c onfiguration functi on are both supporte d. The capability of the PnP and Non-PnP mode autos witch function allows the u sers to configure network card. No jumper s or switches are nee ded to set addi tionall y when using either the PC or PnP function. T he integrated 8Kx16 SRAM and 10 BASE-T transceiv er make Ethernet controller more cost-effective.
AARR--BB11332222
2-10
Page 19
3. SETTING UP THE SYSTEM
This section describes the pin assignments of all connectors and settings of all switches and jumpers. It also guides you on how to expand the system and control the onboard devices.
The jumper pins allow you to set specific system parameters. Set them by changing the pin location of jum per bloc ks. (A jumper block is a small plastic-encased co nduc tor t h at s lips ov er the pins.) To change a jumper setting, remove the jumper from its current location with your fingers or small needle-nosed pliers. Place the jum per over the two pins designated for the des ired settin g. Press the jumper evenly onto the pins. Be careful not to bend the pins.
We will show t he locations of the AR-B1322 jumper pins, and the factory-defau lt settings in this section. Note that the square pin of each jumper block is pin 1.
Below illustrates the jum per use. Jumper caps are usually sm all plastic caps used to short two pins on a jumper block.
Most jumper caps look like this:
AARR--BB11332222
A Jumper Cap
Most jumper blocks look like this:
A 3 Pin jumper
Block
If the jumper is placed over pins one and two then 1-2 are ON.
Jumper on
2
Pins1 +
If the jumper is placed over pins two and three then 2-3 are ON.
Jumper On Pins 2 + 3
Otherwise, the jum per can be lef t to the side or com pletely of f the bloc k to k eep both 1-2 and 2-3 off (open).
CAUTION: Do not touch any electronic component unless you are safely grounded. Wear a grounded
wrist strap or touch an exposed metal part of the system unit chassis. Static discharges from your fingers can permanently damage electronic components.
3-1
Page 20
3.1 BOARD LAYOUT
The AR-B1322 is a small, easy to use, all-in-one 386SX grade CPU board with two RS-232/RS­485 ports and a flash disk module. Below is the AR-B1322 board layout.
CN3
JP1
CN4
JP2 JP3
CN5
J2 J4
J5
AARR--BB11332222
J6
Figure 3-1 AR-B1322 Board Layout
3-2
Page 21
AARR--BB11332222
Name Function Section
JP1 CPU base clock select 3.2 JP2 RS-485 terminator select (COM-A) 3.12.3 JP3 RS-485 terminator select (COM-B) 3.12.3
Switch 1 COM-A port mode selector 3.3 SW1 Switch 2 COM-B port mode selector 3.3
J1 Ethernet connector 3.4 J2 External power and hard disk LED header 3.5 J3 PS/2 Keyboard connector 3.6 J4 Reset header 3.7 J5 Speaker header 3.8
J6 Power connector 3.9 CN1 Printer connector 3.10 CN2 Floppy connector 3.11 CN3 RS-232C connector (COM-A) 3.12.1 CN4 RS-232C connector (COM-B) 3.12.1 CN5 RS-485 connector 3.12.2 CN6 44-pin IDE connector 3.13 CN7 40-pin PC/104 connector (Bus C & D) 3.14.2 CN8 64-pin PC/104 connector (Bus A & B) 3.14.1
LED1 Onboard power LED 3.15.1 LED2 User defined status LED 3.15.2
U1 Expandable DRAM socket 2.3
Table 3-1 Important Component List
3-3
Page 22
3.2 CPU BASE CLOCK SELECT (JP1)
ON
This board provides six typ es of CPU input clock s; they are 33.3MHz, 50 MHz, 60MH z, 66.7MH z, 75MHz, and 80MHz. The CPU input clock is twice that of the operating clock. JP1 is a 6-pin jumper located between CN3 and CN4.
CPU Input Clock CPU Operating Clock JP1 Setting Remark
33.3MHz 16.7MHz Short 1-2 & 4-6 50MHz 25MHz Short 1-2 & 3-5 60MHz 30MHz Short 1-2 & 5-6
66.7MHz 33.3MHz Short 1-3 & 5-6 Factory Preset 75MHz 37.5MHz Short 2-4 & 5-6 80MHz 40MHz Short 1-3 & 2-4
Table 3-2 CPU Clock Settings
JP1 JP1 JP1 JP1 JP1 JP1
1 3
5
$
$$
$$
21 43
65
$$
$$
$
21 43
65
$$
$$
16.7 MHz 25 MHz 30 MHz 33.3 MHz 37.5 MHz 40 MHz
$
21 43
65
$
$$
$$
21 43
65
$
$$
$$
21 43
65
$
$$
$$
AARR--BB11332222
2 4
6
Figure 3-2 JP1: CPU Clock Select
3.3 SWITCH SETTINGS (SW1)
SW1 is a DIP switch. It provides multi-purpose selection in one switch. The following table gives the details:
1 2
SW1 Function When “OFF” When “ON” Factory Preset
Switch 1 COM-A port mode select RS-232C RS-485 Off Switch 2 COM-B port mode select RS-232C RS-485 Off
Table 3-3 SW1 Settings
Note: When set to RS-485, the Acrosser RS-485 adapter must be used in conjunction for the RS-485 to work.
3-4
Page 23
3.4 ETHERNET CONNECTOR(J1)
This system has et hern et o nboard. Insta ll the net work driver f rom the ut ilit y disk ette, and connec t the Acrosser AR-B94 50 eth ernet adapter module to J1. The i ncluded et hernet m odule AR-B 9450 is specially des igned for the network applications. It has two LED indicators: yellow and green. When the system is receiving/transmitting data, the yellow LED blinks to show the system is working. The green LED is reserved for future purposes.
7 LANLED -
$
6 LANLED +
$
J1
Figure 3-3 Ethernet Connector Pin Assignments and AR-B9450 Ethernet Adapter Module
5 G round
$
4 TPR X -
$
3 TPR X +
$
2 TPT X -
$
1 TPT X +
AR-B9450
AARR--BB11332222
3.5 EXTERNAL LED HEADER (J2)
The J2 is a 4-pin right angle header. It allows you to connect an external power LED and an external hard disk LED.
121 POWER LED+
2 HARD DISK LED+
$ $
3 POWER LED-
$
3 4 4 HARD DISK LED-
Figure 3-4 J2: External LED Header
3.6 KEYBOARD CONNECTOR (J3)
The J3 is a 6-pin 2.0mm JST connector. Use th e ke yboard adap ter cable t o connect a PS/2 t ype keyboard. The following figure shows the adapter cable’s pin assignment.
Reserved
KB Data
GND VCC
Reserved
KB Clock
Figure 3-5 J3: Keyboard Connector
1 2 3 4 5 6
6 Pin Mini-Din
$
$
$
$
$
1
2
3
5
1 DATA 2 N.C.
4
3 GND 4 VCC
6
5 CLOCK 6 N.C.
3.7 RESET HEADER (J4)
The J4 is used to connect to an external reset switch. Shorting these two pins will reset the system.
Figure 3-6 J4 Reset Header & J5 Speaker Header
12
$
$
12
J4: Reset
J5: Speaker
1 Reset+ 2 Reset-
1 Speaker+ 2 Speaker-
3-5
Page 24
3.8 SPEAKER HEADER (J5)
y
y
The AR-B1322 provides a 2-pin right angle header for connecting an external speaker.
Note: J4 and J5 are next to each other. Please notice their orientation and pin locations when you are assembling the system.
3.9 POWER CONNECTOR (J6 )
The J6 is a 4-pin, 2.5mm, right angle JST connector; you can directly connect the DC power source to J6 for stand-alone applications.
2 1
J6
Front View
4 3
1: VCC (+5V) 2: GND 3: GND 4: +12V
Figure 3-7 J6: Power Connector
3.10 PRINTER CONNECTOR (CN1)
To enable or disable the printer port, please use the BIOS Setup program. To use the parallel port, an adapter cable has to be connected to the CN1 connector (26-pin 2.0mm housing). The connector for the parallel port is a 25 pin D-type female connector. The pin assignments for the parallel port adapter cable are as follows:
AARR--BB11332222
CN1 DB25 Decryption CN1 DB25 Decryption
1 1 -Strobe 2 14 -Auto Form Feed 3 2 Data 0 4 15 -Error 5 3 Data 1 6 16 -Initialize 7 4 Data 2 8 17 -Printer Select In
9 5 Data 3 10 18 Ground 11 6 Data 4 12 19 Ground 13 7 Data 5 14 20 Ground 15 8 Data 6 16 21 Ground 17 9 Data 7 18 22 Ground 19 10 -Acknowledge 20 23 Ground 21 11 Bus 23 12 Paper Empt 25 13 Printer Select 26 ---- No Connect
Table 3-4 Printer Adapter Cable Pin Assignments
22 24 Ground 24 25 Ground
3-6
Page 25
3.11 FLOPPY CONNECTOR (CN2)
The AR-B1322 provid es a 16-pin 2.0mm connector ( CN2) to support one floppy disk drive. The floppy drives may be one of the following:
5.25" : 360K or 1.2M
3.5" : 720K or 1.44M
To enable or disable the floppy disk controller, please use the BIOS Setup program. A floppy adapter cable is us ed to connect between the CN2 connector (16-pin 2.0mm housing) and the floppy disk drive. The following table illustrates the floppy adapter cable’s pin assignments.
AARR--BB11332222
1 3 5 7
9 11 13 15
$$
$$
$$
$$
$$
$$
$$
2
$
4 6
8 10 12 14 16
Figure 3-8 Floppy Adapter Cable Pin Assignments
CN2 34-PIN (Floppy Disk Drive) Function
5,11,16 1,3,5,7, 17, 27, 31, 33 Ground
1 2 -Reduce write current 2 8 -Index 4 16 -Motor enable A 3 12 -Drive select A 618 -Direction 7 20 -Step output pulse 822 -Write data
9 24 -Write enable 10 26 -Track 0 12 28 -Write protect 13 30 -Read data 14 32 -Side 1 select 15 34 -Disk cha nge
--- Else No Connect
Table 3-5 Floppy Pin Assignments
3-7
Page 26
3.12 SERIAL PORT CONNECTORS (CN3, CN4 & CN5)
These 3 connectors serve as the RS-232C/RS-485 ports for the COM-A port and the COM-B.
CN3 : RS-232C connector for the COM-A port
CN4 : RS-232C connector for the COM-B port
CN5 : RS-485 connector for the COM-A and COM-B
Before you connect the ser ial port conn ectors, ple ase refer to section 3.3 on ho w to set the SW 1 for your desired use.
ON
1 2
Figure 3-9 SW1: RS-232/RS-485 Select
3.12.1 RS-232C CONNECTORS (CN3 & CN4)
CN3 is the RS-232C- in terface connector of COM-A port and CN4 is the RS-232C connector f or the COM-B port. They are both 10-pin 2.54mm right angle headers. AR-B1322 provides two adapter cables to tr ans f er to th e PC/AT standard connector (DB 9 male). The next f igure and ta bl e show the adapter cable’s pin definitions.
AARR--BB11332222
12
$
$$
$$
$$
$$
9
10
1
DB9 Male
5
96
Figure 3-10 CN3 & CN4: RS-232C Connector
CN3 & CN4 Function DB9 Male
Pin 1 -DCD Pin 1 Pin 2 -DSR Pin 6 Pin 3 RXD Pin 2 Pin 4 -RTS Pin 7 Pin 5 TXD Pin 3 Pin 6 -CTS Pin 8 Pin 7 -DTR Pin 4 Pin 8 -RI Pin 9 Pin 9 GND Pin 5
Pin 10 Case Ground Case
3-8
Table 3-6 CN3 & CN4 Pin Assignments
Page 27
3.12.2 RS-485 CONNECTOR (CN5)
CN5 is used to connect the RS-485 interface for COM-A port and COM-B port. It’s pin assignments are shown below.
12
$
$$
$$
5
6
Figure 3-11 CN5: RS-485 Connector
3.12.3 RS-485 TERMINATOR (JP2 & JP3)
JP2 & JP3 are used to enable the RS-485 terminator resistor of COM-A and COM-B port respectively. T he value of the terminator resist or is 150 ohms. Close the jum per to enable the RS-485 terminator and leave the jumper open to disable it.
COMA COMB
1 485+ 2 485+ 3 485- 4 485­5 Case Ground 6 Case Ground
12
JP2 COMA
$
JP3 COMB
$
12
AARR--BB11332222
Figure 3-12 RS-485 Terminator
COM Port Jumper When “Open” When “Close” Factory Preset
COM-A JP2 Disabled Enabled Open COM-B JP3 Disabled Enabled Open
Table 3-7 JP2 & JP3: RS-485 Terminator
3-9
Page 28
3.13 HARD DISK CONTROLLER (CN6)
A 44-pin header type co nnec tor (CN6) is prov ided to i nterfac e with up to two em bedded hard d isk drives (IDE AT bus ). This interface, thro ugh a 44-p in cable, a llows the user to connec t up to t wo drives in a "da isy-chain" fashion. To enable or disable the hard disk controller, please use the BIOS Setup program . The following tab le illustrates the pin as signments of the har d disk drive's 44-pin connector.
AARR--BB11332222
-IDERST 1 D7 3 D6 5 D5 7 D4 9 D3 11 D2 13 D1 15 D0 17
Ground 19
Not Used 21
-IOW 23
-IOR 25
-IORDY 27
Not Used 29
IRQ14 31 HDA1 33 HDA0 35
-HDCS0 37
-HDLED 39 VCC 41
Ground 43
Figure 3-13 CN6: IDE Connector
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
$$
2 Ground
$
4D8 6D9 8D10 10 D11 12 D12 14 D13 16 D14 18 D15 20 Not Used 22 Ground 24 Ground 26 Ground 28 Not Used 30 Ground 32 -IO16 34 Not Used 36 HDA2 38 -HDCS1 40 Ground 42 VCC 44 Not Used
3-10
Page 29
AARR--BB11332222
3.14 PC/104 CONNECTOR (CN7 & CN8)
The AR-B1322 CPU bo ard has the stack -through expandable f eature. You ma y stack a PC/104 module from either the back side or front side of this board through the PC-104 connector.
2 64-Pin PC104 Bus A & B 64
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
11
2 40-pin PC 104 Connector Bus C& D
3.14.1 64 PIN PC/104 CONNECTOR – CN8 (BUS A & B)
% % % % % % % % % % % % % % % % % % %
% % % % % % % % % % % % % % % % % % % %
Figure 3-14 PC/104 Connector
12
39 63
0
440
-IOCHCK A1 SD7 A2 SD6 A3 SD5 A4 SD4 A5 SD3 A6 SD2 A7 SD1 A8 SD0 A9
-IOCHRDY A10 AEN A11
SA19 A12 SA18 A13 SA17 A14 SA16 A15 SA15 A16 SA14 A17 SA13 A18 SA12 A19 SA11 A20 SA10 A21
SA9 A22 SA8 A23 SA7 A24 SA6 A25 SA5 A26 SA4 A27 SA3 A28 SA2 A29 SA1 A30 SA0 A31
Ground A32
B1 Ground
%
B2 RSTDRV
% %
B3 +5 VDC
% %
B4 IRQ9
% %
B5 -5VDC
% %
B6 DRQ2
% %
B7 -12VDC
% %
B8 -ZWS
% %
B9 +12VDC
% %
B10 KEY
% %
B11 -SMEMW
% %
B12 -SMEMR
% %
B13 -IOW
% %
B14 -IOR
% %
B15 -DACK3
% %
B16 DRQ3
% %
B17 -DACK1
% %
B18 DRQ1
% %
B19 -Refresh
% %
B20 BUSCLK
% %
B21 IRQ7
% %
B22 IRQ6
% %
B23 IRQ5
% %
B24 IRQ4
% %
B25 IRQ3
% %
B26 -DACK2
% %
B27 TC
% %
B28 BALE
% %
B29 +5 VDC
% %
B30 OSC
% %
B31 Groun d
% %
B32 Groun d
% %
63 64
Figure 3-15 CN8: 64-Pin PC/104 Connector (Bus A & B)
3-11
Page 30
3.14.2 40 PIN PC/104 CONNECTOR - CN7 (BUS C & D)
12
Ground C1
-SBHE C2 LA23 C3 LA22 C4 LA21 C5 LA20 C6 LA19 C7 LA18 C8 LA17 C9
MEMW C10 /MEMR C11
SD8 C12
SD9 C13 SD10 C14 SD11 C15 SD12 C16 SD13 C17 SD14 C18 SD15 C19
KEY C20
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
% %
D1 Ground
%
D2 -MEM16 D3 -IOCS16 D4 IRQ10 D5 IRQ11 D6 IRQ12 D7 IRQ15 D8 IRQ14 D9 -DACK0 D10 DRQ0 D11 -DACK5 D12 DRQ5 D13 -DACK6 D14 DRQ6 D15 -DACK7 D16 DRQ7 D17 +5 VDC D18 -Master D19 Ground D20 Ground
39 40
Figure 3-16 CN7: 40-Pin PC/104 Connector (Bus C & D)
AARR--BB11332222
3-12
Page 31
3.14.3 PC/104 CHANNEL SIGNAL DESCRIPTION
Name I/O Description
BUSCLK [O ut put] The BUSCLK signal of t he I /O channel is asynchronous to the CP U clock. RSTDRV [ O ut put] This signal goes high during power-up, low line-voltage or hardware reset SA0 – SA19 [Input / Output] The System Address lines run from bit 0 to 19. They are latched onto the falling
edge of "BALE" LA17 - LA23 [Input / Output] The Unlatched Address line run from bi t 17 to 23 SD0 - SD15 [Input / Output] System Data bit 0 to 15 BALE [Output] The Buffered Address Latch Enable is used to latch SA0 - SA19 onto the f alling
edge. This signal is forc ed hi gh duri ng DMA cycles
-IOCHCK [I nput ] The I/O Channel Check is an ac tive low signal which indicates that a parit y error
exist on the I/O board IOCHRDY [Input, Open collector] This signal lengthens the I/O, or memory read/write cycle, and should be held low
with a valid address IRQ 3-7, 9-12, 14, 15
-IOR [Input / Output] The I/O Read signal is an active low signal which instructs the I/O device to drive
-IOW [Input / Out put] The I/O write signal is an active low signal which instructs the I/O device t o read
-SMEMR [Output] The System Memory Read is l o w while any of the l ow 1 Mbytes of memory are
-MEMR [Input / Output] The Memory Read signal is l ow while any memory location is being read
-SMEMW [Output] The Sys tem Memory Writ e i s low while any of the low 1 Mbytes of memory is
-MEMW [Input / Output] The Memory Write signal is low while any memory loc ation is being written DRQ 0-3, 5-7 [Input ] DMA Request channels 0 to 3 are for 8-bit data transfers. DMA Request channels
-DACK 0-3, 5-7 [Output ] The DMA Acknowledges 0 to 3, 5 to 7 are the corresponding acknowledge signals
AEN [Output] The DMA Address Enabl e i s high when the DMA controller is driving the address
-REFRESH [Input / Output] This signal is used to indicate a memory refresh cycle and can be driven by the
TC [Output] Terminal Count provides a pulse when the terminal count for any DMA channel is
SBHE [Input / Output] The System B us High Enable indicates the high byte S D8 - S D15 on the data bus
-MASTER [Input] The MASTER is the signal from the I/O proces sor which gains control as the
-MEMCS16 [Input, Open collector] The Memory Chip Sel ect 16 indicates that the present data transfer is a 1-wait
-IOCS16 [Input, Open collector] The I/O Chip Sel ect 16 indicates that the present data transfer is a 1-wait state,
OSC [Output] The Osc illator is a 14.31818 MHz signal
-ZWS [Input, Open collector] The Zero Wait State indicates t o the microprocessor that t he present bus cycle
[Input] The Interrupt Request signal indicates I/O service request attention. They are
prioritized in the following sequence : (Hi ghest) IRQ 9, 10, 11, 12, 13, 15, 3, 4, 5,
6, 7 (Lowest)
its data onto the data bus
data from the data bus
being used
being written
5 to 7 are for 16-bit data transfers . DMA request should be held high until the
corresponding DMA has been completed. DMA request priority is in the fo l l owing
sequence:(Highest) DRQ 0, 1, 2, 3, 5, 6, 7 (Lowest)
for DRQ 0 to 3 and 5 to 7
bus. It is low when the CPU is driving t he address bus
microprocessor on the I/O channel
reached
master and should be held low for a m aximum of 15 microseconds or system
memory may be los t due to the lack of refresh
state, 16-bit data m e mory operation
16-bit data I/O operation
can be completed without ins erting additional wait cycle
Table 3-8 I/O Channel Signal Description
AARR--BB11332222
3-13
Page 32
3.15 LED INDICATOR (LED1 & LED2)
AR-B1322 provides 2 on-board LEDs; one is power LED and the other is user-defined status LED. Both LEDs are located at the right-hand corner of the board next to the CN2 floppy connector.
LED1
LED2
AARR--BB11332222
3.15.1 POWER LED (LED1)
This LED indicates if the VCC(+5V) power is supplied or not.
3.15.2 STATUS LED (LED2)
This LED is designed f or the user to define. The LE D is driven by the square wave output pin of the RTC chip. You can activate, inactivat e, and change the f lash rates just by program ming the register of the RT C chip. Use diff erent flash rates to indicate different s tatus or operating modes . The I/O port address of index register is 70H and data register is 71h.
CN1
Figure 3-17 LED1/LED2 Position
CN2
CN6
(1) ACTIVE SQUARE WAVE OUTPUT (ACT_SQW)
Mov al, 0bh Out 70h, al In al,71h Or al,08h Xchg ah,al Mov al,0bh Out 70h, al Xchg ah,al Out 71h,al
(2) INACTIVE SQUARE WAVE OUTPUT
Mov al,0bh Out 70h,al In al,71h And al,0f7h Xchg ah,al Mov al,0bh Out 70h,al Xchg ah,al Out 71h,al
3-14
Page 33
AARR--BB11332222
(3) SET FLASH RATE
Mov ah,FR_Data ;Flash rate data in ah register Mov al,0ah Out 70h,al In al,71h And al,0f0h Or ah,al Mov al,0ah Out 70h,al Xchg ah,al Out 71h,al Act_Sqw ;Active square wave output
The following table illustrates the flash rate information.
FR-Data Flash Rate (Hz) Remark
0fh 2 0eh 4 0dh 8 0ch 16 0bh 32 0ah 64
00h-09h Reserved The flash rate is too fast to see
Table 3-9 Floppy Adapter Cable Pin Assignments
3.16 DiskOnModule
AR-B1322 provides the DiskOnModule function which is interfaced with the 44-pin hard disk connector. Align the pin 1 of the DiskOnModule with the hard disk connector; the module functions just like a hard disk.
3-15
Page 34
Page 35
4. BIOS CONSOLE
This chapter describes th e AR- B1322 BIOS menu and explains ho w to per f or m the common tasks required to get the system up and running, and it also presents detailed explanations of the elements found in each of the BIOS menu. The following topics are covered:
!
BIOS Setup Overview
! Standard CMOS Setup ! Advanced CMOS Setup ! Advanced Chipset Setup
!
Peripheral Setup
! Auto-Detect Hard Disks ! Password Setting ! Load Default Setting
!
BIOS Exit
! BIOS Update
4.1 BIOS SETUP OVERVIEW
BIOS is a program us ed to ini tia li ze and s e t up t he I/O system of the computer, whic h inc lud es th e ISA bus and connected devices such as the video display, diskette drive, and the keyboard. The BIOS provides a menu-based interfac e to the console subs ystem. The console subs ystem contains special sof tware, called firmware that interacts directly with the hardware components and facilitates interaction between the system hardware and the operating system.
The BIOS Default V al ues e ns ure th at the system will f unction at its normal c apa bi lity. In the worst situation the user may have corrupted the original settings set by the manufacturer. After the computer is turned on, the BIOS will perform a diagnostic checkout of the system and display the size of the memory that is being tested. Press the [Del] k ey to enter the BI OS Setup program, and then the main menu will show on the screen.
The BIOS Setup main menu includes some options. Us e the [Up /Do wn] arr o w ke y to highl igh t the option that you wish to m odify, and then press the [ Enter] ke y to assure the option and c onfigure the functions.
AARR--BB11332222
Figure 4-1 BIOS: Setup Main Menu
4-1
Page 36
CAUTION:
1) The factory-default settings are set according to the <Auto Configuration with Optimal Settings>. Acrosser recommends the user use the BIOS default settings unless he/she is very familiar with the setting functions, or contact the technical support engineer for service.
2) If the BIOS loses the settings, the CMOS will detect the <Auto Configuration with Fail Safe Settings> to boot the operating system. This option will reduce the performance of the system. Acrosser recommends to choose the <Auto Configuration with Optimal Settings> in the main menu. This option gives the best-configured values that should optimize the system performance.
3) The BIOS settings are described in detail in this section.
4.2 STANDARD CMOS SETUP
The <Standard CMOS Setup> option allows you to record some basic system hardware configuration and s et the s ystem clock and error ha nd lin g. If the CPU board is al read y i ns tal led in a working system, you will not need to select this option anymore.
AARR--BB11332222
Figure 4-2 BIOS: Standard CMOS Setup
DATE & TIME SETUP
Highlight the <Dat e> field and the n press the [Page Up] /[Page Do wn] or [+]/[-] keys to set the current date. Follow the month, day and year format. Highlight the <Tim e> field and then pres s the [Page Up] /[Page Do wn] or [+]/[-] k eys to set the current date. Follow the hour, minute and second format. The user can bypass the date and tim e prompts b y creating an AUTOEXEC.B AT file. For information on how to create this file, please refer to the MS-DOS manual.
FLOPPY SETUP
The <Standard CMOS Setup> option records the types of floppy disk drives installed in the system. To enter the config uration value for a par ticular drive, hi ghlight its correspon ding field and then s elect the drive type using the left-or right-arrow key.
4-2
Page 37
AARR--BB11332222
HARD DISK SETUP
The BIOS supports various types for the user settings. The BIOS supports <Pri Master> and <Pri Slave>, so the user can i nstall up to tw o hard disk s. For the m aster and s lave jum pers, please ref er to the hard disk’s installation descriptions and the hard disk jumper settings.
You can select <AUT O> under the <TYPE> and <M ODE> fields. This will enable au to detection of your IDE drives du ring bo ot- up. This will allo w you t o c hange your har d dis k dr ives (w ith the power of f ) and then power on without having to reconfigure your hard disk drive t ype. If you use older hard disk drives which do not support this feature, then you must configure the hard disk drive in the standard method as described above by the <USER> option.
BOOT SECTOR VIRUS PROTECTION
This option protects the boot sector and partition table of your hard disk against accidental modifications. Any attempt to write to them will cause the system to halt and display a warning message. If this occur s, you can either allow the operation to continue or use a bootable virus-free floppy disk to reboot and i nvestigate your system. The default setti ng is <Disabled>. This setting is recommended becaus e it c onflicts with a new oper ating s ystems . Install ation of n ew operat ing s ystem requires that you disable this to prevent write errors.
4-3
Page 38
4.3 ADVANCED CMOS SETUP
The <Advanced CMO S SE TU P> option consis ts of conf iguration entri es that allow you to im prove your system perform ance, or let you set up som e system features according t o your preference. Some entries here are required by the CPU board’s design to remain in their default settings.
AARR--BB11332222
Figure 4-3 BIOS: Ad vanced CMOS Setup
1ST BOOT DEVICE 2ND BOOT DEVICE 3RD BOOT DEVICE 4TH BOOT DEVICE
These options determ ine the priority of the bo otup devices which th e system looks for first to boot the system. According t o the def ault settin g, the s ystem sear ches the hard disk first, then the flopp y drive, and last the CDROM.
Available options: Disabled, IDE-0, IDE-1, ID E-2, ID E-3, Floppy, ARMD-FDD, ARMD-HDD, CDROM, SCSI, NETWORK
Note: When “NETWORK” is selected, the system will boot directly in the network system.
QUICK BOOT
This category speeds up Power On Self Test(POST ) after you power on the computer. If it is set to Enabled, BIOS will shoeten or skip some check items during POST.
Available options: Disabled, Enabled
BOOT FROM CARD DEVICE
Select Yes to boot up the s ystem from the SSD BIO S, and No to boot the system from the system’s onboard BIOS.
Available options: No, Yes
Note: It is recommended to configure this function at it’s default setting, Yes.
4-4
Page 39
AARR--BB11332222
TRY OTHER BOOT DEVICE
If you have other bootu p dev ice other than th e abo ve m entioned de vices , such a s IDE-0, I DE-1, IDE-3, IDE-4, Floppy, ARMD-FDD, ARMD-HDD, CDROM, SCSI, and Network, choose Yes. This device is
prior to the above devices mentioned above.
Available options: No, Yes
BOOTUP NUM-LOCK
This item is used t o activ ate the Num -Lock function u pon system boot. If the sett ing is o n, after a b oot, the Num-Lock light is lit, and user can use the number key.
Available options: On, Off
FLOPPY DRIVE SWAP
The option reverses the drive letter assignments of your floppy disk drives in the S wap A, B setting; otherwise leave on t he default setting of disabled (N o Swap). This works separ ately from the BIOS Features floppy disk swap feature. It is functionally the same as physically interchanging the connectors of the flo ppy disk drives. When <Enabled>, the BIOS swap flop py drive assignments so that Drive A becomes Drive B, and Drive B becomes Drive A under DOS.
Available options: Disabled, Enabled
FLOPPY DRIVE SEEK
If the <Floppy Drive Se ek> item is set to Enabled, the BIO S will seek the floppy <A> drive one tim e upon boot-up.
Available options: Disabled, Enabled
FLOPPY ACCESS CONTROL
This option determines the floppy access method, which can be either read only or normal (Read/write). When set to read onl y, the hard disk is allo wed to read instead of inst ead of being written. “ Normal” allows the floppy to be read and written.
Available options: Normal, Read only
HDD ACCESS CONTROL
This option determines the hard disk access method, which can be either read only or normal (Read/write). When set to read only, the hard disk is allowed to be read instead of being written. “Normal” allows the hard disk to be read and written.
Available options: Disabled, Enabled
TYPEMATIC RATE
This item specifies the speed at which a keyboard keystroke is repeated.
Available options: Fast, Slow
SYSTEM KEYBOARD
This function specifies that a keyboard is attached to the computer.
Available options: Absent, Present
PRIMARY DISPLAY
The option is used to set the type of video display card installed in the system.
Available options: Absent, VGA/EGA, CGA40x25, CGA80x25
4-5
Page 40
AARR--BB11332222
PASSWORD CHECK
This option enabl es pas swor d check ing ev er y time th e com puter is powered on or e very t im e the BIOS Setup is executed. If Always is chos en, a user pas sword prompt ap pears every tim e the computer is turned on. If Setup is chosen, the password prompt appears if the BIOS is executed.
Available options: Setup, Always
WAIT FOR ‘F1’ IF ERROR
AMIBIOS POST error messages are followed by:
Press <F1> to continue
If this option is s et to Disabled, the AMIBIO S does not wait for you to pr es s the <F1> key after a n err or message.
Available options: Disabled, Enabled
HIT ‘DEL’ MESSAGE DISPLAY
Set this option to Disabled to prevent the message as follows:
Hit Del if you want to run setup
It will prevent the message from appearing on the first BIOS screen when the computer boots.
Available options: Disabled, Enabled
C000, 32K SHADOW C800, 32K SHADOW D000, 32K SHADOW D800, 32K SHADOW E000, 32K SHADOW E800, 32K SHADOW
These options control the location of the contents of the 32KB of ROM beginning at the specified memory location. If no adapter ROM is us ing the n amed ROM area, this area is made availa ble to t he local bus. The settings are:
SETTING DESCRIPTION
Disabled The ROM is not copied to RAM. The contents of
the ROM can not be read from or written to shadow memory.
Enabled The contents of C0000h -EFFFFh are written to the
same address in system memory (RAM) for faster execution.
Table 4-1 Shadow Setting
4-6
Page 41
4.4 ADVANCED CHIPSET SETUP
This option controls the configuration of the b oard’s chipset. T he controlling ke ys for this screen are the same as the previous screen.
AARR--BB11332222
Figure 4-4 BIOS: Advanced Chipset Setup
AT BUS CLOCK
This option sets the polling clock speed of the ISA Bus (PC/104).
Available options: 14.318/2, PLCK2/3, PLCK2/4, PLCK2/5, PLCK2/6, PLCK2/8, PLCK2/10, PLCK2/12
NOTE: 1) PLCK means the CPU input clock.
2) Acrosser recommends the user set this function at the range from 7MHz to 10MHz.
SLOW REFRESH
This option sets the DRAM refresh cycle time.
Available options:15us, 60 us, 120us
RAS PRECHARGE TIME
This option sets the DRAM RAS precharge time.
Available options: 1.5T, 2.5T, 3.5T
RAS ACTIVE TIME INSERT WAIT
This option sets the DRAM time insert wait: RAS Active and CAS Precharge function setting.
Available options: Enable, Disable
CAS PRECHARGE TIME INSERT WAIT
Whenever memor y reads or writes, it wi ll ins ert 1T bet ween the fall ing e dges f or both RA SJ and CASJ , if D(4) of index 11h is set to high.
Available options: Enable, Disable
4-7
Page 42
AARR--BB11332222
MEMORY WRITE INSERT WAIT
This option sets the Memory Write Insert Wait.
Available options: Enable, Disable
ISA I/O HIGH SPEED
This option allows t he ISA car d to operate at hig her ATCLK during s pecific I/O ac cessing cycles. T he below table describes the frequency that it can improve.
High Frequency Normal Frequency (AT Bus Clock)
7.159 MHz 7.159 MHz PCLK2/2 PCLK2/3 PCLK2/3 PCLK2/4 PCLK2/4 PCLK2/5 PCLK2/5 PCLK2/6 PCLK2/6 PCLK2/8 PCLK2/8 PCLK2/10
PCLK2/10 PCLK2/12
Available options: Enable, Disable
ISA MEMORY HIGH SPEED
This option allows the I SA card to operate at high er ATCLK during spec ific memory access ing cycles. Same as ISA I/O High Speed, the above table describes the frequency that it can improve.
Available options: Enable, Disable
I/O RECOVERY/ I/O RECOVERY PERIOD
If I/O Recovery Feature options is enabled, the BIOS inserts a delay time between two I/O commands. The delay time is defined in I/O Recovery Period option.
Available options for I/O Recovery: Enable, Disable Available options for I /O Recovery Period : 0 us, 0.25 us, 0.50 u s, 0.75 us, 1.00 us, 1.25 us, 1.50 us, 1.75 us, 2.00 us, 2.25 us, 2.50 us, 2.75 us, 3.00us, 3.25us, 3.50 us
ON-CHIP I/O RECOVERY
This option enables the internal I/O recovery function for M6117C chipset.
Available options: Enabled, Disable
WATCH DOG TIMER OUTPUT CONTROL
This option selects the Watch Dog Timer period which is from 30 Seconds to 120 Seconds. The default value is Disabled which the Watch Dog Timer function disables.
Available options: 30 SEC, 45 SEC, 60 SEC, 75 SEC 90 SEC, 105 SEC, 120 SEC,
WATCH DOG TIMEOUT PERIOD TRIGGER SIGNAL
To configure this f unction, the user must s elect a period of time in the abo ve item to enable the W atch Dog Timer. The va lue, Reset, m eans to reset the s ystem every certain per iod of tim e. When another value, (either IRQ 3, IRQ4, IRQ9, IRQ10, IRQ11, IRQ12, or I RQ15) is selected, the Watch Dog Tim er will generate a pulse to trigger the device set to that IRQ every certain period of time.
Available options: IRQ3, IRQ4, IRQ9, IRQ10, IRQ11, IRQ12, IRQ15, RESET
4-8
Page 43
4.5 PERIPHERAL SETUP
This section is used to configure the peripheral features.
AARR--BB11332222
Figure 4-5 BIOS: Peripheral Setup
HARD DISK DELAY
If this option is s e t t o Disabled and the s yst em BIOS executes too f as t, t he res ult i s that th e BIO S c an ’t find the hard dis k drive. T heref ore, it is r ecom m ended to selec t a h ard disk dela y per iod to preve nt the BIOS from executing too fast.
Available options: 3 Sec, 5 Sec, 10 Sec, 15 Sec.
ONBOARD PRIMARY IDE
This option specifies the onboard IDE controller channels that will be used.
Available options: Enabled, Disabled
ONBOARD FDC
This option enables the floppy drive controller on the AR-B1322.
Available options: Enabled, Disabled
ONBOARD SERIAL PORT1
This option enables the serial port on the AR-B1322.
Available options: Disabled, 3F8h, 2F8h, 3E8h, 2E8h
ONBOARD SERIAL PORT1 IRQ
This option selects the IRQ for the onboard serial port1.
Available options: 3, 4, 5, 9
ONBOARD SERIAL PORT2
This option enables the serial port2 on the AR-B1322.
Available options: Disabled, 3F8h, 2F8h, 3E8h, 2E8h
4-9
Page 44
AARR--BB11332222
ONBOARD SERIAL PORT2 IRQ
This option selects the IRQ for the onboard serial port2.
Available options: 3, 4, 5, 9
ONBOARD PARALLEL PORT
This option configures the onboard the parallel port.
Available options: Auto, Disabled, 378, 278, 3BC
PARALLEL PORT MODE
This option specifies the parallel port mode. ECP and EPP are both bi-directional data transfer schemes that adhere to the IEEE P1284 specifications.
Available options: Normal, ECP,EPP
EPP VERSION
This option specifies the EPP version.
Available options: Normal, 1.9, 1.7
PARALLEL PORT IRQ
This option selects the IRQ for the parallel port IRQ.
Available options: 5, 7
PARALLEL PORT DMA CHANNEL
This option is only available when Parallel Port Mode option is set to ECP.
Available options: 0, 1, 3
4.6 AUTO-DETECT HARD DISKS
This option detects th e parameters of an IDE hard d isk drive, and autom atically enters them into the Standard CMOS Setup screen.
4.7 PASSWORD SETTING
This BIOS Setup has an optional password f eature. The system can be c onfigured so that all users must enter a pass word ever y time the s ystem boots or when BIOS Setup is executed. The user can set either a Supervisor password or a User password.
4.8 SETTING THE PASSWORD
Select the appropriat e password icon (Super visor or User) f rom the Security section of the BIOS Setup main menu. Enter the password and press [Enter]. The screen does not display the characters entered. Af ter the new password is entered, retype the n ew password as prompted and press [Enter].
If the password confirmation is incorrect, an error message appears. If the new password is entered without error, pr ess [Esc] to return to the BIO S Main Menu. The password is stored in CMOS RAM after BIO S completes. The next time the s ystem boots, you are prompted for the password.
Enter new supervisor password:
4-10
Page 45
4.8.1 CHECKING THE PASSWORD
The password check option is enabled in Advanced Setup by choosing either Always (the password prompt ap pears every tim e the system is po wered on) or Setup (the password prom pt appears only when BIOS is run). The password is stored in CMOS RAM. You can enter a password by typing on the keyboard and select Supervisor or User. The BIOS prompts for a password; you must s et the Supervisor password before you c an set th e Us er pas s word. Ent er 1­6 character as pas sword. The pass word does not ap pear on the scr een when t yped. Make sur e you write it down.
4.9 LOAD THE DEFAULT SETTING
This section permits you to select a group of settings for all BIOS Setup options. Not only can you use these items to quickly set system configuration parameters, you can choose a group of settings that have a better chance of working when the system is having configuration related problems.
4.9.1 AUTO CONFIGURATION WITH OPTIMAL SETTING
You can load the optimal default settings for the BIOS. The Optimal default settings are best-case values that shou ld opt imize system perf ormance. If CMOS RAM is c or rupted, the optimal s ettin gs are loaded automatically.
Load high performance settings (Y/N)?
AARR--BB11332222
4.9.2 AUTO CONFIGURATION WITH FAIL SAFE SETTING
You can load the Fail-Saf e BIOS Setup option settings b y selecting t he Fail-Safe item from the Default section of the BIOS Setup main menu. The Fail-Safe settings provide far from optimal system performance, but are the most stable settings. Use this option as a diagnostic aid if the system is behaving erratically.
Load failsafe settings (Y/N)?
4.10 BIOS EXIT
This section is used to ex it the BIOS main menu in two situations . After making your changes, you can either save them or exit the BIOS menu and without saving the new values.
4.10.1 SAVE SETTINGS AND EXIT
Select this item so that the <Standard CMOS Setup>, <Advanced CMOS Setup>, <Advanced Chipset Setup> and th e new pass word (if it has been change d) will be s tored in the C MOS. T he CMOS checksum is calculated and written into the CMOS.
As you select this functio n, the f ollowing m essage will appear at the cent er of the sc reen to assis t you to save data to CMOS and Exit the Setup.
Save current settings and exit (Y/N)?
4-11
Page 46
4.10.2 EXIT WITHOUT SAVING
When you select this opt ion, the foll owing m essage will app ear at the center of the scr een to help to Abandon all Data and Exit Setup.
Quit without saving (Y/N)?
4.11 BIOS UPDATE
The BIOS program ins tructions are contained withi n the computer chips called F LASH ROM that is located on your system board. T he chip can be el ectronically reprogram med, allowing you to upgrade your BIOS firmware without removing and re-installing it.
The AR-B1322 provides a FLASH BIOS update f unction for you to easily upgrad e to a new BIOS version. Please follow the operating steps to update a new BIOS:
Step 1: Turn on your system in DOS mode. Press [F5] so the system will not excute the
CONFIG.SYS and AUTOEXEC.BAT files (See Note1 below). Keep your system in the
real mode. Step 2: Insert the provided utility diskette into the floppy disk drive. Step 3: In the MS-DOS mode, you can type the AMIFLASH program.
A:\>AMIFLASH FILENAME /B Step 4: The screen will show the message as follows:
Enter the BIOS’ File name for which the Flash EPROM will be programmed. Press
<ENTER> after inserting the file name or press <ESC> to exit. Step 5: And then enter the file name to the <Enter File Name> box. And the <Message> box will
show the notice as follows. In the bottom of this window, it always shows the gray
statement.
Flash EPROM Programming is going to start. System will not be
usable until Programming of Flash EPROM is successfully complete.
In case of any error, existing Flash EPROM must be replaced by new
program Flash EPROM.
Step 6: When the above statement disappers, press the <Y> key to update the new BIOS.
And then the <Message> box will show the <Programming Flash EPROM>, and the gray
statement shows <Please Wait>. Step 7: When the BIOS update is finished, the message will show <Flash Update Completed -
Pass>.
Note: If the system doesn’t detect the boot procedure after turning on the computer, please press the [F5] key immediately. The system will pass the CONFIG.SYS and AUTOEXEC.BAT files. .
AARR--BB11332222
4-12
Page 47
5. SYSTEM INSTALLATION
This chapter describes the installation procedure. The following topics are covered:
5.1 OVERVIEW
This chapter prov ides inf orm ation f or you to set u p a work ing s ystem based o n the AR-B322 CPU board. Please carefully read the details of the CPU board’s hardware descriptions before installation. Pay special attention to the jumper settings, switch settings and cable connections.
Follow the steps listed below for proper installation:
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:
Step 8:
Step 9:
Step 10:
Overview Utility Diskettes Watchdog Timer
Read the CPU board’s hardware description in this manual.
Set the jumpers.
Make sure that the power s upply connected to your AR-B1322 C PU board is turned
off.
Connect all necessary cables. Make sure that the FDC, HDC, serial and parallel
cables are connected to pin 1 of the related connector (not upside down).
Connect the hard disk/floppy disk flat cables from the CPU board to the drives.
Connect a power source to each drive.
Plug the keyboard into the keyboard connector.
Turn on the power.
Configure your system with the BIOS Setup program (section 6) then re-boot your
system.
If the CPU board d oes not work, turn off the power and careful ly read the hardware
description again.
If the CPU board still does not perform properly, return the board to your dealer for
immediate service.
AARR--BB11332222
5.2 UTILITY DISKETTE
There is a util ity diskette included in th e package. It contains the network driver and watc hdog timer programming files.
5-1
Page 48
5.2.1 NETWORK UTILITY
There is an aut o-extract files for the n etwork utilit y for WIN 31 and DOS operating s ystems. You must extract the f iles in DO S mode with the enclosed PKU NZ IP. EZE pr o gram. Type in the full f ile name and press enter; the file will then self extract.
Step 1. Use the enclosed PKUNZIP.EXE program to decom press the file in the DO S mode, and
use the command as below:
For Example
C:\>MD NET C:\>CD NET C:\NET>COPY A:\PKUNZIP.EXE C:\NET C:\NET>COPY A:\UM9008.ZIP C:\NET C:\NET>PKUNZIP -D UM9008.ZIP
Step 2. Then enter the operation system as the installation processes. Please refer to the
decompressive file. There is the README file in every sub-directory, and has detail description for using the drivers.
Note: There is the R EA D ME f il e in ev ery s ub-d ir ec tory , an d has d eta il ed des c ript i ons for us i ng the drivers.
AARR--BB11332222
5.2.2 WATCHDOG TIMER
This section describes how to use, disable, enable, and trigger the watchdog timer.
The utility diskette includes the watchdog utility files, “WD6117C.EXE” and “WD6117C.CPP.” “WD6117C.EXE” demonstrates how to set\ enable\ trigger\ disable the watchdog timer. “WD6117C.CPP” is the source file of the “WD6117C.”
5.2.2.1 WATCHDOG TIMER SETTING
The watchdog tim er is a circuit th at may be used b y your program s oftware to detect cr ashes or hang-ups. The watchdog timer is automatically disabled after reset.
Once you have enabled the watchdog t imer, your pro gram m ust trigger the watchdog tim er every time before it tim es out. After you trigger the watchdog timer, it will be set to zero and start to count again. If your program fails to tr igger the watc hdog tim er before tim e-out, it will generate a reset pulse to reset the system or trigger an IRQ or NMI signal to tell your program that the watchdog has timed o ut. The time-out per iod can be programm ed to be from 30.5μseconds to
512 seconds with 30.5μseconds per step. The following is the watchdog timer register:
Index 37H : WD Enable Register Index 38H : WD Report Register Index 39H, 3AH, 3BH : WD 24-bit Timer Counter Index 3CH : WD Status Register
5-2
Page 49
5.2.2.2 WD ENABLE REGISTER - INDEX 37H
This register is used to enable or disable the watchdog timer.
Bit 7 Reserved. Please don not set this bit. In old version M6117C data sheet, this bit is
counter read mode. Bit 6=0 Disable watchdog timer Bit 6=1 Enable watchdog timer Bit 5-0 Other function. Please do not modify these bits.
5.2.2.3 WD REPORT REGISTER - INDEX 38H
This register is used to select the watchdog report when the watchdog times out.
Bit 7-4 Watchdog Timer Time-out Report Signal Select
0000 No output signal 0001 IRQ3 selected 0010 IRQ4 selected 0011 IRQ5 selected 0100 IRQ6 selected 0101 IRQ7 selected 0110 IRQ9 selected 0111 IRQ10 selected 1000 IRQ11 selected 1001 IRQ12 selected 1010 IRQ14 selected 1011 IRQ15 selected 1100 NMI selected 1101 System reset selected 1110 No output signal 1111 No output signal
Bit 3-0 Other function. Please do not modify these bits.
Note 1):If you program the watchdog to generate an IRQ signal when it times out, you should initialize
the IRQ interrupt vector and enable the second interrupt controller (8259 PIC) in order to enable the CPU to process this interrupt. An interrupt service routine is required too.
2) Before you initial the interrupt vector of the IRQ and enable the PIC, please enable the watchdog timer previously, otherwise the watchdog timer will generate an interrupt at the time the watchdog timer is enabled.
AARR--BB11332222
5.2.2.4 WD TIMER COUNTER(24 BITS) - INDEX 39H, 3AH, AND 3BH
These registers are used to set the desired counter for the watchdog to count down. The time base of each count is 30.5µsec.
INDEX 3Bh 3Ah 39h
Data Bit D7…D0 D7…D0 D7…D0
24-bit Counter D23…D16 D15…D8 D7…D0
5-3
Page 50
For example:
INDEX
3Bh 3Ah 39h
00h 00h 01h 00h 00h 02h
Watchdog Timer
30.5 μsec
61.0 μsec
00h 01h 00h 7.8 m sec 00h 02h 00h 15.6 m sec 01h 00h 00h 2 sec 02h 00h 00h 4 sec
0FFh 0FFh 0FFh 512 sec
5.2.2.5 TIMEOUT STATUS & RESET WATCHDOG - INDEX 3CH
Bit 7(read only)
0: Timer timeout not happened 1: Timer timeout happened
Bit 5 Write this bit “1” to reset timer
The value on this bit has no meaning.
Bit 6, Bit 4-0 Other function. Please do not modify these
bits.
AARR--BB11332222
5.2.2.6 PROGRAMMING WATCHDOG - BASIC OPERATION
If you would like to acc ess the M 6117C c onfigur ati on regis ter, you need t o unloc k the reg ister f irst and lock it again after finishing the operation.
(1) UNLOCK CONFIGURATION REGISTER
Mov al, 13h Out 22h, al Nop Nop Mov al, 0c5h Out 23h, al Nop Nop
(2) LOCK CONFIGURATION REGISTER
Mov al, 13h Out 22h, al Nop Nop Mov al, 00h Out 23h, al Nop Nop
5-4
Page 51
(3) READ THE VALUE IN THE CONFIGURATION REGISTER
Example 1: Read data from INDEX 3Ch
Unlock_Cfg_Reg ;Unlock configuration register Mov al, 3ch ;Points to index 3ch Out 22h, al Nop Nop In al, 23h ;Read out Nop Nop Push ax ;Save to stack Lock_Cfg_Reg ;Lock configuration register Pop ax ;Restore ax and result in al register
(4) WRITE DATA TO CONFIGURATION REGISTER
Example 1: Write data 68h to INDEX 3Bh
Unlock_Cfg_Reg ;Unlock configuration register Mov al, 3bh ;Points to index 3bh Out 22h, al Nop Nop Mov al, 68h Out 23h, al ;Write data Nop Nop Lock_Cfg_Reg ;Lock configuration register
if the function of WATCHDOG is applied,please follow the following instruction to write the command at
(5)
the first line of the config.sys file.
In order to avoide LAN error.
DEVICE=C:\INIT9008.SYS
AARR--BB11332222
5-5
Page 52
Page 53
A. APPENDIX
A-1 SPECIFICATIONS
CPU & Chipset: Bus Interface: DRAM: Serial Port:
IDE: Flash Disk Floppy: Parallel Port
Keyboard & Mouse: Speaker: Real Time Clock: BIOS: DMA Channels: Interrupt Levels: Bus Speed: Watchdog: Ethernet LED Indicator: Power Connector: Power Req.: Operating Temp.: Storage Temp.: Humidity: PC Board: Dimensions: Weight:
ALI M6117C, 25/33/40 MHz (33 MHz as standard) Stack-through PC/104 bus Up to 4MB with 2 MB on-board 2 full RS-232C ports with 10-pin header, or
2 RS-485 ports for twisted pair multi-drop use One 44-pin 2.0 mm connector supports 2 IDE drives
Supports vertical or horizontal- type 44-pin DiskOnModule One floppy drive with a 6-pin 2.0mm connector Support 1 SPP/EPP/ECP mode printer port with the 26-pin 2.0mm
connector. PS/2 compatible with 6-pin 2.0mm JST connector
External speaker with one 2-pin header M48T86PC1 or compatible chips AMI flash BIOS 7 DMA channels 15 vectored interrupt levels
7.159MHz (default) Programmable watchdog timer 10 Base-T NE2000 compatible with 7-pin 2.5mm JST connector Power LED 4-pin (2.5mm) power connector (+5V, GND, GND, +12V) +5V only, 1.0A maximum (Based on 33 MHz CPU) 0 to 60 degrees. C (140 degrees. F)
-25 to 85 degrees. C 0 to 95% (non-condensing) 6 layers
90.2mmX95.9mm (3.55”X3.775”) 120g
AARR--BB11332222
A-1
Page 54
A-2 BOARD DIMENSIONS
AARR--BB11332222
321
3775
500
350
2900
200
125*5
2405
2380
200
200 250
3150
3550
Unit: mil (1 inch=1000 mil)
A-2
Page 55
A-3 PROGRAMMING THE RS-485
The majority of the com municat ive operati ons of the RS-485 ar e the sam e as the RS- 232. W hen the RS-485 proceeds with the transmission which needs to control the DTR(TXC) signal, the installation steps are as follows:
Step 1: Enable DTR (Data Terminal Relay) Step 2: Send out data Step 3: Wait for data to empty Step 4: Disable DTR
NOTE: Please refe r to the section of the “ Serial Port” in the chapt er “System Controller” for the detailed description of the COM port’s registers.
(1) INITIALIZING THE COM PORT
Step 1: Initialize the COM port in the receiver interrupt mode, and /or transmitter interrupt mode. (All
of the communication protocol buses of the RS-485 are the same.)
Step 2: Disable DTR (Data Terminal Relay) the bit 0 of the address of offset+4 just sets to “0”.
➥➥➥➥NOTE:
Control the AR-B1322 CPU card’s DTR signal to enable/disable the RS-485’s TXC communication.
AARR--BB11332222
(2) SEND OUT ONE CHARACTER (TRANSMIT)
Step 1: Enable the DTR signal, and the bit 0 of the address of offset+4 just sets to “1”. Step 2: Send out the data. (Write this character to the offset+0 of the current COM port address) Step 3: Wait for the buffer’s data to empty. Check the transmitter holding register (THRE, bit 5 of
the address of offset+5), and transmitter shift register (TSRE, bit 6 of the address of offset+5) so that all sets are set to “0”.
Step 4: Disable the DTR signal, and the bit 0 of the address of offset+4 sets to “0”
(3) SEND OUT ONE BLOCK DATA (TRANSMIT – THE DATA CAN BE MORE THAN TWO
CHARACTERS LONG)
Step 1:
Step 2:
Step 3:
Step 4:
Enable the DTR signal, and the bit 0 of the address of offset+4 just sets to “1”. Send out the data. (Write all data to the offset+0 of the current COM port address) Wait for the buffer’s data to empty. Check the transmitter holding register (THRE, bit 5 of
the address of offset+5), and transmitter shift register (TSRE, bit 6 of the address of offset+5) so that all sets are set to “0”.
Disabled DTR signal, and the bit 0 of the address of offset+4 sets to “0”
A-3
Page 56
(4) RECEIVE DATA
The RS-485 operation of receiving data is the same as RS-232’s.
(5) BASIC LANGUAGE EXAMPLE
a.) Initial 86C450 UART
10 OPEN “COM1:9600,m,8,1”AS #1 LEN=1 20 REM Reset DTR 30 OUT &H3FC, (INP(%H3FC) AND &HFA) 40 RETURN
b.) Send out one character to COM1
10 REM Enable transmitter by setting DTR ON 20 OUT &H3FC, (INP(&H3FC) OR &H01) 30 REM Send out one character 40 PRINT #1, OUTCHR$ 50 REM Check transmitter holding register and shift register 60 IF ((INP(&H3FD) AND &H60) >0) THEN 60 70 REM Disable transmitter by resetting DTR 80 OUT &H3FC, (INP(&H3FC) AND &HEF) 90 RETURN
c.) Receive one character from COM1
10 REM Check COM1: receiver buffer 20 IF LOF(1)<256 THEN 70 30 REM Receiver buffer is empty 40 INPSTR$” 50 RETURN 60 REM Read one character from COM1: buffer 70 INPSTR$=INPUT$(1,#1) 80 RETURN
AARR--BB11332222
A-4
Loading...