Rainbow Technologies ICOP-6052VF User manual

ICOP-6052VF
Embedded 386SX PC/104 All-in-One CPU
Module Series
User’s Manual
(Version 1.0)

ii
Copyright Notice
All rights are reserved. The information in the manual is
subject to change without notice in order to improving products.
No part of this manual may be reproduced, copied, translated
or transmitted in any form or by any means without the prior
written permission of the manufacturer.
All rights reserved. Ver.1.0 ,
Printed in Taiwan
Trademarks Acknowledgments
All brand names and trademarks are the properties and
registered brands of their respective owners.

iii
T a b l e o f C o n t e n t s
C h a p t e r 0 1 Startup 1
0.1 Packing List .............................................................. 1
0.2 Specifications ........................................................... 2
0.3 Component Location ................................................. 3
C h a p t e r 1 Introduction 4
1.1 Features .................................................................... 4
1.2 Specifications ........................................................... 5
1.3 VGA Interface ............................................................ 7
1.4 DiskOnChip 2000 Flash Disk..................................... 8
C h a p t e r 2 Installation 9
2.1 Jumper Settings ........................................................ 9
2.2 Connectors...............................................................11
2.3 DiskOnChip/EPROM/Flash ROM Disk.......................12
2.4 Watchdog Timer .......................................................14
C h a p t e r 3 SVGA Setup 22
3.1 Introduction..............................................................22
3.1.1 Chipset ................................................................22
3.1.2 Display Memory ...................................................22
3.2 Flat Panel BIOS and Wiring......................................22
Appendix A Pin Assignments 31
IDE Interface Connector................................................... 31
VGA/Flat Panel Connectors ............................................. 32
Flat Panel Connector Pin Assignment .............................. 33
Floppy Disk Connector...................................................... 34
Parallel Port Interface ....................................................... 35
Serial Port Interface........................................................... 36
Keyboard and PS/2 Mouse Connector ............................ 37
16-bit General Purpose I/O............................................... 37
PC/104 Connectors ........................................................... 38
Warranty 40

iv

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 1
C h a p t e r 0
Startup
0.1 Packing List
Product Name Function Package
ICOP-6052VF
Embedded
386SX PC/104
All-in-One CPU
Module with
onboard
CRT/LCD
zICOP-6052VF Embedded 386SX PC/104
All-in-One CPU Module
zUtility and Drivers Diskette x 1
zFDD cable x 1
zHDD cable x 1
zRS232 cable x 2
zPrinter cable with bracket x 1
zAT KB connector cable x 1
zVGA cable x 1

2 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
0.2 Specifications
Features ICOP-6052VF
Chipset DM&P(ALi) M6117D
Processor 386SX-60 MHz
Multi I/O Chip ALi 5113
BIOS AMI BIOS
Watchdog Timer From 30.5µs to 512 seconds
Bus Interface PC/104 standard compliant
RAM 8MB onboard
DiskOnChip Sockets 1
Display VGA/LCD
VGA CRT/LCD Chip TOPRO TP6508IQ
Enhanced IDE Port 1
Floppy Connector 1
Serial Port RS232 X 2 (or RS232x1,RS485x1)
Parallel Port 1
Power Requirement +5V @0.6A
Board Weight 90g
Board Size 90mm x 96mm

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 3
0.3 Component Location
ICOP-6052VF
RS-485
IDE LED
Keyboard
LPT Port
LCD Cont.
EIDE Port
COM1
COM2
GPIO
+5V/GND
Reset
VGA Cont. FDD Cont.
Mouse
GND/-5V/-12V/+12V
LCD Power Sel.
RS-232/485 sel. for COM2

