AR-B1320 User’s Guide AR-B1320 PC/104 386SX CPU BOARD User’s Guide Edition: 1.3 Book Number: AR-B1320-02.
AR-B1320 User’s Guide Copyright Notice and Disclaimer August 1999 This document is copyrighted, 1999, by Acrosser Technology Co., Ltd. All rights are reserved. No part of this manual may be reproduced, copied, transcribed, stored in a retrieval system, or translated into any language or computer language in any form or by any means, such as electronic, mechanical, magnetic, optical, chemical, manual or other means without the prior written permission of original manufacturer.
AR-B1320 User’s Guide Table of Contents 0. PREFACE ............................................................................................................................................... V 0.1 0.2 0.3 0.4 0.5 0.6 1. OVERVIEW.......................................................................................................................................... 1-1 1.1 1.2 1.3 2. INTRODUCTION........................................................................................................
AR-B1320 User’s Guide 3.15.3 3.15.4 3.15.5 3.16 USING THE FLASH DISK ........................................................................................................ 3-16 3.16.1 3.16.2 3.16.3 4. SSD Configuration................................................................................................................................3-17 Software Programming.........................................................................................................................
AR-B1320 User’s Guide 0. PREFACE 0.1 WELCOME TO THE AR-B1320 CPU BOARD This guide introduces the Acrosser AR-B1320 CPU board. The following information provided in this manual describes this card’s functions and features. It also helps you start, set up and operate your AR-B1320. General system information can also be found in this publication. 0.2 BEFORE YOU USE THIS GUIDE Please refer to Chapter 3, “Setting System,” in this guide, if you have not already installed ARB1320.
AR-B1320 User’s Guide 0.5 ORGANIZATION This information covers the following topics (see the Table of Contents for a detailed listing): ! ! ! ! ! 0.6 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.
AR-B1320 User’s Guide 1. OVERVIEW This chapter provides an overview of your system features and capabilities. The following topics are covered: ! ! ! 1.1 Introduction Packing List Features INTRODUCTION The AR-B1320, PC/104 CPU module is a lower power consuming, high performance 386 based computer. By using the space-saving features of the ALI M6117C CPU, this module is able to support up to 4MB of DRAM and 1.5 MB of Flash memory on board.
AR-B1320 User’s Guide 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. ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! 1-2 80386SX-40 MHz CPU PC/104 extension bus System of up to 4MB DRAM (2 MB already on-board) Supports 2 RS-232C/RS-485 serial ports PC/AT compatible keyboard interface Supports up to 1.
AR-B1320 User’s Guide 2. SYSTEM CONTROLLER This chapter describes the major structure. The following topics are covered: ! ! ! ! ! ! ! ! ! ! ! 2.1 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 MICROPROCESSOR The AR-B1320 uses the ALI M6117C CPU; it is designed to perform like Intel’s 386SX-based system with deep green features.
AR-B1320 User’s Guide 2.3 DRAM CONFIGURATION There are two 16-bit memory banks on the AR-B1320 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: U15 (On-Board) EDO 1Mx16 EDO 1Mx16 2.
AR-B1320 User’s Guide 2.
AR-B1320 User’s Guide 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 provide vectors which are used as acceptance indexed by the CPU to determine which interrupt service routine should be executed.
AR-B1320 User’s Guide 2.7 SERIAL PORTS The ACEs (Asynchronous Communication Elements ACE1 and ACE2) are used to convert the parallel data to a serial format on the transmit side and convert the serial data to parallel on the receiver side. The serial format, in order of transmission and reception, is a start bit, followed by five to eight data bits, a parity bit (if programmed) and one, one and half (five-bit format only) or two stop bits.
AR-B1320 User’s Guide (5) Line Control Register (LCR) Bit 0: Word Length Select Bit 0 (WLS0) Bit 1: Word Length Select Bit 1 (WLS1) WLS1 0 0 1 1 WLS0 0 1 0 1 Word Length 5 Bits 6 Bits 7 Bits 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: Divisor Latch Access Bit (DLAB) (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
AR-B1320 User’s Guide (9) Divisor Latch (LS, MS) Byte Data Bit 0: Bit 1: Bit 2: Bit 3: Bit 4: Bit 5: Bit 6: Bit 7: Desired Baud Rate 50 75 110 134.5 150 300 600 1200 1800 2000 2400 3600 4800 7200 9600 14400 19200 28800 38400 57600 115200 LS Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 MS Bit 8 Bit 9 Bit 10 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15 Divisor Used to Present Error Difference Generate 16x Clock Between Desired and Actual 2304 --1536 --1047 0.026 857 0.058 768 --384 --192 --96 --64 --58 0.
AR-B1320 User’s Guide (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.
AR-B1320 User’s Guide 2.9 TIMER The AR-B1320 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.
AR-B1320 User’s Guide 2.10 REAL-TIME CLOCK AND NON-VOLATILE RAM The AR-B1320 contains a real-time clock compartment that maintains the date and time in addition to storing configuration information about the computer system. It contains 14 bytes of clock and registers and 114 bytes of general purpose RAM. Because of the use of CMOS technology, it consumes very little power and can be maintained for long periods of time using an internal lithium battery.
AR-B1320 User’s Guide 2.11 WATCHDOG TIMER The AR-B1320 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 program to enable the watchdog timer. Once you have enabled the watchdog timer, the program should trigger it every time before it times out.
AR-B1320 User’s Guide 3. SETTING 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 jumper blocks. (A jumper block is a small plastic-encased conductor that slips over the pins.
AR-B1320 User’s Guide 3.1 BOARD LAYOUT The AR-B1320 is a small, easy to use, all-in-one 386SX grade CPU board with 2 RS-232/RS-485 ports and a flash disk. Below is the AR-B1320 board layout. CN1 CN2 2 1 1 CN3 U2 [M1] 2 2 U3 BIOS 6 OFF U5 [M2] 1 J3 J4 CN6 2 U12 2 SSD/DOC 1 J3 J4 SW1 1 CN5 J1 U1 12 34 56 2 CN4 J1 STS 4 1 CN5 PWR 44 43 JP1 JP1 JP2 JP2 JP3 JP3 16 15 2 CN3 1 CN4 LED1 LED2 2 1 2 1 J2 1 CN8 2 64 1 63 J5 1 1 39 2 40 AR-B1320 VER:1.
AR-B1320 User’s Guide Name JP1 JP2 JP3 SW1 J1 J2 J3 J4 J5 CN1 CN2 CN3 CN4 CN5 CN6 CN7 CN8 LED1 LED2 U1 U2 U5 U12 Function CPU base clock select RS-485 terminator select (COM-A) RS-485 terminator select (COM-B) Switch 1 The base I/O address of SSD selector Switch 2 The memory segment of SSD selector Switch 3 The memory segment of DiskOnChip selector Switch 4 Reserved Switch 5 COM-A port mode selector Switch 6 COM-B port mode selector External power and hard disk LED header Keyboard connector Reset header
AR-B1320 User’s Guide 3.2 CPU BASE CLOCK SELECT (JP1) This board provides six types of CPU input clocks; they are 33.3MHz, 50MHz, 60MHz, 66.7MHz, 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 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 75MHz 37.
AR-B1320 User’s Guide 3.5 KEYBOARD CONNECTOR (J2) The J2 is a 6-pin 2.0mm JST connector. Use the keyboard adapter cable to connect a PS/2 type keyboard. The following shows the pin assignment of the adapter cable. J2 1 Reserved 2 KB Data 3 GND 4 VCC 5 Reserved 6 KB Clock 6 Pin Mini-Din 1 2 1 3 2 3 4 5 5 6 1 2 4 3 6 4 5 6 DATA N.C. GND VCC CLOCK N.C. Figure 3-4 J2: Keyboard Connector 3.6 RESET HEADER (J3) The J3 is used to connect to an external reset switch.
AR-B1320 User’s Guide 3.8 POWER CONNECTOR (J5) The J5 is a 4-pin, 2.5mm, right angle JST connector; you can directly connect the DC power source to J5 for stand-alone applications. 1 2 3 4 1: VCC (+5V) 2: GND 3: GND 4: +12V J5 Front View Figure 3-7 J5: Power Connector 3.9 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).
AR-B1320 User’s Guide 3.10 FLOPPY CONNECTOR (CN2) The AR-B1320 provides 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 used to connect between the CN2 connector (16-pin 2.0mm housing) and the floppy disk drive.
AR-B1320 User’s Guide 3.11.1 RS-232C CONNECTORS (CN3 & CN4) CN3 is the RS-232C- interface connector of COM-A port and CN4 is the RS-232C connector for the COM-B port. They are both 10-pin 2.54mm right angle headers. AR-B1320 provides 2 adapter cables to transfer to the PC/AT standard connector (DB9 male).
AR-B1320 User’s Guide 3.11.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. The value of the terminator resistor is 150 ohms. Close the jumper to enable the RS-485 terminator and leave the jumper open to disable it. 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.
AR-B1320 User’s Guide 3.13 PC/104 CONNECTOR (CN7 & CN8) The AR-B1320 CPU board has the stack-through expandable feature. You may stack a PC/104 module from either the backside or front side of this board through the PC-104 connector. 3.13.
AR-B1320 User’s Guide 3.13.3 PC/104 CHANNEL SIGNAL DESCRIPTION Name I/O Description BUSCLK [Output] The BUSCLK signal of the I/O channel is asynchronous to the CPU clock. RSTDRV [Output] 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.
AR-B1320 User’s Guide 3.14 LED INDICATOR (LED1 & LED2) AR-B1320 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. 3.14.1 POWER LED (LED1) This LED indicates if the VCC(+5V) power is supplied or not. 3.14.2 STATUS LED (LED2) This LED is designed for the user to define. The LED is driven by the square wave output pin of the RTC chip.
AR-B1320 User’s Guide The following table illustrates the flash rate information. FR-Data 0fh 0eh 0dh 0ch 0bh 0ah 00h-09h 3.15 Flash Rate (Hz) 2 4 8 16 32 64 Reserved Remark The flash rate is too fast to see USING THE WATCHDOG TIMER This section describes how to use, disable, and enable the watchdog timer. 3.15.1 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.
AR-B1320 User’s Guide 3.15.2 WD REPORT REGISTER - INDEX 38H This register is used to select the watchdog report when the watchdog times out.
AR-B1320 User’s Guide 3.15.4 TIMEOUT STATUS & RESET WATCHDOG - INDEX 3CH Bit 7(read only) Bit 6 Bit 0-5 0: Timer timeout not happened 1: Timer timeout happened Write this bit “1” to reset timer The value on this bit has no meaning. Other function. Please do not modify these bits. 3.15.5 PROGRAMMING WATCHDOG - BASIC OPERATION If you would like to access the M6117C configuration register, you need to unlock the register at first and lock it again after finishing the operation.
AR-B1320 User’s Guide (4) Write Data to Configuration Register Example 1: Write data 68h to INDEX 3Bh Unlock_Cfg_Reg Mov al, 3bh Out 22h, al Nop Nop Mov al, 68h Out 23h, al Nop Nop Lock_Cfg_Reg ;Unlock configuration register ;Points to index 3bh ;Write data ;Lock configuration register Note: The utility diskette includes the watchdog utility files, “WD6117C.EXE” and “WD6117C.CPP.” “WD6117C.EXE” demonstrates how to set\ enable\disable the watchdog timer. “WD6117C.CPP” is the source file of the “WD6117C.
AR-B1320 User’s Guide 3.16.1 SSD CONFIGURATION The SSD function enables you to use 5V FLASH, allowing you to directly program the flash without having to purchase any additional programming equipment to write or erase data. You can format the flash disk and copy files onto flash disk just like using a floppy disk. If you would like to update 1 or more files to the flash disk, you just copy these files onto the flash disk, you don’t need to re-program the flash disk.
AR-B1320 User’s Guide 3.16.3 3-18 DISKONMODULE AR-B1320 provides 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.
AR-B1320 User’s Guide 4. BIOS CONSOLE This chapter describes the AR-B1320 BIOS menu and explains how to perform 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: ! ! ! ! ! ! ! ! ! ! 4.
AR-B1320 User’s Guide CAUTION: 1) The factory-default settings are set according to the . 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 to boot the operating system. This option will reduce the performance of the system.
AR-B1320 User’s Guide Hard Disk Setup The BIOS not only supports various types for the user settings but also supports and , so the user can install up to two hard disks. For the master and slave jumpers, please refer to the hard disk’s installation descriptions and the hard disk jumper settings. You can select under the and fields. This will enable auto detection of your IDE drives during boot-up.
AR-B1320 User’s Guide 4.3 ADVANCED CMOS SETUP The option consists of configuration entries that allow you to improve your system performance, or let you set up some system features according to your preference. Some entries here are required by the CPU board’s design to remain in their default settings.
AR-B1320 User’s Guide BootUp Num-Lock This item is used to activate the Num-Lock function upon system boot. If the setting is on, after a boot, 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 Swap A, B setting; otherwise leave on the default setting of disabled (No Swap). This works separately from the BIOS Features floppy disk swap feature.
AR-B1320 User’s Guide C000, 32k C800, 32k D000, 32k D800, 32k Shadow Shadow Shadow Shadow These options control the location of the contents of the 16KB of ROM beginning at the specified memory location. If no adapter ROM is using the named ROM area, this area is made available to the 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.
AR-B1320 User’s Guide 4.4 ADVANCED CHIPSET SETUP This option controls the configuration of the board’s chipset. The controlling keys for this screen are the same as the previous screen. 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.
AR-B1320 User’s Guide 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 us, 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.
AR-B1320 User’s Guide 4.5 PERIPHERAL SETUP This section is used to configure the peripheral features. Figure 4-5 BIOS: Peripheral Setup Hard Disk Delay If this option is set to Disabled and the system BIOS executes too fast, the result is that the BIOS can’t find the hard disk drive. Therefore, it is recommended to select a hard disk delay period to prevent the BIOS from executing too fast. Available options: 3 Sec, 5 Sec, 10 Sec, 15 Sec.
AR-B1320 User’s Guide 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. Parallel Port IRQ This option selects the IRQ for the parallel port IRQ.
AR-B1320 User’s Guide 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.
AR-B1320 User’s Guide 4.11 BIOS UPDATE The BIOS program instructions are contained within the computer chips called FLASH ROM that is located on your system board. The chip can be electronically reprogrammed, allowing you to upgrade your BIOS firmware without removing and re-installing it. The AR-B1320 provides a FLASH BIOS update function for you to easily upgrade to a new BIOS version. Please follow the operating steps to update new BIOS: Step 1: Turn on your system in DOZ mode.
AR-B1320 User’s Guide 5. 5.1 APPENDIX SPECIFICATIONS CPU & Chipset: ALI M6117C, 33/40 MHz Bus Interface: PC/104 bus DRAM: Up to 4MB with 2 MB on-board Serial Port: DiskOnChip 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 44 pin /2.0 mm connector compatible with the IDE connector Supports from 2 MB to 144 MB Floppy: One floppy drive with a 6-pin 2.
AR-B1320 User’s Guide 5.
AR-B1320 User’s Guide BOARD DIMENSIONS 350 75 1350 1500 300 200 321 125*5 2405 1550 1150 210 500 200 2380 3625 3775 5.
AR-B1320 User’s Guide 5.4 PROGRAMMING THE RS-485 The majority of the communicative operations of the RS-485 are the same as the RS-232.
AR-B1320 User’s Guide (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 20 30 40 OPEN “COM1:9600,m,8,1”AS #1 LEN=1 REM Reset DTR OUT &H3FC, (INP(%H3FC) AND &HFA) RETURN b.