4 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
C h a p t e r 1
Introduction
1.1 Features
zPC/104 (96x90 mm) Embedded CPU Module
zPC/104 connector
zDM&P (ALi) M6117D Embedded CPU, 100% compatible with 386SX-60
CPU
z8MB EDO RAM onboard
zEnhanced IDE devices and FDD interface
zOne Bi-directional Parallel Port
zRS-232 interface
zRS-232/485 interface
zWatchdog timer
zSocket(s) for Flash or DiskOnChip
zOnboard Keyboard, Mouse header
zSingle voltage +5 V power connector
zOperating temperature from –20 〜+60℃
zFlexible OEM/ODM design

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 5
1.2 Specifications
• Embedded CPU: DM&P(ALi) M6117D is an implementation of an INTEL
compatible 386SX-60 CPU, Realtime clock, a watchdog
timer and ALi’s M1217B chipset
• BIOS: Y2K compliant AMI system BIOS
• DRAM Memory: 8MB EDO DRAM onboard
• Bus Interface: PC/104
• Data Bus: 16-bit
• Bus Speeds: PC/104 - 8 MHz
(above values are defaults, bus speeds are programmable up to 16 MHz)
• DMA Channels: 7
• Interrupt Levels: 15
• Enhanced IDE: supports one port and up to two hard drives or Enhanced
IDE devices of PIO mode 4. BIOS enabled/disabled
• Watchdog Timer: generates either a RESET, NMI or an IRQ when your
application loses control over the system. Optionally the watchdog can
trigger a user specified interrupt. The watchdog is configurable from 30.5µs
to 512 seconds (in 30.5µssegments)
• Real-time Clock: included in M6117D with onboard lithium battery
backup for data retention. CMOS data backup of BIOS setup and BIOS
default.
• Keyboard and Mouse Connectors:
Internal 5-pin header for AT-keyboard
Internal 5-pin header for PS/2-mouse
High Speed Multi I/O
• Chipset: ALi 5113 or SMS CFDC37C669
• Serial ports: one high speed RS-232 port, one high speed RS-232/485
port (jumper selectable). Both with 16C550 UART and 16 byte FIFO. BIOS
enabled/ disabled
• Floppy Disk Drive Interface: supports up to two floppy drives, 5¼“ (360
KB or 1.2 MB) and 3½ “ (720 KB, 1.44 MB). BIOS enabled / disabled
• Bi-directional Parallel Port: supports SPP, EPP and ECP mode. BIOS

6 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
enabled/disabled
Environmental and Power
• Power Requirements: single voltage +5 V@600mA
• Board Dimensions: 90 (L) x 96 (W) mm.
• Board Weight: 90g
• Extended Operating Temperature: -20~+60 °C

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 7
1.3 VGA Interface
(ICOP-6052VF)
• Chipset: TOPRO TP6508IQ
• Memory: 1 MB onboard
• System Bus: 16-bit ISA bus
• Panel Data Bus: 24-bit
• Display: CRT and Flat Panel Mono/TFT/DSTN/EL
• Supported Flat Panels:
NEC NL-6448AC30-10 TFT 9.4" 640X480
NEC NL-6448AC30-03 TFT 9.4" 640X480
NEC NL-6448AC33-10 TFT 10.4" 640X480
NEC NL-6448AC33-13 TFT 10.4" 640X480
NEC NL-6448AC33-18 TFT 10.4" 640X480
NEC NL-8060BC31-09 TFT 12’1 800X600
NEC NL-8060AC31-02 TFT 10.4" 800X600
NEC NL-8060AC31-01 TFT 10.4" 800X600
SHARP LQ10D42 TFT 10.4" 640X480
SHARP LQ10D421 TFT 10.4" 640X480
SHARP LQ12531 TFT 12.1" 800x600
SHARP LM64C35P MONO 10.4" 640X480
Planar EL640.480-AA1 EL color 10.4" 640X480

8 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
1.4 DiskOnChip 2000 Flash Disk
Flash Disk DiskOnChip ® 2000
• Package: Single Chip FlashDisk in 32-pin DIP JEDEC
• Capacity: 1-144 MByte capacity
• Data Reliability: ECC/EDC error correction
• Memory Window: 8 KByte

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 9
C h a p t e r 2
Installation
2.1 Jumper Settings
J11
J16
J7 J8
J19
J15
J13
J14
J12
+5V/GND
J1
J17 J18
J2
J9
J20
J6
J10

10 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
ICOP-6052VF
J1 RESET Switch
J6 Power connector (Reserved):
This 4 pin connector link to the +12V,-12V,-5V and GND pins of
PC/104 connector. In case if you need +12,-12V or -5V for
external device, you can use this connector. The power should
supply by the PC/104 bus.
Pin 1: +12V
Pin 2: -12V
Pin 3: -5V
Pin 4: GND
J10 RS-232/485 selection for COM2
1-2: RS-232 mode
2-3: RS-485 mode
J16 IDE LED Connector
J18 Power Voltage for LCD Usage
1-2: 5V
2-3: 3.3V
J20 IRQ 9 Setting for VGA
Open: Disable
Close: Enable

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 11
2.2 Connectors
ICOP-6052VF
J2 Mouse connector
J7 Keyboard connector
J8 Printer port
J9 FDD controller
J11 COM2 RS-485
J12 GPIO (16-bit Gerenal Purpose Input Output)
J13 COM 1 RS-232
J14 COM 2 RE-232
J15 IDE connector
J17 CRT SVGA connector
J19 LCD connector

12 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
2.3 DiskOnChip/EPROM/Flash ROM Disk
Setup a DiskOnChip ® 2000 Flash Disk
Installation Instructions
1. Make sure the ICOP-605X is powered OFF
2. Plug the DiskOnChip 2000 device(s) into its socket. Verify the direction
is correct (pin 1 of the DiskOnChip 2000 is aligned with pin 1 of the socket)
3. Set address for both DiskOnChip and Flash Disk devices as below
instructions:
Step1: Enter to AMI BIOS Setup Utility while system power on
Step2: Enter to “Advanced Chipset Setup”
Step3: Select “GPCS Function” to “Enable”
(For DiskOnChip)
Step4: Setect “GPCS0 Command” to “MEMR/W 8bit”
Step5: Select “GPCS0 Start Address” to “0C8000 HEX”
Step6: Select “GPCS0 Size” to “8 KBYTE” (goto Step 10)
(For Flash Disk)
Step4: Setect “GPCS0 Command” to “MEMR/W 8bit”
Step5: Select “GPCS0 Start Address” to “0E0000 HEX”
Step6: Select “GPCS0 Size” to “64 KBYTE”
Step7: Select “GPCS1 Command“ to “IOW 8bit”
Step8: Select “GPCS1 Start Address” to “000100 HEX”
Step9: Select “GPCS1 Size” to “2 BYTE”
Step10: Save changed and exit.
4. Power up the system
5. During power up you may observe the messages displayed by the
DiskOnChip 2000 when its drivers are automatically loaded into system’s
memory
6. At this stage the DiskOnChip 2000 can be accessed as any disk in the
system
7. If the DiskOnChip 2000 is the only disk in the system, it will appear as
the first disk (drive C: in DOS)
8. If there are more disks besides the DiskOnChip 2000, the DiskOnChip
2000 will appear by default as the last drive, unless it was programmed as
first drive. (please refer to the DiskOnChip 2000 utilities user manual)

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 13
9. If you want the DiskOnChip 2000 to be bootable: a - copy the operating
system files into the DiskOnChip by using the standard DOS command (for
example: sys d:) b - The DiskOnChip should be the only disk in the
systems or should be configured as the first disk in the system (c: ) using
the DUPDATE utility
For more information on DiskOnChip2000 technology, visit M-Systems Web
site http:// www.m-sys.com where you can find Utilities Manual, Data
Sheets and Application Notes. In addition, you can find the lasted
DiskOnChip 2000 S/W Utilities.

14 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
2.4 Watchdog Timer
The watchdog timer uses a 32.768 KHz frequency source with a 24-bit
counter. Its time range stretches from 30.5 ms to 512 sec. with a resolution
of 30.5 ms. When the watchdog times out a System RESET, NMI or IRQ
can be invoked. Watchdog timer control and the 24-bit counter itself occupy
6 consecutive 8-bit address locations.
When functioning properly the system resets the watchdog timer
periodically to prohibit that it times out. If the watchdog timer times out, it
will RESET the system, or generate and NMI or IRQ, depending on its
configuration.
Watchdog or System Timer
Another great application is to generate a periodic IRQ signal. Under DOS
environment, the 8254, system timer 0, will generate IRQ0 every 54.9 ms.
The watchdog is like system timer 0. It can be programmed to periodically
generate a configurable IRQ. It may be clear that the selected IRQ, will be
no longer available to the system.
Configuring the Watchdog Timer in the BIOS
The M6117D watchdog configuration register can be controlled by software
or can be setup in the BIOS. To do so go to BIOS Setup’s “Advanched
Chipset Setup”
Watchdog Function = Enable/Disable
Watchdog Signal = RESET, NMI or IRQ
3/4/5/6/7/9/10/11/12/14/15
Watchdog Timer = 1/2/4/8/16/32/64/128/256/512 Seconds
The BIOS setup only offers a limited amount of time-out values. More a
hiher resolution of timeout values refer to the next paragraph “Configuring
the Watchdog Timer by Software” Note that in case of using the BIOS
setup, the watchdog starts counting the moment it passes the BIOS setup.
This means that if you set the time-out period to 1 second, the system will
keep rebooting before being able to load operating system or software !
After you have finnished configuring you watchdog timer read “Timeout
Status & Reset - INDEX 3CH” on page 12 and look at the example on page
15 to find out how to priodically reseting the timeout status to prevent the
watchdog timer from invoking a RESET, NMI or IRQ.

ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual 15
Configuring the Watchdog Timer by Software
Chipset configuration registers
The M6117D configuration register INDEX 37H, 38H, 39H, 3AH, 3BH, 3Ch
are used to control the watchdog functions and/or display its current status.
Enable/Disable watchdog - INDEX 37H
Bit Value Action
7 reserved Do not modify the value of these bits!
6 0
1
Disable watchdog timer
Enable watchdog timer
5-0 Other function Do not modify the value of these bits!
Watchdog time out action - INDEX 38H
Bit Value Action
7-4 0000 No output signal
0001 IRQ3
0010 IRQ4
0011 IRQ5
0100 IRQ6
0101 IRQ7
0110 IRQ9
0111 IRQ10
1000 IRQ11
1001 IRQ12
1010 IRQ14
1011 IRQ15
1100 NMI
1101 System RESET
1110 No output signal
1111 No output signal

16 ICOP Embedded 386SX PC/104 AIO CPU Module User's Manual
3-0 Other function Do not modify the value of these bits!
Watchdog timer - INDEX 39H, 3AH, 3BH
Index 3Bh 3Ah 39h
Bits D7……D0 D7……D0 D7……D0
counter [VSB…………….…………………... ………..LSB]
For example
Index 3Bh 3Ah 39h Time out
00h 00h 01h 30.5µs
00h 00h 02h 61µs
00h 01h 00h 7.8 ms
00h 02h 00h 15.6 ms
01h 00h 00h 2 s
02h 00h 00h 4 s
FFh FFh FFh 512 s
Timeout Status & Reset - INDEX 3CH
Bit Value Action
7 0
1
Timeout has not occurred
Timeout has occured
6 1
0
Reset timer
Has no meaning
5-0 Other function, do not modify these bits
Programming the watchdog
To perform any operation on the M6117D configuration registers you
always
have to unlock first and lock the registers afterwards
Unlock configuration register Lock configuration register
Table of contents
Other Rainbow Technologies Computer Hardware manuals