Octagon PC-510 User Manual

NOTICE
The drivers and utilities for Octagon products, previously provided
on a CD, are now in a self-extracting zip file located at the Octagon
Systems web site on the product-specific page. Download this file to a separate directory on your hard drive, then double click on it to extract the files. All references in this manual to files and directories on the CD
now refer to files in the Utilities zip file.
Embedded PCs For Extreme Environments
PC-510 User’s Manual
5171 (0505)
DiskOnChip® is a registered trademark of M-Systems. Micro PC™, PC SmartLink™,
®
Octagon Systems Corporation of Octagon Systems Corporation. QuickBASIC
®
Corporation. QNX
is a registered trademark of QNX Software Systems Ltd.
, the Octagon logo and the Micro PC logo are trademarks
®
is a registered trademark of Microsoft
ROM-DOS™ is a trademark of Datalight. Windows™ and Windows NT™ are trade­marks of Microsoft Corporation. PICO FA™ is a trademark of Phoenix Technologies Ltd.
Copyright 1997, 1998, 2004, 2005—Octagon Systems Corporation. All rights reserved. However, any part of this document may be reproduced, provided that Octagon Sys­tems Corporation is cited as the source. The contents of this manual and the specifi­cations herein may change without notice.
The information contained in this manual is believed to be correct. However, Octagon assumes no responsibility for any of the circuits described herein, conveys no license under any patent or other right, and makes no representations that the circuits are free from patent infringement. Octagon makes no representation or warranty that such applications will be suitable for the use specified without further testing or modification.
Octagon Systems Corporation general policy does not recommend the use of its products in life support applications where the failure or malfunction of a component may directly threaten life or injury. It is a Condition of Sale that the user of Octagon products in life support applications assumes all the risk of such use and indemnifies Octagon against all damage.
R
Technical Support: 303-426-4521
Telephone: 303-430-1500
Web site:
FAX: 303-426-8126
www.octagonsystems.com
PC-510 user’s manual Notice to user
IMPORTANT!
Please read the following section before installing your product:
Octagon’s products are designed to be high in performance while consuming very little power. In order to maintain this advantage, CMOS circuitry is used.
CMOS chips have specific needs and some special requirements that the user must be aware of. Read the following to help avoid damage to your card from the use of CMOS chips.
Using CMOS circuitry in industrial control
Industrial computers originally used LSTTL circuits. Because many PC components are used in laptop computers, IC manufacturers are exclu­sively using CMOS technology. Both TTL and CMOS have failure mechanisms, but they are different. Described below are some of the failures which are common to all manufacturers of CMOS equipment. However, much of the information has been put in the context of the Micro PC.
Octagon has developed a reliable database of customer-induced, field failures. The average MTBF of Micro PC cards exceeds 11 years, yet there are failures. Most failures have been identified as customer­induced, but there is a small percentage that cannot be identified. As expected, virtually all the failures occur when bringing up the first system. On subsequent systems, the failure rate drops dramatically.
n Approximately 20% of the returned cards are problem-free. These
cards, typically, have the wrong jumper settings or the customer has problems with the software. This causes frustration for the cus­tomer and incurs a testing charge from Octagon.
n Of the remaining 80% of the cards, 90% of these cards fail due to
customer misuse and accident. Customers often cannot pinpoint the cause of the misuse.
n Therefore, 72% of the returned cards are damaged through some
type of misuse. Of the remaining 8%, Octagon is unable to deter­mine the cause of the failure and repairs these cards at no charge if they are under warranty.
Notice to user PC-510 user’s manual
The most common failures on CPU cards are over voltage of the power supply, static discharge, and damage to the serial and parallel ports. On expansion cards, the most common failures are static discharge, over voltage of inputs, over current of outputs, and misuse of the CMOS circuitry with regards to power supply sequencing. In the case of the video cards, the most common failure is to miswire the card to the flat panel display. Miswiring can damage both the card and an expensive display.
n Multiple component failures - The chance of a random compo-
nent failure is very rare since the average MTBF of an Octagon card is greater than 11 years. In a 7 year study, Octagon has found a single case where multiple IC failures were
never
not caused by misuse or accident. It is very probable that multiple component failures indicate that they were user-induced.
n Testing “dead” cards - For a card that is “completely nonfunc-
tional”, there is a simple test to determine accidental over voltage, reverse voltage or other “forced” current situations. Unplug the card from the bus and remove all cables. Using an ordinary digital ohmmeter on the 2,000 ohm scale, measure the resistance between power and ground. Record this number. Reverse the ohmmeter leads and measure the resistance again. If the ratio of the resis­tances is 2:1 or greater, fault conditions most likely have occurred. A common cause is miswiring the power supply.
n Improper power causes catastrophic failure - If a card has had
reverse polarity or high voltage applied, replacing a failed compo­nent is not an adequate fix. Other components probably have been partially damaged or a failure mechanism has been induced. There­fore, a failure will probably occur in the future. For such cards, Octagon highly recommends that these cards be replaced.
n Other over-voltage symptoms - In over-voltage situations, the
programmable logic devices, EPROMs and CPU chips, usually fail in this order. The failed device may be hot to the touch. It is usually the case that only one IC will be overheated at a time.
n Power sequencing - The major failure of I/O chips is caused by the
external application of input voltage while the Micro PC power is off. If you apply 5V to the input of a TTL chip with the power off, noth­ing will happen. Applying a 5V input to a CMOS card will cause the current to flow through the input and out the 5V power pin. This current attempts to power up the card. Most inputs are rated at 25 mA maximum. When this is exceeded, the chip may be damaged.
n Failure on powerup - Even when there is not enough current to
destroy an input described above, the chip may be destroyed when the power to the card is applied. This is due to the fact that the input current biases the IC so that it acts as a forward biased diode on powerup. This type of failure is typical on serial interface chips.
PC-510 user’s manual Notice to user
n Hot insertion - Plugging cards into the card cage with the power on
will usually not cause a problem. (Octagon urges that you do not do this!) However, the card may be damaged if the right sequence of pins contacts as the card is pushed into the socket. This usually damages bus driver chips and they may become hot when the power is applied. This is one of the most common failures of expansion cards.
n Terminated backplanes - Some customers try to use Micro PC
cards in backplanes that have resistor/capacitor termination net­works. CMOS cards cannot be used with termination networks. Generally, the cards will function erratically or the bus drivers may fail due to excessive output currents.
n Excessive signal lead lengths - Another source of failure that was
identified years ago at Octagon was excessive lead lengths on digital inputs. Long leads act as an antenna to pick up noise. They can also act as unterminated transmission lines. When 5V is switch onto a line, it creates a transient waveform. Octagon has seen submicrosecond pulses of 8V or more. The solution is to place a capacitor, for example 0.1 µF, across the switch contact. This will also eliminate radio frequency and other high frequency pickup.
Avoiding physical damage to the heatsink/CPU
WARNING! When handling any Octagon CPU card, extreme care must be taken not to strike the heatsink against another object, such as a table edge. Also, be careful not to drop the CPU card, since this may cause damage to the heatsink/CPU as well.
Epoxy adhesive bonds the heatsink to the CPU chip. When the heatsink is struck, the epoxy adhesive does not allow the heatsink to separate from the chip. The force of the blow to the heatsink then causes the legs of the CPU chip to separate from the PCB. This force damages both the CPU chip and the PCB.
Note Any physical damage to the CPU control card is not covered under
warranty.
Notice to user PC-510 user’s manual
PC-510 user’s manual Contents
Contents
Abbreviations and terms used in this manual........................................... xiii
Conventions used in this manual ................................................................... xv
About this manual Overview: Section 1 – Installation
Chapter 1: Overview......................................................................................... 1-1
Description .................................................................................................... 1-1
PC-510 major hardware features................................................................. 1-1
CPU....................................................................................................... 1-1
Up to 48 MB DRAM ............................................................................. 1-1
Solid-state disks ................................................................................... 1-2
SSD0 ............................................................................................ 1-2
SSD1 ............................................................................................ 1-2
Serial ports protected against ESD..................................................... 1-3
Local bus SVGA, flat panel interface, and GUI accelerator .............. 1-3
Adjustable display bias supply............................................................ 1-3
Industrial I/O using EZ I/O ................................................................. 1- 4
Speaker, keyboard, and mouse ports................................................... 1-4
PC/104 16-bit interface........................................................................ 1-4
PC-510 major software features .................................................................. 1-4
Advanced power management and system management input ....... 1-4
Diagnostic software verifies system integrity automatically ............ 1-5
SETUP information stored in EEPROM for high reliability............. 1-5
Phoenix BIOS....................................................................................... 1-5
“Instant DOS” operating system......................................................... 1 -5
Programmable video BIOS.................................................................. 1- 5
On-board flash file system................................................................... 1-6
Octagon BIOS extensions .................................................................... 1-6
Interrupt routing: In system and programmable.............................. 1-6
Floppy and hard disk ports.................................................................. 1-6
Boot sequence ....................................................................................... 1-6
Multifunctional printer port ................................................................ 1-6
Watchdog timer added for safety......................................................... 1-7
Real time calendar/clock with battery-backup................................... 1-7
I/O connectors....................................................................................... 1-7
Keypad and LCD display support for low-cost operator interface .... 1-7
Hardware reset..................................................................................... 1-7
5 Volt operation lowers system cost .................................................... 1-7
Rugged environmental operation........................................................ 1- 8
Size........................................................................................................ 1-8
Chapter 2: Quick start ..................................................................................... 2-1
Installing the PC-510 ................................................................................... 2-1
Reference designators................................................................................... 2-6
PC-510 power supply requirements............................................................. 2- 8
Running a demo program............................................................................. 2-9
Logon message ..................................................................................... 2-9
What’s next.................................................................................................. 2-11
iii
Contents PC-510 user’s manual
Chapter 3: SETUP programs .......................................................................... 3-1
Introduction................................................................................................... 3-1
SETUP........................................................................................................... 3-1
Running SETUP over the console port ............................................... 3-4
SETUP example ................................................................................... 3-8
SETSSD......................................................................................................... 3-9
PMISETUP.................................................................................................... 3-9
SETIRQ.EXE................................................................................................. 3-9
Chapter 4: Save and run programs............................................................... 4-1
Save and run your programs on the PC-510............................................... 4-1
Saving programs and support files .............................................................. 4-1
Adding your application....................................................................... 4-2
Autoexecuting your application........................................................... 4-2
Overriding the autoexecution of your application.............................. 4-3
Overview: Section 2 – Hardware
Chapter 5: Serial ports..................................................................................... 5-1
Description .................................................................................................... 5-1
Serial port options......................................................................................... 5-1
Description of serial ports............................................................................. 5-2
Conflicting COM port addresses ......................................................... 5-2
COM1.................................................................................................... 5-2
COM2.................................................................................................... 5-3
COM3 through COM6 interrupt/status port ...................................... 5-3
COM3.................................................................................................... 5-5
COM4.................................................................................................... 5-5
COM5.................................................................................................... 5-5
COM6.................................................................................................... 5-6
Null modem cable ......................................................................................... 5-6
Building your own cable ...................................................................... 5-7
Function and use of serial ports................................................................... 5-9
COM1 as serial console device............................................................. 5-9
COM1 through COM6 as RS-232 I/O ................................................. 5-9
COM5 as GPS I/O ................................................................................ 5- 9
COM6 RS-485 transmitter control.................................................... 5-10
RS-485 network........................................................................................... 5-11
Chapter 6: LPT1 parallel port ........................................................................ 6-1
LPT1 parallel port ........................................................................................ 6-1
Printer ........................................................................................................... 6-1
Installing a printer............................................................................... 6-1
Display........................................................................................................... 6-2
Installing a display .............................................................................. 6-2
Keypad........................................................................................................... 6-2
Installing a keypad .............................................................................. 6-2
Opto rack ....................................................................................................... 6-3
Chapter 7: Console devices ............................................................................. 7-1
Description .................................................................................................... 7-1
Selecting console devices .............................................................................. 7-1
Local bus SVGA ................................................................................... 7- 1
Serial console........................................................................................ 7-1
iv
PC-510 user’s manual Contents
Keyboard .............................................................................................. 7-3
Speaker ................................................................................................. 7-3
Mouse.................................................................................................... 7-3
Enabling/disabling the video BIOS.............................................................. 7-3
Re-establishing communications when the console is not working .. 7-5
Chapter 8: SSDs, DRAM, and battery backup ............................................ 8-1
Description .................................................................................................... 8-1
SSD0 (optional) ............................................................................................. 8- 1
Selecting SSD0 device type ................................................................. 8-1
SSD0 replaced with an SRAM device .......................................................... 8-1
SSD0 replaced with a flash device............................................................... 8-2
Selecting an SSD BIOS ................................................................................ 8-2
SSD0 replaced with an EPROM/OTPROM ........................................ 8-3
SSD1 .............................................................................................................. 8-3
DRAM ............................................................................................................ 8-3
Battery backup for SSD0 SRAM and real time calendar clock.................. 8-4
Installing an AT battery...................................................................... 8-4
Chapter 9: External drives.............................................................................. 9-1
Description .................................................................................................... 9-1
Floppy disk controller ................................................................................... 9-1
Power requirements............................................................................. 9-1
Installing a floppy disk drive............................................................... 9-1
Hard disk controller ...................................................................................... 9-2
Installing a hard drive......................................................................... 9-2
Booting with ROM-DOS ............................................................................... 9-2
Chapter 10: IRQ routing and opto IRQs .................................................... 10-1
Interrupt routing......................................................................................... 10-1
Opto IRQs.................................................................................................... 10-3
Interrupt routing matrix defaults.............................................................. 10-3
Programming .............................................................................................. 10-3
Master disable............................................................................................. 10-4
Chapter 11: EZ I/O ........................................................................................... 11-1
Description .................................................................................................. 11-1
EZ I/O options ............................................................................................. 11-2
Pulling the I/O lines high or low ................................................................ 11-2
Organization of ports .................................................................................. 11-3
Port addressing .................................................................................. 11-4
Base I/O address ................................................................................ 11-4
Configuring and programming the EZ I/O ports ...................................... 11-4
Programming the EZ I/O ................................................................... 11-5
Configuring the EZ I/O ...................................................................... 11-5
Writing and reading from EZ I/O...................................................... 11-6
EZ I/O output program examples ..................................................... 11-6
EZ I/O input program examples........................................................ 11-6
Enhanced INT 17h function definitions .................................................... 11-7
Initialize EZ I/O 1 .............................................................................. 11-7
Write EZ I/O 1 .................................................................................... 11-8
Read EZ I/O 1..................................................................................... 11-8
Initialize EZ I/O 2 .............................................................................. 11-9
Write EZ I/O 2 .................................................................................. 11-10
v
Contents PC-510 user’s manual
Read EZ I/O 2 ................................................................................... 11-11
Opto-module rack interface ...................................................................... 11-11
Interfacing to switches and other devices ............................................... 11-13
Chapter 12: LED signaling and “beep” codes........................................... 12-1
Description .................................................................................................. 12-1
Chapter 13: CRTs and flat panels................................................................ 13-1
Description .................................................................................................. 13-1
Video features.............................................................................................. 13-1
Video options ............................................................................................... 13-1
Programming the video BIOS .................................................................... 13-2
Connecting the monitor/display ................................................................. 13-4
Analog monitor................................................................................... 13-4
Flat panel display .............................................................................. 13-5
Flat panels requiring bias voltage .................................................... 13-6
LCD bias control examples....................................................... 13-6
Flat panel considerations ........................................................................... 13-7
Flat panel interface voltage select: W8 ............................................ 13-7
Inverted shift clock signal voltage level select: W9 ......................... 13-7
Chapter 14: GPS interface ............................................................................ 14-1
Description .................................................................................................. 14-1
Mounting the GPS module to the PC-510 ................................................. 14-2
GPS interface port options ......................................................................... 14-3
Routing the GPS data........................................................................ 14-3
Chapter 15: PC/104 expansion...................................................................... 15-1
Description .................................................................................................. 15-1
Overview: Section 3 – System management
Chapter 16: Watchdog timer and hardware reset ................................... 16-1
Description .................................................................................................. 16-1
Enhanced INT 17h function definitions .................................................... 16-1
Enable watchdog ................................................................................ 16-1
Strobe watchdog................................................................................. 16-2
Disable watchdog ............................................................................... 16-2
Hardware reset ........................................................................................... 16-3
Chapter 17: Serial EEPROM and CMOS RAM.......................................... 17-1
Description .................................................................................................. 17-1
Enhanced INT 17h function definitions .................................................... 17-1
Serial EEPROM .......................................................................................... 17-1
Read a single word from the serial EEPROM .................................. 17-1
Write a single word to the serial EEPROM...................................... 17-2
Read multiple words from the serial EEPROM ............................... 17-3
Write multiple words to the serial EEPROM................................... 17-4
Return serial EEPROM size.............................................................. 17-4
CMOS RAM................................................................................................. 17-5
Read extended CMOS RAM .............................................................. 17-5
Write extended CMOS RAM ............................................................. 17-6
Check CMOS battery ......................................................................... 17-7
Copy contents of serial EEPROM to extended CMOS RAM ........... 17-7
Copy contents of extended CMOS RAM to serial EEPROM ........... 17-8
vi
PC-510 user’s manual Contents
Chapter 18: Transferring files/remote disks............................................. 18-1
Transferring files between the PC-510 and your PC................................ 18-1
Transferring files to the PC-510 ................................................................ 18-2
Transferring files from the PC-510............................................................ 18-2
Downloading files to the PC-510 using PC SmartLINK .......................... 18-3
Remote disks ............................................................................................... 18-5
Downloading files to the PC-510 using REMDISK/REMSERV ...... 18-5
PC-510 with one serial cable .................................................... 18-5
Chapter 19: Managing SSDs ......................................................................... 19-1
PICO FA flash file system .......................................................................... 19-1
Defining SSDs using SETSSD ................................................................... 19-1
Using PFORMAT to format an SSD.......................................................... 19-3
Formatting SSD1 ............................................................................... 19-3
Using SYS to make an SSD bootable ........................................................ 19-3
Adding operating system startup files (using SYS) ......................... 19-3
Changing boot SSD..................................................................................... 19-4
Autoexecuting your application......................................................... 19-4
Using SETSSD and TESTRFA to test an SSD ......................................... 19-4
Making copies of the PC-510 SSD ............................................................. 19-5
Programming copies of the PC-510 SSD ................................................... 19-5
Programming a new BIOS into SSD1 ....................................................... 19-6
Programming the video BIOS into an SSD............................................... 19-6
Chapter 20: User-defined jumper ................................................................ 20-1
User-defined jumper ................................................................................... 20-1
Read jumpers...................................................................................... 20-1
Chapter 21: CPU power management ........................................................ 21-1
Description .................................................................................................. 21-1
Power management overview .................................................................... 21-1
Hardware controlled modes........................................................................ 21-2
Device power management ........................................................................ 21-2
System power management ....................................................................... 21-3
How to initiate the SUSPEND/RESUME option ............................. 21-4
How to initiate the STANDBY option............................................... 21-6
Save to disk ................................................................................................. 21-7
How to initiate the save to disk option ............................................. 21-8
Power management configuration............................................................. 21-9
Enabling power management ........................................................... 21-9
System timers................................................................................... 21-10
Doze timer enable and resets .......................................................... 21-10
IDLE timer resets ............................................................................ 21-11
RESUME from STANDBY .............................................................. 21-12
RESUME from SUSPEND .............................................................. 21-13
Remote suspend/resume inputs ...................................................... 21-13
First Suspend/Resume Pulse:................................................. 21-14
Second Suspend/Resume Pulse: ............................................. 21-14
External PMI interrupt ................................................................... 21-14
Thermal management ..................................................................... 21-15
Bitblt engine ..................................................................................... 21-15
PMISETUP................................................................................................ 21-16
vii
Contents PC-510 user’s manual
Chapter 22: Troubleshooting........................................................................ 22-1
Technical assistance.................................................................................... 22-3
Overview: Section 4 – Appendices
Appendix A: Technical data ............................................................................A-1
Technical specifications ................................................................................A-1
Jumper settings ............................................................................................ A-5
Connector pinouts .........................................................................................A-8
Tie wrap holes ............................................................................................. A-19
Appendix B: Software utilities.......................................................................B-1
Introduction................................................................................................... B-1
GETBIOS.EXE.............................................................................................. B-2
GETIMG.EXE ...............................................................................................B-2
GETIMGH.EXE ............................................................................................B-3
HIMEM.SYS.................................................................................................. B-4
I17HNDLR.EXE ........................................................................................... B-5
LCDBIAS.EXE .............................................................................................. B-6
LPT1CON.COM ............................................................................................ B-7
PFORMAT.EXE............................................................................................. B-8
PGMBIOS.EXE ............................................................................................. B-8
PGMIMG.EXE ............................................................................................... B-9
PGMIMGH.EXE .........................................................................................B-10
PGMVIDEO.EXE........................................................................................ B-11
PHDISK.EXE..............................................................................................B-12
PICOFA.SYS ............................................................................................... B-13
PMISETUP.EXE .........................................................................................B-14
REMDISK.EXE........................................................................................... B-15
REMQUIT.COM .......................................................................................... B-17
REMSERV.EXE........................................................................................... B-17
RESET.COM................................................................................................ B-19
SCONSOLE.EXE ........................................................................................ B-19
SETIRQ.EXE............................................................................................... B-20
SETSSD.EXE ..............................................................................................B-20
SETUP.COM ............................................................................................... B-22
TESTRFA.EXE ............................................................................................ B-23
TRANSFER.EXE ........................................................................................ B-24
VDISK.SYS ................................................................................................. B-26
viii
Appendix C: Third party support .................................................................C-1
Using QNX on the PC-510............................................................................ C-1
Programming QNX into SSD1 ............................................................C-1
Using M-Systems DiskOnChip (DOC)......................................................... C-1
Booting from the DOC drive................................................................ C-2
Appendix D: Accessories .................................................................................D-1
Warranty
PC-510 user’s manual Contents
List of figures
Figure 2-1 PC-510 component diagram ................................................. 2- 2
Figure 2-2 PC-510 center-to-center hole dimensions............................. 2-3
Figure 2-3 Power connector: P8, P9....................................................... 2 -4
Figure 2-4 PC-510, keyboard, and monitor ............................................ 2-5
Figure 5-1 Null modem adapter and VTC-20F cable ............................ 5 - 7
Figure 5-2 Custom null modem cable for the PC-510 ........................... 5-8
Figure 5-3 PC-510 serial devices ............................................................ 5-9
Figure 5-4 RS-485 two-wire (half duplex) transmission ..................... 5-11
Figure 6-1 LPT1 as a printer port .......................................................... 6 - 1
Figure 6-2 LPT1 as a display or keypad port ........................................ 6 - 3
Figure 6-3 LPT1 and an opto rack.......................................................... 6-3
Figure 7-1 The PC-510 and a serial console .......................................... 7-2
Figure 7-2 VTC-20F cable and null modem adapter ............................. 7-2
Figure 7-3 Changing ROM Enable flowchart ........................................ 7-4
Figure 10-1 Interrupt routing matrix..................................................... 10-2
Figure 11-1 Typical EZ I/O configurations............................................. 11-1
Figure 11-2 Organization of ports .......................................................... 11-3
Figure 11-3 MPB-16PC opto rack hookup............................................ 11-12
Figure 11-4 PC-510 interfacing with an STB-26 terminal board....... 11-14
Figure 13-1 The PC-510, a VGA monitor, and an AT/PS/2
compatible keyboard ........................................................... 13-3
Figure 13-2 The PC-510 and a VGA monitor......................................... 13-4
Figure 13-3 The PC-510 and a flat panel display.................................. 13-5
Figure 15-1 Typical PC/104 expansion module stack............................ 15-1
Figure 18-1 Downloading files using TRANSFER.EXE........................ 18-4
Figure 18-2 Downloading files to the PC-510 with one serial cable
using REMDISK/REMSERV .............................................. 18-6
Figure B-1 Cabling diagram for a standard cable................................ B-16
ix
Contents PC-510 user’s manual
List of tables
Table 2-1 Power connector: P8, P9....................................................... 2-5
Table 2-2 PC-510 connectors ................................................................. 2-6
Table 2-3 RS-485 termination select jumper: W1............................... 2-6
Table 2-4 BIOS and boot option jumper: W2....................................... 2-7
Table 2-5 Auxiliary option jumper: W3................................................ 2-7
Table 2-6 EZ I/O pull-up/pull-down, user option jumper: W4 ............ 2-7
Table 2-7 SSD0 device selection jumpers: W5, W2[7-8]....................... 2-8
Table 2-8 Jupiter module antenna voltage select: W6........................ 2 - 8
Table 2-9 Flat panel interface voltage select: W8............................... 2 -8
Table 2-10 Inverted shift clock signal voltage level select: W9 ............ 2-8
Table 3-1 PC-510 SETUP parameters.................................................. 3-2
Table 5-1 COM port options .................................................................. 5-1
Table 5-2 Conflicting COM port addresses........................................... 5-2
Table 5-3 COM1 available addresses (IRQ4 dedicated) ...................... 5 - 2
Table 5-4 COM2 available addresses (IRQ3 dedicated) ...................... 5 - 3
Table 5-5 Register 0A9h ........................................................................ 5-3
Table 5-6 Reading the interrupt status port: Register 0A9h ............. 5-4
Table 5-7 Interrupt status port (138h, 158h, 338h, and 358h) ........... 5- 4
Table 5-8 COM3 available address and IRQ routing .......................... 5-5
Table 5-9 COM4 available address and IRQ routing .......................... 5-5
Table 5-10 Available addresses for COM5 at port 0A9h
(IRQ 15 default, routable)..................................................... 5-6
Table 5-11 Available addresses for COM6 at port 0A9h
(IRQ 15 default, routable)..................................................... 5-6
Table 5-12 Custom RS-232 null modem cable for the PC-510:
First COM port ...................................................................... 5-7
Table 5-13 Custom RS-232 null modem cable for the PC-510:
Second COM port................................................................... 5-8
Table 5-14 RS-485 transmitter control: COM6 at location 32Ch....... 5-10
Table 5-15 RS-485 termination select jumper: W1 ............................. 5-10
Table 7-1 Video BIOS disabling and enabling options in SETUP
(C0000h-C7FFFh, C8000h-CFFFFh ROM Enable) ............ 7-4
Table 8-1 SSD0 device selection jumpers: W5, W2[7-8]....................... 8-1
Table 8-2 Selecting an SSD BIOS: W2[5-6]......................................... 8-3
Table 10-1 Interrupt status port (ISP) map setting at I/O
location 0A9h ....................................................................... 10-4
Table 11-1 EZ I/O connectors: J15, J16 .............................................. 11-2
Table 11-2 EZ I/O port options .............................................................. 11-2
Table 11-3 EZ I/O pull-up/pull-down jumpers: W4 ............................. 11-3
Table 11-4 EZ I/O port address ............................................................. 11-4
Table 11-5 Reading EZ I/O 1 and EZ I/O 2 port addresses at I/O
location 0A9h ....................................................................... 11-4
Table 11-6 EZ I/O port byte................................................................... 11-5
Table 11-7 EZ I/O opto-rack interface ................................................ 11-13
Table 12-1 Phoenix BIOS beep codes.................................................... 12-2
Table 13-1 Video controller and associated CRT, flat panel,
and PC video circuitry......................................................... 13-2
Table 13-2 Flat panel interface voltage select: W8 ............................. 13-7
Table 13-3 Inverted shift clock signal voltage level select: W9 .......... 13-7
Table 14-1 GPS interface default and optional features ..................... 14-3
Table 14-2 Jupiter GPS mode ............................................................... 14-3
x
PC-510 user’s manual Contents
Table 20-1 User option jumper 1: W4 .................................................. 20-1
Table 20-2 User option jumper 2: W3 .................................................. 20-1
Table 21-1 Enhanced mode, CPU clock speed: W2[3-4] .................... 21-16
Table A-1 PC-510 memory map............................................................. A-2
Table A-2 PC-510 I/O map..................................................................... A-3
Table A-3 I/O map (Latched registered outputs via OctaGlue:
Address at X0A8h) ................................................................ A-4
Table A-4 I/O map (Configuration inputs via OctaGlue:
Address at X0A9h) ................................................................ A-4
Table A-5 COM1 available addresses ...................................................A-4
Table A-6 COM2 available addresses ...................................................A-5
Table A-7 Available LPT1 port addresses.............................................A-5
Table A-8 RS-485 termination select jumper: W1 ............................... A-5
Table A-9 BIOS and boot option jumper: W2 ....................................... A-6
Table A-10 Auxiliary option jumper: W3................................................A-6
Table A-11 EZ I/O pull-up/pull-down, user option jumper: W4 ............A-6
Table A-12 SRAM battery backup jumper: W5 .....................................A-7
Table A-13 Jupiter module antenna voltage select: W6........................ A-7
Table A-14 Flat panel interface voltage select: W8 ...............................A-7
Table A-15 Inverted shift clock signal voltage level select: W9 ............ A-7
Table A-16 Power connector: P8, P9....................................................... A-8
Table A-17 Speaker connector: J1 .......................................................... A-8
Table A-18 Keyboard connector: J2........................................................A-8
Table A-19 Mouse connector: J3 .............................................................A-9
Table A-20 AT and industrial serial for COM3 and COM4: J4 ............ A-9
Table A-21 AT and industrial serial for COM5 and COM6: J5 .......... A-10
Table A-22 LPT1 as printer connector: J6 ...........................................A-11
Table A-23 AT and industrial serial for COM1 and COM2: J7 .......... A-11
Table A-24 Floppy drive connector: J9 ................................................. A-12
Table A-25 IDE hard drive connector: J10........................................... A-13
Table A-26 PC/104 signal assignments: J11........................................ A-14
Table A-27 GPS (Jupiter) connector: J13.............................................A-15
Table A-28 Flat panel connector: J14...................................................A-16
Table A-29 EZ I/O 1 connector (J15) and EZ I/O 2 connector (J16) ....A-17
Table A-30 OPTOA and OPTOB: J17 ..................................................A-17
Table A-31 Battery connector: J18 ....................................................... A-17
Table A-32 PC video connector: J19 .....................................................A-18
Table A-33 SVGA connector: J20.......................................................... A-19
Table D-1 PC-510 mating connectors ....................................................D-1
Table D-2 Cables and terminal board ...................................................D-2
Table D-3 Memory devices .....................................................................D-2
Table D-4 LCD displays and keypads ...................................................D -3
Table D-5 Opto rack and modules .........................................................D-3
Table D-6 Miscellaneous part numbers.................................................D-4
xi
Contents PC-510 user’s manual
xii
PC-510 user’s manual Abbreviations and terms used in this manual
Abbreviations and terms used in this manual
Throughout this manual, the following symbols and terms are used: Autoexecution Automatic execution of a program on powerup or
reset.
BIOS Basic Input Output System. Detailed instructions
that activate peripheral devices. See ROM-DOS.
BIOS drive The solid-state disk which contains the system BIOS
and ROM-DOS. bpp bits per pixel Console port Video card or COM1 where BIOS and DOS messages
appear and keyboard input is available. DRAM Dynamic Random Access Memory devices. DRAMs
provide volatile memory with unlimited read and
write cycles. Expansion card The expansion cards add I/O functions to the Micro
PC system, such as analog input/output, digital
input/output, motion control, and display. EZ I/O This digital I/O chip supplies 24 I/O lines which can
be individually programmed as 5V input or 5V
output. h The suffix “h” denotes a hexadecimal number. A
decimal number has no prefix or suffix. For ex-
ample, 1000h and 4096 are equivalent. KB Kilobyte (1,024 8-bit bytes). MB Megabyte (1,048,576 8-bit bytes). Memory device The type of static RAM, DRAM, EPROM, or flash
device specified for either volatile or nonvolatile
memory. PC/104 An expansion bus used for holding 8- and 16-bit
expansion expansion cards. PC SmartLINK A serial communications software package designed
by Octagon for use with the PC-510 single board
computer. Refers to all versions of PC SmartLINK. PC Video A feature on the PC-510 which imports an external
video source into the virtual graphics array (VGA)
system. This feature allows for advanced video
connections including video overlays.
xiii
Abbreviations and terms used in this manual PC-510 user’s manual
PICO FA Phoenix’s flash file system used to access SSDs from
DOS as a read/write DOS drive.
ROM Read Only Memory devices. ROMs provide nonvola-
tile memory, have a limited number of write cycles, and include EPROMs, EEPROMs, and flash
memory. ROM-DOS Operating system included in Micro PC ROM. Single board A printed circuit board that contains a complete
computer computer: CPU, memory, I/O, and clock. The single
board computer controls the operation of all the
expansion cards. Solid-state disk A simulated disk which uses a high speed solid-state
(SSD) memory device. For example, flash memory,
EEPROM, or static RAM. Static RAM Static Random Access Memory device. Static RAMs
provide volatile memory with unlimited read and
write cycles. They may be used with a backup
battery. TTL compatible Transistor transistor logic compatible; 0-5V logic
levels. Virtual drive A disk created in DOS or extended memory which
emulates an actual disk. The virtual drive provides
temporary storage for files. When power to the
computer is turned off the virtual drive disappears. W[ - ] Denotes a jumper block and the pins to connect. XMODEM A communications protocol which allows transfer of
files between two computers. XON/XOFF A communications protocol for asynchronous connec-
tions. The receiver can pace the sender by sending
the XOFF and XON characters to stop and continue
the data flow. +5V Safe +5V at the I/O connectors that is protected by a
0.75A fuse.
xiv
PC-510 user’s manual Conventions used in this manual
Conventions used in this manual
This section explains the format used for notes, warnings, and command entry.
Notes and warnings
Special notes and warnings appear in this manual. Each one has a different meaning and format. They are as follows:
Note A note is supplementary or background information. At other times, it
is a hint or reminder that makes a task easier or quicker.
WARNING!
A warning gives vital information. Failure to heed a warn­ing may cause system failure, equipment damage, or bodily harm to the system operator.
Command format and procedures
For some commands, you will only enter a single keyword (for example, reset). For most commands, however, you will enter several keywords followed by one or more parameters for which you must supply values.
Commands must be entered in a specific format. To indicate the format, this manual uses a series of conventions that are explained below. The conventions cover the rules for issuing all commands, including the most complex ones. Most commands, however, are much simpler.
The command format looks like this:
command [type_this | or_ this]
Follow these rules and conventions: n Information which appears on your screen is shown in a different
type face, for example:
PhoenixBIOS(TM) A486 Version 1.03 Copyright (C) 1985-1994 Phoenix Technologies,Ltd. All Rights Reserved Octagon Systems Corp. PC510 CPU
n Commands that you must key in are shown in Courier Bold, for
example:
input {optional_input
}
C:> RESET
xv
Conventions used in this manual PC-510 user’s manual
n Italicized refers to information that is specific to your particular
system or program, e.g., Enter
filename
means enter the name of your file.
n Paired angle brackets are used to indicate a specific key on your
keyboard, e.g., <ESC> means the escape key; <CTRL> means the control key; <F1> means the F1 function key.
n All addresses are given in hexadecimal, for example, 328h.
xvi
PC-510 user’s manual About this manual
About this manual
The PC-510 user’s manual provides information about installing and configuring the PC-510. This manual is divided into four sections:
n Section 1 – Installation
Chapter 1: Overview Chapter 2: Quick start Chapter 3: SETUP programs Chapter 4: Save and run programs
n Section 2 – Hardware
Chapter 5: Serial ports Chapter 6: LPT1 parallel port Chapter 7: Console devices Chapter 8: SSDs, DRAM, and battery backup Chapter 9: External drives Chapter 10: IRQ routing and opto IRQs Chapter 11: EZ I/O Chapter 12: LED signaling and “beep” codes Chapter 13: CRTs and flat panels Chapter 14: GPS interface Chapter 15: PC/104 expansion
n Section 3 – System management
Chapter 16: Watchdog timer and hardware reset Chapter 17: Serial EEPROM and CMOS RAM Chapter 18: Transferring files/remote disks Chapter 19: Managing SSDs Chapter 20: User-defined jumper Chapter 21: CPU power management Chapter 22: Troubleshooting
n Section 4 – Appendices
Appendix A: Technical data Appendix B: Software utilities Appendix C: Third party support Appendix D: Accessories
About this manual PC-510 user’s manual
PC-510 user’s manual Overview of Section 1
Overview:
Section 1 – Installation
Section 1 provides installation and programming instructions, startup options, and system configuration program examples. The following chapters are included:
Chapter 1: Overview Chapter 2: Quick start Chapter 3: SETUP programs Chapter 4: Save and run programs
Overview of Section 1 PC-510 user’s manual
PC-510 user’s manual Overview
Chapter 1:
Description
The PC-510 Mobile Industrial Computer™ (MIC) is a high performance, single board PC in Octagon’s semi-custom product line. The PC-510 integrates serial communication, industrial digital I/O, a floppy and a hard disk port, a multifunctional parallel port, and a local bus video which supports monitors and flat panels. It has an interrupt routing matrix, two solid-state disks, and a PC/104 interface. The PC-510 can have up to 16 MB of on-board DRAM. This board is supplied with DOS
6.22 in ROM but will also execute other operating systems such as Windows™, Windows NT™, and QNX same functional blocks as the Micro PC™, the circuitry has been fully proven as reliable and the software is compatible with the software in the Micro PC series.
Specified to your engineering needs, the PC-510 can be ordered as a semi-custom board in OEM quantities. The stocked version of the PC-510 is listed below with the standard and optional features. The standard version can be used for system development and an optional version of the PC-510 is usually application specific.
Overview
®
. Since the PC-510 uses the
PC-510 major hardware features
CPU
The high performance 586 CPU comes in two versions. One version is a 120MHz586 and the other is a 133MHz586. Both versions operate at
3.3V for low power consumption. The PC-510 has a local bus speed of 33 MHz and an ISA bus speed of 8.33 MHz.
Up to 48 MB DRAM
The standard unit is supplied with 1 MB of fast, EDO surface mount DRAM. The use of EDO DRAM increases performance by 20% which, in most cases, eliminates the need for an expensive L2 cache. The PC-510 can contain up to 16 MB of on-board DRAM. Up to 32 MB of additional DRAM can be added through an optional DIMM module, which makes a total of 48 MB DRAM. Two holes are on-board the PC-510 to secure the DIMM module in high vibration environments. All surface mount DRAM and DIMM modules from Octagon meet the full PC-510 tem­perature range. Customers who need a 0° to 70°C range can install commercially available DIMM modules onto the PC-510.
1-1
Overview PC-510 user’s manual
n 1 MB EDO surface mount standard n 4 MB EDO surface mount optional n 16 MB EDO surface mount optional n SO-DIMM socket installed standard n SO-DIMM socket not installed optional
Solid-state disks
SSD0
A 32-pin DIP socket accepts either a 5V flash, SRAM, or 512 KB/1 MB EPROM. To use an optional 512 KB SRAM, the PC-510 requires a factory change. The socket exhibits high retention force and affords a gas tight contact. SSD0 optionally contains the BIOS drive and ROM­DOS 6.22 in ROM. By default, the optional SSD0 reserves 192 KB for BIOS and 320 KB for a drive area. Flash file system software is in­cluded which allows the SSDs to emulate hard disk operation. SSD0 options include:
n SSD0 socket installed standard n SSD0 socket not installed optional n SSD0 socket/EPROM installed optional n SSD0 support from SRAM optional
For information on changing the device type, refer to the W5 SSD0 table in the Quick start chapter. You can also install compatible PROMs into SSD0 through the supplied utility programs found on the PC-510 utility disk. You can format the flash or SRAM while in the socket. EPROM usage, however, requires off-card programming from either a master flash or a master SRAM.
SSD1
SSD1 is used for storage of the applications program. A standard 2 MB 5V flash is soldered on-card. The flash programmer is built-in which allows on-card programming of the device. The PC-510 includes flash file system software, which permits the SSDs to emulate hard disk operation. Automatic “wear leveling” ensures that no single section of a chip will reach its life span (100,000 times), while other sections will scarcely be used. A 1 MB device reserves 192 KB for BIOS and 832 KB for a drive area, a 2 MB device reserves 192 KB for BIOS and 1856 KB for a drive area.
1-2
n 2 MB EPROM standard n 1 MB EPROM optional n SSD1 not installed optional
PC-510 user’s manual Overview
Serial ports protected against ESD
The PC-510 can have either two or six serial ports. All six serial ports are standard, while COM5 and COM6 can be optionally omitted from the PC-510. COM1 through COM4 are RS-232 and have the full 8-wire PC signal or they can optionally have 4-wire industrial RS-232 serial port lines. The 4-wire industrial RS-232 lines support RxD, TxD, RTS, CTS and the DTR pin with a 1K pull-up to 5V. The interface to COM5 is 4-wire industrial RS-232, configurable to TTL for interface to a GPS receiver. COM6 is 4-wire industrial RS-232, configurable to a 2-wire RS-485. COM5 and COM6 are always supplied side by side. COM1 through COM6 have the following specifications:
n IEC1000, level 3, ESD protection specification
— Contact discharge ±6 kV — Air-gap discharge ±8 kV
n Backdrive protection n 16C550 compatible n Up to 115.2K baud n 16 byte FIFO buffers n RS-232 voltages generated on-card n COM1 through COM6 standard n Omission of COM3 through COM6 optional
Local bus SV GA, flat panel interface, and GUI accelerator
The video system on the PC-510 uses the advanced 65550 video chip from Chips & Technologies. It supports CRT, LCD and EL displays with resolutions to 1280 x 1024 bpp. Displays from CGA through SVGA are supported. The 65550 is also a graphics accelerator with real time PC-video being supported. Since the video circuitry operates on the local bus at the full processor speed, programs like Windows execute very rapidly. The video section has 2 MB of video RAM for high resolu­tion displays and simultaneous CRT and flat panel operation. The PC-510 also supports 5V and newer generation displays, which use
3.3V.
n Local bus flat panel video present standard n No local bus flat panel video present optional
Adjustable display bias supply
An on-board voltage converter eliminates the need for a separate bias supply for the LCD contrast control. The on-board power converter is factory configurable and can be made to be compatible with most LCD displays. The standard default range for the power converter is from +23V to +29V.
1-3
Overview PC-510 user’s manual
n + Bias voltage 23V to 29V standard n – Bias voltage/other range optional n No bias supply optional
Industrial I/O using EZ I/O
The PC-510 can be supplied with 24 or 48 lines of industrial I/O, using the Octagon “EZ I/O” digital I/O chip. Each EZ I/O line is program­mable as an input or output. The lines are 5V compatible and can sink and source 15mA. The EZ I/O port can drive the Octagon MPB series opto-isolation module (Opto 22, G4 style) racks directly, controlling AC and DC loads to 240V at 3A.
n 48 lines standard n 24 lines optional n 0 lines optional
Speaker , keyboar d, and mouse ports
The speaker connector is PC compatible and is a standard feature. The keyboard controller accepts an AT style keyboard and has a PS/2 type connector. The keyboard port is standard. The mouse port is optional and follows the PS/2 standard. Neither the keyboard nor the mouse are required for operation.
n Mouse port included standard n Mouse port not included optional
PC/104 16-bit interface
This interface is a standard feature on the PC-510 and accepts an 8- or a 16-bit PC/104 expansion board. PC/104 expansion boards are avail­able from several manufacturers. As many as three PC/104 expansion boards may be stacked on the PC-510.
PC-510 major software features
Advanced po wer management and system management input
1-4
Power management can be used to reduce power consumption or to freeze the state of the program on the occurrence of a power manage­ment interrupt. Power consumption can be reduced by more than 60%. This reduces the heat load and extends the battery life in mobile appli­cations. There are opto-isolated system management and suspend/ resume inputs with 4-6V ranges. A system management input (SMI) will cause the PC-510 to save its current status. When the system is
PC-510 user’s manual Overview
signaled to restart, execution resumes at the point the system last stopped. The following are functions in the advanced power manage­ment and SMI:
n Suspend/resume by SMI input and software — halts CPU n Wake up through various interrupts including keyboard, SMI
and serial port
n Slow CPU by dividing clock n Contextual save to disk.
Diagnostic software verifies system integrity automatically
The PC-510 has built-in diagnostic software that can be used to verify on-card I/O and memory functions. On powerup, a series of tests is performed. If a problem occurs, the failed test can be identified by the color sequence on an on-board, bicolored LED. The test is performed automatically every time the system is reset or powered up. Software, test equipment, monitor, keyboard, disks, or test fixtures are not re­quired for memory verification. See the LED signaling and “beep” codes chapter for a complete listing of tests and failures and their descriptions.
SETUP information stored in EEPROM f or high reliability
Loss of SETUP data is serious in industrial applications. Most PCs store SETUP information in battery-backed CMOS RAM. If the battery fails or is replaced during routine maintenance, this information is lost. Without a keyboard and monitor in embedded applications, time con­suming re-initialization is required. The PC-510 stores the SETUP information in EEPROM with 1,536 bytes available to the user. Soft­ware routines to use this available memory come with the PC-510.
Phoenix BIOS
The PC-510 has a Phoenix AT BIOS with power management and Octagon BIOS extensions. The AT BIOS supports up to four EIDE drives.
“Instant DOS” operating system
Datalight ROM-DOS v6.22 operating system is in flash. This means that this version is always present on powerup. The system boots and operates the same way as a desktop PC. Since all software and hard­ware are included, the system is fully operational “out of the box.”
Programmable video BIOS
The flash device contains a video BIOS, which controls the on-board SVGA controller. To support other flat panels, you can reprogram a new video BIOS. By default, the video BIOS supports a CRT and Sharp monochrome dual drive flat panel in simultaneous mode.
1-5
Overview PC-510 user’s manual
On-board flash file system
The Phoenix PICO FA flash file system controls the on-board SSDs, which allows read/write DOS access to the flash/SRAM devices. SSD0 can also use EPROM/OTPROM. For certain types of flash devices, the flash file system uses “wear leveling” to spread the usage and maximize the lifetime of these devices.
Octagon BIOS extensions
On-board BIOS extensions allow easy access to digital I/O, serial EEPROM, LCD bias control, watchdog timer functions, etc.
Interrupt routing: In system and pr ogrammable
Software is on-board the PC-510 to change the interrupt routing and some other features. The software allows more flexible use of inter­rupts on the PC-510 and outboard systems such as the PC/104 expan­sion card.
Floppy and hard disk ports
The floppy disk port supports two drives with either 720 KB or 1.44 MB capacities. The floppy port is terminated with a 34-pin IDC connector. The EIDE hard drive port is terminated with a 44-pin, 2 mm connector. +5V is supplied to a 2mm hard drive through the EIDE connector and +5V is also optionally supplied to the floppy drive through the IDC connector.
Boot sequence
A PC-510 can be configured to boot from the on-card, solid-state disk, an external floppy or hard disk.
Multifunctional printer port
The PC-510 incorporates the latest enhanced parallel port.
n Unidirectional n Bidirectional n IEEE 1284, ECP and EPP modes n 24 mA of drive current n Backdrive protection
The following represent applications in the multifunctional parallel port:
1-6
n LPT1 for PC compatible printers n 17 general purpose digital I/O lines n Up to a 4 x 4 matrix keypad n 4-line alphanumeric display n MPB-16PC, 16-position opto-module rack.
PC-510 user’s manual Overview
Watc hdog timer added for saf ety
The watchdog timer resets the system if the program stops unexpect­edly. The watchdog is enabled, disabled and strobed under software control. The time-out is 1.6 seconds (typical).
Real time calendar/cloc k with battery-backup
The real time clock is fully AT compatible and uses the standard DOS calls. An optional off-card battery powers the real time clock when the 5 volt supply is removed. A connector is provided for the external bat­tery. The real time clock also provides the user with 128 bytes of user­defined CMOS-RAM.
I/O connectors
With the exception of the mouse, keyboard, and IDE, all I/O connectors can be latched to prevent connector movement during shock or high vibration.
Keypad and LCD displa y support for low-cost operator interface
For embedded applications, the parallel printer port or the EZ I/O port can interface with a 16-key matrix keypad and a 2- or 4-line LCD dis­play. The PC-510 is supplied with software that provides keypad scan­ning and display operation. Supplied display and keypad drivers in C support these devices.
Hardware reset
A hardware reset can be done by any of the following methods: n Issuing the RESET software command (using the watchdog
function)
n Depressing the reset switch n Cycling power n Configuring the opto channel for RESET.
A hardware reset ensures complete reset of the system and all attached peripherals. An expired watchdog timer cycle also causes a hardware reset to occur.
5 Volt operation lowers system cost
The PC-510 operates from a single 5V ±5% supply. Located across the power supply, the 6.2V, 5W zener diode protects against reverse voltage and limits over voltage. The power supply generates the RS-232 volt­ages on-board the PC-510. The locking power connector is a standard PC power header connector.
1-7
Overview PC-510 user’s manual
n 5V ±5%, 1.0A to 2.0A (dependent upon processor, speed and I/O
devices), less than 500 mA in standby
n +12V, -12V and -5V supplied to PC/104 expansion connector and
display connector, not required for PC-510 operation
n A standard PC power supply may be used. See the Power supply
requirements section in the Quick start chapter for more information
on power supply selection and criteria.
Rugged envir onmental operation
n Operating temperature -40° to 70°C, operating with
adequate airflow
n Nonoperating temperature -55° to 90°C, nonoperating n Relative humidity 5% to 95% noncondensing n Altitude -100 to 10,000 m n Shock 10g, 3 axis n Vibration 3g, 3 axis
Note Forced air cooling is required above 45°C if power management is not
used.
Size
5.75" x 8.0" x 0.9375"
1-8
PC-510 user’s manual Quick start
Chapter 2:
Quick start
This chapter covers the basics of setting up a PC-510 system and tells you:
n How to install and power on the PC-510 and run a demo program n How to use a serial console instead of the on-board SVGA video.
Follow the mounting procedures for the PC-510. To establish a serial console link, go to the Serial console section in the Console devices chapter.
Installing the PC-510
To install the PC-510 you will need the following equipment (or equivalent):
n PC-510 Mobile Industrial Computer n +5V power module n AT compatible keyboard with PS/2 connector n VGA monitor n VGA-12 cable
1. Refer to the PC-510 component diagram (Figure 2-1) for the location of various connectors, before installing your PC-510 system.
WARNING!
The PC-510 Mobile Industrial Computer contains static sensi­tive CMOS components. Do the following to avoid damaging your card and its components:
n Ground yourself before handling the PC-510 card n Disconnect power before removing or inserting a PC/104
expansion card
n When programming a memory device, place the device in
the socket before applying power.
Hardware components required to mount the PC-510:
n 8 threaded hex stainless steel standoffs (4-40 x 3/8") n 8 screws (4-40 x 1/4") n 8 internal star lock washers (4-40)
2. Use the #4 standoffs, washers, and screws and place them in the eight holes on the PC-510 board. Refer to Figure 2-2 for the center-to-center mounting hole dimensions and for the location of the designated holes used for mounting the hardware.
2-1
Quick start PC-510 user’s manual
Figure 2-1 PC-510 component diagram
2-2
PC-510 user’s manual Quick start
Figure 2-2 PC-510 center-to-center hole dimensions
.331
2.858
2-3
Quick start PC-510 user’s manual
WARNING!
Before the PC-510 is powered on, all eight standoffs, screws and washers should be secured to the board. The standoff pieces will ensure full support of the PC-510 not only on all four sides, but also in the middle of the board. These hard­ware pieces will reduce the circuit board flex when the PC/104 expansion board and/or the SSD0 are inserted. Flex­ing of the PC-510 board should be avoided, since it can cause problems with the copper circuit traces and the surface mounted components.
3. The power supply connector is located at P8, P9. Make certain to connect the ground wires (typically black) to all ground connectors at P8, P9 on the PC-510. Refer to Figure 2-3.
WARNING!
Accidently crossing the wires, i.e., plugging +5V wires into the ground connector or the ground wires into the +5V connector can damage the PC-510.
Figure 2-3 Power connector: P8, P9
Standard cable wire colors
Note By removing the keys on the PC-510, it is possible to key your power
connector header to your power supply connector. To insert the power connector without removing the keys, angle the connector at 90° and then place it on P8, P9.
+5V
Red
+5V
Red
+5V
Red
–5V
White
Gnd
Black
Power header
Gnd
Gnd
Gnd
Black
Black
Black
–12V
Blue
+12V
Yellow
P8, P9
+5V
NC
Red
Orange
2-4
PC-510 user’s manual Quick start
Table 2-1 Power connector: P8, P9
Pin Description (P8) Pin Description (P9)
1N.C. 1Gnd
2+5V 2Gnd 3 +12V 3 –5V 4–12V 4+5V 5Gnd 5+5V 6Gnd 6+5V
Note See the Accessories appendix for connector information on the power
connector.
4. Connect the PS-2 style keyboard directly to the keyboard port at J2 and
a VGA monitor to J20 using a VGA-12 cable. Refer to Figure 2-4.
Figure 2-4 PC-510, keyboard, and monitor
Keyboard connector, J2
Mouse connector
PC-510
VGA-12
cable
Keyboard cable
VGA Monitor
J20
2-5
Quick start PC-510 user’s manual
Reference designators
The following tables illustrate jumper connections and pins jumpered on the PC-510:
Table 2-2 PC-510 connectors
Reference designator Description
J 1 Speaker J13 GPS module J2 Keyboard J14 Flat panel J3 Mouse J15 EZ I/O 1 J4 COM3 /COM4 J16 EZ I/O 2 J5 COM5 /COM6 J17 OPT OA/OPTOB J6 LPT1 Printer J18 Bat te ry J7 COM1/COM2 J19 P C Video J9 Floppy disk drive J20 SVGA CRT analog J10 IDE hard drive P8, P9 Power J11 PC/104 J12 N/A
Reference designator Description
Note See the Accessories appendix for connector information on the above
connectors.
Table 2-3 RS-485 termination select jumper: W1
2-6
Pins Description
[1–2] No funct ion, used for shunt storage [3–4] No funct ion, used for shunt storage [5 –6]* No function , us ed for shunt storage [7–8] RS–485 terminated(–), idle line at space [9 –10] RS–48 5 te rm ina te d(+) , idl e line at sp ace [7–9]* RS–485 terminated (–), idle line at mark [8–10]* RS–485 terminated( +), idle line at mark
* = def aul t, pi ns ju mpe re d.
PC-510 user’s manual Quick start
Table 2-4 BIOS and boot option jumper: W2
Pins Label Description
[1–2]* V0 C0000–C7FFF BIOS region togg le** (video BIOS
region 1)
[3–4] E Enhance d mode, CP U clock speed: on = 133MHz;
off = 120MHz
[5–6 ] * B BIOS de vic e: on = SSD1; off = SSD0 [7–8]* T SSD0 ty pe: o n = flash /SR AM; off = EPROM [9–10]* S Use SETUP information: on = EEPROM; off = BIOS
default
* = default, pins jumpered ** = Toggles in BIOS e xtension areas work in combination with toggles in the SETUP B IOS ex t ens i on area s. See t he informa tio n on the BIOS regi ons.
Co ns o l e devi ces
ch apter fo r m o re
Table 2-5 Auxiliary option jumper: W3
Pins Label Description
[1–2]* V1 C8000–CFFFF BIOS region toggle** (video BIOS region 2) [3–4]* X D8000–DFFFF BIOS region t oggle* * * (PICO FA) [5–6]* U2 User option ju mper 2 [7–8]* VE VGA controller: on = enabled; off = disabled [9–10] I IRQ matrix: on = disabled; off = enabled
* = f act ory defa ult , pi ns jumper ed ** = Toggles in BIOS extension areas work in combination wit h toggles in the SETUP BIOS extension areas. See the on BIOS regions. *** = Enab le s or disab l es PIC O Flash Arra y extended BIOS.
Conso l e device s
chap t e r f o r m ore i nf o rm a ti on
Table 2-6 EZ I/O pull-up/pull-down, user option jumper: W4
Pins Label Description
[1–2]* EZ I/O 1 pull up to +5V [2–4] EZ I/O 1 pull down to Gnd [5–6]* EZ I/O 2 pull up to +5V [6–8] EZ I/O 2 pull down to Gnd [9–10]* U Us er option jumper 1
* = default, pins jumpered
2-7
Quick start PC-510 user’s manual
Table 2-7 SSD0 device selection jumpers: W5, W2[7-8]
Pins Description
W5[1-3, 2-4, 5-7, 8-10] W2[7-8] SRAM with battery backup* W5[1-2, 3-4, 5-6, 9-10] W2[7-8] Fl ash W5[1-2, 3-4, 5-6, 9-10] EPROM**
* = default, pins jumpered ** = W2[7- 8] is not j umpered
Table 2-8 Jupiter module antenna voltage select: W6
Pins Description
[1–2 ] 12V* [1–3] 5V
* = defau lt, pins jumpered
Table 2-9 Flat panel interface voltage select: W8
Pins Description
[1–2] 5V* [3–4] 3.3V
* = defau lt, pins jumpered
Table 2-10 Inverted shift clock signal voltage level select: W9
Pins Description
[1–2] 3.3V [3–4] 5V*
* = defau lt, pins jumpered
PC-510 power supply requirements
The PC-510 is designed to operate from a single +5VDC supply. An AT compatible power supply connector header (P8, P9) is on board and ensures the required number of power and ground paths from the power supply. Make sure that you utilize all three +5 VDC conductors and all four ground conductors.
2-8
The power connector at P8, P9 also provides +/-12VDC and -5VDC required for any PC/104 expansion board. P8, P9 also supplies the correct voltage, +12 VDC, for flat panels that require back light opera­tion. Refer to the P8, P9 power connector Table 2-1 for a complete listing of pinouts and their description.
PC-510 user’s manual Quick start
The maximum current requirements for the PC-510 is 2.0 A provided through P8, P9. It is important that a quality power supply be used with the PC-510. For example, when a particular application calls for a custom power supply, there are several internal issues to consider such as current capacity, line and load regulation, maximum ripple, hold up time, efficiency, and current limiting. The user should also consider the power devices and equipment such as the power cable conductor gauge, number and length of conductors, mating connectors, and the power supply to external devices such as hard drives, floppy drives, displays, mouse, and keyboard.
The proper selection of a quality power supply ensures reliability and proper functioning of the PC-510.
WARNING!
Make sure the power supply is OFF when connecting the power cable to the PC-510 board. Damage to the PC-510 may occur if the power is ON when connecting the power cable.
Running a demo program
Logon message
1. Power on the PC-510.
2. A logon message similar to the one below appears on your PC
monitor:
PhoenixBIOS(TM) A486 Version x.xx Copyright (C) 1985-1994 Phoenix Technologies, Ltd.
All Rights Reserved Octagon Systems Corp. PC-510 CPU
PC510 BIOS vx.xx - mm/dd/yy Am586-WB processor detected operating at 133 MHz 640K Base Memory, 5x86 133 MHz
On board memory configured as EDO DRAM INT 17h BIOS extension vx.xx
Copyright (c) 1995-96 Octagon Systems Corporation PICO Flash Array
Copyright (c) 1996, Phoenix Technologies Ltd. Resident Flash (RFA) OEM Layer
Phoenix Pico Flash Array
2-9
Quick start PC-510 user’s manual
Octagon Systems vx.xx First drive is in SSD1 (1856K, AMD 2 MB flash)
Starting ROM-DOS... HIMEM v6.22 (Revision x.xx)
Copyright (c) 1989-1995 Phoenix, Inc. VDISK v6.22 (Revision x.xx)
Copyright (c) 1989-1995 Datalight, Inc. Extended Memory Present
VDISK v6.22 (Revision x.xx) Copyright (c) 1989-1995 Datalight, Inc. Formatting 2304K XMS memory as drive E:
PC510 C:\> demo To begin the demo.exe program, press any key.
Then a demonstration program will begin. If you do not get the proper logon message, please do the following:
n Make sure all jumpers are set to factory defaults. Refer to the
Technical data appendix for all default jumper settings.
n If the system still does not respond, remove W2[9-10] to run BIOS
default SETUP and try again. Also, refer to the Troubleshooting chapter.
3. Use the directory command to make sure your equipment and software are working properly. Enter:
PC510 C:\> DIR
A directory listing of files stored in the SSD1 socket should appear:
Volume in drive C is SSD1 Volume Serial Number is 3214-1BE4 Directory of C:\
COMMAND COM 26,321 04-12-96 6:22p AUTOEXEC BAT 38 04-12-96 8:26p CONFIG SYS 67 04-12-96 8:26p DOS <DIR> 04-12-96 8:26p UTILS <DIR> 04-12-96 8:26p DEMO.EXE EXE 27,922 04-12-96 8:26p DEMO BAS 5,045 04-12-96 8:26p
7 file(s) 26,426 bytes
105,472 bytes free
2-10
PC-510 user’s manual Quick start
What’ s next
1. To run SETUP and configure the system, see the SETUP programs
chapter.
2. To connect a floppy and/or hard drive, see the External drives chapter.
3. Refer to the Transferring files/remote disks chapter to transfer files
from a host PC and to use a remote disk via a serial connection.
4. To use a serial console, refer to the Console devices chapter.
2-11
Quick start PC-510 user’s manual
2-12
PC-510 user’s manual SETUP programs
Chapter 3:
Introduction
Three system configuration programs exist for the PC-510. They are:
n SETUP – Configures devices set up by the BIOS such as serial ports
n SETSSD – Configures PICO FA SSD device order n PMISETUP – Configures power management options at a more
n SETIRQ – Configures the interrupt routing matrix.
SETUP
SETUP programs
and floppy drives
detailed level than SETUP
SETUP can be entered in one of two ways:
n Run SETUP.COM n Press the “backspace” key followed by the “S” key during BIOS
POST sequence (this occurs between the memory test and boot). Also, by removing the USESETUP jumper from W2[9-10], you may
force the setup to temporarily revert to the BIOS defaults (Table 3-1) and also allow the user to reconfigure the setup options.
The SETUP program defines the PC-510 system parameters. This program is shipped with default configuration parameters stored in the serial EEPROM. Changes are made by running the SETUP program. The SETUP program is stored on the SSD1 drive and on the PC-510 utility disk.
3-1
SETUP programs PC-510 user’s manual
Table 3-1 PC-510 SETUP parameters
SETUP parameters Description Default
Serial console on COM1 Allows COM1 to be used
Enabled as a console when on-board video is di sabled
COM1 console baud ra te Speci fies communication s
9600 rate between PC and PC-510 w hen serial console is in use
Po wer-on memor y tes t Extens ive memo r y testing
Enabl ed performed on bootup
Boot sequence Specifies whether the f loppy
C: Only drive will b e ign ored as a boot device
Se rial p ort COM1 Specifies COM1
Enabled enable /disable
Serial port COM1 address COM1 address 3F8h Se rial p ort COM2 Specifies COM2
Enabled enable /disable
Serial port COM2 address COM2 address 2F8h Parallel (LPT) port Specifies LPT port
Enabled enable/disable
Parallel port mode Specifies mode to use
with parallel port
Parallel port address Specifies address to use
Bidirectional
printer port
378h w/parallel port
Number of floppy drives Specifies number of
0 floppy drives attached
On-board floppy controller Specifies location of floppy:
Disabled on-board or on PC/104 bus
On-board I DE interface Specifies usage of on-board
Disabled IDE connector or PC/104 bus
3-2
PC-510 user’s manual SETUP programs
Table 3-1 PC-510 SETUP parameters (cont’d)
SETUP parameters Description Default
Primary mast er fixed disk Specif ies whi ch I DE
None
interface is used
Pr im a r y sl av e fi x e d di s k Sp e ci f i es which IDE
None
interface is used
Secondary master fixed disk
S eco n dar y sl av e fi x e d di s k Sp ec i f ie s whi c h I DE
Specif ies which IDE interface is used
None
None
interface is used
Internal CPU cache Specifies CPU cache
Enabled
enable/disable
CPU cache m ode Specif ies writ e-th rou gh/
Write-back write-back on some CPUs (processor specific)
Limit CPU to hal f speed Limits the top CPU speed No
SE TU P entry via hotkey Specifies <backspace><S>
hotk ey enable/disable
Power ma nagement Specifies power managemen t
enable/disable
Doze clock Specifies doze mode in power
management is to slow or stop the clock
Time update after suspend Specifies to allow update of
time after suspend mode
DIMM module type S pecifies the typ e of
DIMM module
ROM Enable Toggles video BIOS region
(f irst 32 KB)
ROM Enable
C8000-CFFFFh
Toggles video BIOS, second region (first 8 KB i s video BIOS)
ROM Enable
D8000h-DFFFFh
Toggles extended BIOS ar ea for PICO FA and INT 17h BIOS
Shadow
C0000h-C7FFFh
Specifies video BIOS shadow enable/disable (first 32 KB)
Shadow Shadow enable/disable
(first 8 KB is video BIOS)
Enabled
Enabled
Slow
Enabled
EDO
Enabled
Enabl ed
Enabl ed
Enabl ed
Enabled
Shadow Shadow enable/disable Disabled
Shadow Shadow enable/disable Disabled
3-3
SETUP programs PC-510 user’s manual
Running SETUP over the console port
1. To run SETUP make sure you have established a communications link between a keyboard and monitor with the PC-510 or a serial communi­cations link between the PC-510 and your PC. See the Console devices chapter for more information on these two links.
2. Enter:
PC510 C:\> SETUP
Note If you are not booting from the SSD0 drive, the drive designator may
differ.
Note You may also enter SETUP after the memory test and before the sys-
tem has booted by pressing the “backspace” key followed by the “S” key.
3. The system will display the PC-510 setup parameters and available options. Select the option by pressing the space bar until the correct information appears, then press <ENTER>. Press <ESC> twice if you want to exit SETUP without saving your responses.
Note Options having an * are default settings.
n Serial Console on COM1:
ENABLED* DISABLED
WARNING!
Disabling the serial console when there is no video monitor present will stop further serial console communication with the system after the system resets. Once disabled, you may re-enable the serial console by running SETUP. To run SETUP, do one of the following steps:
n Remove the USESETUP jumper, reboot and run SETUP n Install a video monitor, reboot and run SETUP. You
have elected to DISABLE the serial console.
n Serial Port COM1 Console Baud Rate:
1200 2400 4800 9600* 14400 19200 28800 38400 57600 115200
3-4
PC-510 user’s manual SETUP programs
n Power on memory test:
Enabled* Disabled
You may want to disable the memory test to speed up the boot process. You may also press the space bar to cancel the memory test while in progress.
n Boot Sequence:
Note Standard mode is provided for compatibility only. We recommend the
use of bidirectional mode. EPP and ECP modes are provided for equip­ment that has the capability to operate in these modes for enhanced performance.
n Number of floppy drives:
0*, 1, 2 C: Only*
A: Then C:
n Serial Port COM1:
Enabled* Disabled
n Serial Port COM1 address:
3F8h* 2F8h 338h 3E8h 2E8h 220h 238h 2E0h 228h
n Serial Port COM2:
Enabled* Disabled
n Serial Port COM2 address:
2F8h* 338h 3E8h 2E8h 220h 238h 2E8h 2E0h 228h
Note Octagon strongly recommends the use of 3F8h for COM1 and 2F8h for
COM2.
3-5
SETUP programs PC-510 user’s manual
Note The choices for COM1 and COM2 addresses are mutually exclusive;
therefore, you may not see all the choices listed above. COM1 and COM2 addresses may also conflict with those belonging to COM3 through COM6. Refer to the Serial ports chapter for a complete descrip­tion on conflicting addresses.
n Parallel (LPT) Port:
Enabled* Disabled
n Parallel Port Mode:
Bidirectional mode* EPP mode ECP mode Standard (Unidirectional) mode
n Parallel Port Address:
378h* 278h 3BCh
n IRQ for LPT port
IRQ7* IRQ5
n Onboard floppy controller:
Enabled (enables onboard floppy connector, J9) Disabled*
n Drives A and B:
No* - requires a swap in the cable Yes - does not require a swap in the cable
n Floppy drive 1 size:
Not Installed
5.25", 360 KB
5.25", 1.2 MB
3.5", 720 KB
3.5", 1.44 MB*
n Floppy drive 2 size:
Not Installed
5.25", 360 KB
5.25", 1.2 MB
3.5", 720 KB
3.5", 1.44 MB*
3-6
n Onboard IDE interface:
Disabled* Enabled (enables J10)
PC-510 user’s manual SETUP programs
n Primary master fixed disk:
None* Auto - detects hard disk parameters User - detects hard disk parameters
n Drive 1 parameters:
Cylinders (xxx) Heads (xx) Sectors (xx)
n Internal CPU cache:
Enabled* Disabled
n Limit CPU to half speed:
NO* YES
n Setup entry via hotkey:
Enabled* Disabled
n Power management:
Enabled* Disabled
n Doze clock:
Slow* Stop
n Time update after suspend:
Enabled* Disabled
n DIMM module type:
EDO* Standard
n Shadow C0000h - C7FFFh:
Disabled Enabled*
n Shadow C8000h - CFFFFh:
Disabled Enabled*
n Shadow D0000h - D7FFFh:
Disabled* Enabled
3-7
SETUP programs PC-510 user’s manual
n Shadow D8000h - DFFFFh:
Disabled* Enabled
Press ENTER to SAVE the changes or Press ESC to EXIT without saving the changes. Saving options. Options saved.
Depending on the options you have selected, the system may display the following message:
You must reset for these options to take effect.
If you entered SETUP with the hotkeys (i.e., “backspace” and “S” keys), the system will reboot automatically.
SETUP example
The following example configures a system with no memory test, 9600 baud, printer at 378h, and booting from C:
OCTAGON SYSTEMS CORPORATION
PC510 SETUP UTILITY Vx.x
(c) Phoenix Technologies, Ltd. 1985, 1995
_________________________________________________
(Press SPACE to CHANGE, ENTER to ACCEPT, ESC to EXIT)
Serial Console on COM1: ENABLED
COM1 Console Baud Rate: 9600 Power on memory test: DISABLED Boot Sequence: C: ONLY Serial Port COM1: Serial Port COM1 Address: 3F8h (default) Serial Port COM2: Serial Port COM2 Address: 2F8h (default) Parallel (LPT) Port:
Parallel Port Mode: Bidirectional Printer Port
Parallel Port Address: 378h Number of floppy drives: 1
Onboard Floppy Controller: ENABLED
Swap drives A and B: N O Floppy drive 1 size: 3.5", 1.44 MB Onboard IDE Interface: ENABLED Primary Master Fixed Disk: AUTO Primary Slave Fixed Disk: USER Secondary Master Fixed Disk: NONE Secondary Slave Fixed Disk: NONE Internal CPU cache: ENABLED Limit CPU to half speed: NO SETUP Entry via Hotkey: ENABLED Power Management: ENABLED
Doze Clock (slow, stop): SLOW
Time Update after Suspend: ENABLED DIMM Module Type: EDO Enable ROM at C0000h-C7FFFh: ENABLED Enable ROM at C8000h-CFFFFh: ENABLED Enable ROM at C8000h-DFFFFh: ENABLED
ENABLED ENABLED ENABLED
3-8
PC-510 user’s manual SETUP programs
Shadow D0000h-C7FFFh: ENABLED Shadow C8000h-CFFFFh: ENABLED Shadow D0000h-D7FFFh: DISABLED Shadow D8000h-DFFFFh: DISABLED
Press ENTER to SAVE the changes Press R to RESTART with original values or Press ESC to EXIT without saving the changes:
Options Saved. You must reset for these options to take effect.
PC510 C:\>
Note Executing SETUP /D will change all setup parameters to default values.
SETSSD
For more information on SETSSD, refer to the Defining SSDs using SETSSD section in the Managing SSDs chapter.
PMISETUP
PMISETUP allows the user to customize the power management fea­tures of the PC-510. Refer to the CPU power management chapter. See also the Software utilities appendix for details.
SETIRQ.EXE
To change interrupts via software using SETIRQ.EXE, refer to the Programming section in the IRQ routing opto IRQs chapter.
3-9
SETUP programs PC-510 user’s manual
3-10
PC-510 user’s manual Save and run programs
Chapter 4:
Save and run programs
Save and run your programs on the PC-510
Once you have written, tested and debugged your application, you can then save it to flash memory in SSD1 or SSD0 (if flash or SRAM). When you reboot the PC-510, your program can automatically load into DOS memory and execute. As shipped from the factory, SSD1 already con­tains a bootable ROM-DOS.
This chapter describes the following:
n Saving an application program to SSD1 n Autoexecuting the program from the PC-510 n Overriding autoexecution of your program.
The information in this chapter assumes you are using ROM-DOS in your application. Some Microsoft programs make undocumented DOS calls. With ROM-DOS, an error returns when an undocumented DOS call is made, causing your program to operate erratically. We recom­mend booting from SSD1, using your own DOS, when using programs with undocumented DOS calls. Refer to the section Adding operating system startup files in the Managing SSDs chapter for more information on saving and autoexecuting programs.
Saving programs and support files
By default, the drive in SSD1 comes preformatted from the factory, loaded with ROM-DOS startup files and an example demo program. To replace the demo program on SSD1 with your own, see the section Adding your application, in this chapter. To reformat an SSD or to add your own operating system, please refer to the Managing SSDs chapter.
WARNING!
Reformatting SSD1 requires the use of a floppy or a hard disk to restore system files.
4-1
Save and run programs PC-510 user’s manual
Adding your application
To add your application to your SSD, do the following:
1. Three methods of copying your application to the SSD are available. Do one of the following:
n From a local drive to the PC-510, issue the COPY command. n From a host drive, download your application by issuing the
TRANSFER command when using PC SmartLINK. Refer to the section, Transferring files between the PC-510 and your PC in the Transferring files/remote disks chapter.
n To establish a remote drive and copy from it, issue the REMDISK
and REMSERV commands. Refer to the section, Transferring files
between the PC-510 and your PC in the Transferring files/remote disks chapter.
2. Add or remove any device drivers for your application. You may want to do the same for the CONFIG.SYS file on SSD1. Remember to add these drivers to your drive as well.
3. To autoexecute your application, add your application name to the AUTOEXEC.BAT file. To replace our example program (DEMO.EXE) with your application, substitute DEMO in the AUTOEXEC.BAT file with your applications’ filename.
Autoex ecuting your application
This section describes how to autoexecute your application.
1. To autoexecute your application in SSD1, use the SETSSD command to define your SSD as the boot device. Since you need to define the order of SSD1 as the first of the SSDs (and before any IDE drives), enter the following command:
PC510 C:\> SETSSD SSD1 SSD0 /before
2. Reset the system. SSD1 is now drive C: and your application should begin execution.
Note If the SETUP option “Boot Sequence” is set to “A: THEN C:”, remove
any floppy in drive A: before resetting the system.
Note We recommend that you leave SSD0 in the SETSSD options or that you
have a copy of SETSSD.EXE on SSD1. This allows you to change your boot device back to SSD0 when needed.
4-2
Note The SETSSD options are not used when W2[9-10] is not jumpered.
PC-510 user’s manual Save and run programs
Overriding the autoexecution of your application
You may stop the autoexecution of your application by doing one of the following options:
Option 1
1. Press F5 or F8 on your local keyboard. For more information, see your ROM-DOS manual.
Option 2
1. Change AUTOEXEC.BAT and/or CONFIG.SYS to not call out your program.
Option 3
1. Install a floppy.
2. Change SETUP option “Boot Sequence” to “A: THEN C:”
3. Change SETUP to enable the floppy.
4. Boot from floppy.
5. Change AUTOEXEC.BAT on C:.
4-3
Save and run programs PC-510 user’s manual
4-4
PC-510 user’s manual Overview of Section 2
Overview:
Section 2 – Hardware
Section 2 discusses usage, functions, and system configurations of the PC-510’s major hardware features. The following chapters are included:
Chapter 5: Serial ports Chapter 6: LPT1 parallel port Chapter 7: Console devices Chapter 8: SSDs, DRAM, and battery backup Chapter 9: External drives Chapter 10: IRQ routing and opto IRQs Chapter 11: EZ I/O Chapter 12: LED signaling and “beep” codes Chapter 13: CRTs and flat panels Chapter 14: GPS interface Chapter 15: PC/104 expansion
Overview of Section 2 PC-510 user’s manual
PC-510 user’s manual Serial ports
Chapter 5: Serial ports
Description
The PC-510 has six standard serial ports, COM1 through COM6, that are 16C550 compatible. Under OEM contract, COM5 and COM6 can be omitted. These serial ports interface to a printer, terminal or other serial device. All ports support 5-, 6-, 7-, or 8-bit word lengths, 1, 1.5, or 2 stop bits, and baud rates up to 115.2K. All ports have the following specifications:
16C550 compatible16 byte FIFO buffersIEC 1000, level 3, ESD protection
— Contact discharge ±6 kV — Air-gap discharge ±8 kV
Backdrive protectionUp to 115.2k baud operation5-, 6-, 7-, or 8-bit word lengths1-, 1.5-, or 2-stop bits
Serial port options
The standard version PC-510 has COM1 and COM2 installed as an 8-wire interface. Under OEM contract, you can order all six serial ports in various configurations, tailored to your application.
Table 5-1 COM port options
COM ports Standar d features Option al features
  
  
  
  
 

 



5-1
Serial ports PC-510 user’s manual
Description of serial ports
Conflicting COM port addresses
The following table lists the COM1 and COM2 addresses that conflict with those addresses belonging to COM3 through COM6.
Table 5-2 Conflicting COM port addresses
COM1 COM2 C OM3 COM4 COM5 COM6
             
       
 
COM1
COM1 is either a full 8-wire RS-232 (standard) or an industrial 4-wire RS-232 (optional) configuration. The I/O address for COM1 is 3F8h (default) but can be changed in SETUP to any of the addresses in the table below. Refer to the SETUP programs chapter for more informa­tion on running SETUP. IRQ4 is dedicated to COM1 and if COM1 is not used under interrupt control, IRQ4 may be used by other resources. For example, when COM1 is the console, COM1 uses IRQ4. COM1 can be used for console I/O or RS-232 I/O. COM1 and COM2 share the J7, 20-pin header. See the chapter on IRQ routing and opto IRQs for more details.
Table 5-3 COM1 available addresses (IRQ4 dedicated)
COM1 a vailable addresses
        

5-2
PC-510 user’s manual Serial ports
COM2
COM2 is either a full 8-wire RS-232 (standard) or an industrial 4-wire RS-232 (optional) configuration. RI on COM2 can be used as a method of “waking up” the PC-510 from a power management SUSPEND operation. Refer to the CPU power management chapter for more information. The I/O address for COM2 is 2F8h (default) but can be changed in SETUP to any of the addresses in the table below. For more information on running SETUP, refer to the SETUP programs chapter. IRQ3 is dedicated to COM2. If COM2 is not used under inter­rupt control, IRQ3 may be used by other resources such as the PC/104 expansion board, the GPS module, IRQ routing, etc. Refer to the IRQ routing and opto IRQs chapter for details. COM1 and COM2 share the J7, 20-pin header.
Table 5-4 COM2 available addresses (IRQ3 dedicated)
COM2 a vailable addresses
        

Note See the Accessories appendix for connector information on COM1 and
COM2.
COM3 through COM6 interrupt/status port
COM3 through COM6 share the same interrupt—they default to IRQ15. To determine which serial port caused the interrupt, you must first read the interrupt status port. Follow these steps to read the interrupt status port:
1. Refer to Table 5-5 to read register 0A9h, which includes I/O range select A (bit 5) and I/O range select B (bit 4) information.
Table 5-5 Register 0A9h
Bit Descriptio n

        

 
5-3
Serial ports PC-510 user’s manual
2. Determine the interrupt status port address based on bit 5 (I/O range select A) and bit 4 (I/O range select B) at register 0A9h. See the table below.
Table 5-6 Reading the interrupt status port: Register 0A9h
I/O range select A B
     
     
     
     
  
COM3 addresses
COM4 addresses
COM5 addresses
COM6 addresses
Interrupt status port
For example, if bits 5 and 4 are both 1, the interrupt status port address is 338h (default). If bits 5 and 4 are both 0, the interrupt status port address is 158h; if bit 5 is 0 and bit 4 is 1, the address for the interrupt status port is 138h; and if bit 5 is 1 and bit 4 is 0, the address for the interrupt status port is at 358h.
3. Inside your interrupt handler, read the interrupt status port. Bit 0 through bit 3 show which serial port caused the interrupt.
For example, when there is a 1 in bit 3, this means COM3 caused the interrupt; a 1 in bit 2 shows that the interrupt came from COM4; a 1 in bit 1 means that COM5 caused the interrupt; and by default, when a 1 is in bit 0, then COM6 caused the interrupt. See the table above to read the interrupt status port.
5-4
Note Exit the interrupt handler only when bits 0 through 3 are all at 0.
Table 5-7 Interrupt status port (138h, 158h, 338h, and 358h)
Bit Loca tio n




Note All 0s as bits indicate no interrupt and a 1 indicates an interrupt.
It is possible to change the interrupt through the IRQ routing matrix. You can also change bits 4 and 5 I/O ranges, COM5 and COM6 addresses, and the status port addresses through the IRQ routing matrix. See the IRQ routing and opto IRQs chapter for more details on how to change and reroute base addresses.
PC-510 user’s manual Serial ports
COM3
COM3 can be ordered either as an 8-wire RS-232 (standard) or as an industrial 4-wire RS-232 (optional) interface. The I/O address for COM3 is 3E8h. The interrupt for COM3 is logically OR’d with COM4 through COM6. COM3 and COM4 share the J4, 20-pin header. For more information, see the COM3 through COM6 interrupt/status port section in this chapter.
Table 5-8 COM3 available address and IRQ routing
Address IRQ
 
  
COM4
COM4 can be ordered either as an 8-wire RS-232 or as a 4-wire indus­trial RS-232 configuration. The I/O address for COM4 is 2E8h. The interrupt for COM4 is logically OR’d with COM3, COM5, and COM6. COM3 and COM4 share the J4, 20-pin header. For more information, see the COM3 through COM6 interrupt/status port section in this chapter.
Table 5-9 COM4 available address and IRQ routing
Address IRQ
 

Note See the Accessories appendix for connector information on COM3 and
COM4.
COM5
COM5 functions either as an RS-232 serial port or as a global position­ing system (GPS) module port. Both configurations are standard features and may be omitted from OEM boards. The GPS port located at J13 accepts the Rockwell Jupiter GPS module directly. Refer to the GPS interface chapter for more information. The I/O address for COM5 is 320h (default). You can change the default address to 120h, 140h, or 340h through the interrupt routing matrix. The interrupt for COM5 is logically OR’d with COM3, COM4, and COM6. COM5 and COM6 share the J5, 20-pin header. For more information, see the COM3 through COM6 interrupt/status port section in this chapter.
5-5
Serial ports PC-510 user’s manual
Table 5-10 Available addresses for COM5 at port 0A9h (IRQ 15 default, routable)
I/O range select A (bit 5)





I/O range select B (bit 4) COM5 addresses
COM6
COM6 is an industrial RS-232 or a two-wire RS-485 port. COM6 can also be used to route the RTCM SC-104 differential correction data to the GPS receiver. When using this port to route the RTCM SC-104 data to the GPS receiver, the RS-485 portion of the interface remains fully functional, however, the RS-232 function is lost. The I/O address for COM6 is 328h (default). You can change the default address to 128h, 148h, and 348h through the interrupt routing matrix. The interrupt for COM6 is logically OR’d with COM3 through COM5. COM5 and COM6 share J5, 20-pin header. For more information, see COM3 through
COM6 interrupt/status port section in this chapter.
Table 5-11 Available addresses for COM6 at port 0A9h (IRQ 15 default, routable)
I/O range select A (bit 5)





I/O range select B (bit 4) COM6 addresses
RS-485 transmitter con tr ol (bit 1)
Note See the Accessories appendix for connector information on COM5 and
COM6.
Null modem cable
Use a VTC-20F cable to connect either COM1 and COM2, or COM3 and COM4, or COM5 and COM6 ports to external serial equipment. The P2 and P3 connectors are DB-9 female connectors which plug directly into a 9-pin PC serial cable. When interfacing the PC-510 to your desktop PC, you must use a null modem adapter.
5-6
PC-510 user’s manual Serial ports
The PC-510 requires an RS-232 null modem cable to interface to your desktop PC.
Figure 5-1 Null modem adapter and VTC-20F cable
RS–232 Null modem cable
P2
P1
Null Modem Adapter
P3
VTC-20F Cable
Building your own cable
If you are not using a VTC-20F series cable, then you can build your own RS-232 communications cable. This is a simple null modem cable where RxD and TxD signal are crossed. Cable pins 4 and 6 in the first COM port connector of the PC-510 are tied together, and cable pins 14 and 16 in the second COM port connector of the PC-510 are tied to­gether. Pins 7 and 8 are tied together on each DB-9 cable connector. Pins 4 and 5 are tied together on each DB-25 cable connector. Refer to the following table and diagram for a complete listing of all cable con­nections for the PC-510.
Table 5-12 Custom RS-232 null modem cable for the PC-510: First COM port
COM1, COM 2 or COM3, COM 4 or COM5, COM6

 
         
 
serial port signal DB- 9 pin DB- 2 5 pin

 

 

PC port signal
 
5-7
Serial ports PC-510 user’s manual
Table 5-13 Custom RS-232 null modem cable for the PC-510: Second COM port
PC- 510 COM1, COM 2 or COM3, COM 4 or COM5, COM6
  
PC-510 serial port signal DB-9 pin DB-25 pin



PC port signal

        

 
 
             
   

Figure 5-2 Custom null modem cable for the PC-510
First COM port
Second COM port
DCD
DSR
RxD
RTS
TxD
CTS
DTR
RI
GND
+5V Safe
DCD
DSR
RxD
RTS
TxD
CTS
DTR
RI
GND
+5V Safe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
DCD
RxD
TxD
DTR
GND
DSR
RTS
CTS
RI
DCD
RxD
TxD
DTR
GND
DSR
RTS
CTS
RI
DB-9
DB-9
5-8
PC-510 user’s manual Serial ports
Function and use of serial ports
COM1 as serial console device
Instead of the on-board local bus SVGA, you can use COM1 as the console device. See the Console devices chapter for more information. When COM1 is not used as a console device, then it is available to your program as a standard RS-232 port. Octagon Systems strongly urges that you leave COM1 at the 3F8h default address.
COM1 through COM6 as RS-232 I/O
COM1 through COM6 can also be used as RS-232 serial ports. Depend­ing upon the design of each port, COM1 through COM4 can support 4- or 8-wire configurations, and COM5 and COM6 are 4-wire only configurations. Use a VTC-20F cable to interface from the PC-510 and the serial device.
Figure 5-3 PC-510 serial devices
PC-510
COM6 COM5
COM4 COM3
COM2 COM1
Serial device
Serial device
Serial device
Serial device
Serial device
Serial device
COM5 as GPS I/O
COM5 also supports the Rockwell Jupiter GPS module and is accessed at connector J13. Refer to the GPS interface chapter for more informa­tion.
5-9
Serial ports PC-510 user’s manual
COM6 RS-485 transmitter control
COM6 can either have an RS-232 or an RS-485 interface. The default configuration is for an RS-232 port. To change this configuration, use the SETIRQ.DOC support command found in the ISP directory on your PC-510 utility disk.
COM6 defaults to base address 328h. For a complete listing of COM6 addresses, see the COM3 through COM6 interrupt/status port section in this chapter. The RS-485 transmitter is controlled by the COM6 RTS signal. To turn the transmitter ON and OFF through software control, toggle bit 1 of base address + 4 (32Ch). Refer to the following table on RS-485 terminations.
Table 5-14 RS-485 transmitter control: COM6 at location 32Ch
Program statement Description
 

 

Note The above address at COM6 for the RS-485 transmitter control may
change. Refer to Table 5-11 for a complete listing of COM6 addresses.
The RS-485 port is configured for termination for either marking or spacing idle condition, or not terminated. Any node located between the end points should not be terminated. Use W1[1-2][3-4] to disable termi­nation. Jumper W1[7-9][8-10] to provide for marking condition and make sure that both ends of the network are terminated.
Table 5-15 RS-485 termination select jumper: W1
Pins Description
 
 
 
 
  
  
 
 
5-10
PC-510 user’s manual Serial ports
RS-485 network
An application may implement a node as either the “host” node or as a “remote” node in an RS-485 network. There can be as many as 32 nodes without any bus repeaters in the network. A “host” is referred to as the node that initiates communication; while a “remote” is referred to as a node that is addressed by the host.
In any given communication sequence in an RS-485 network, there can only be one host. The host is responsible for initiating communi­cation, maintaining network registration, and providing housekeep­ing tasks with other nodes. Remotes, however, cannot initiate a communication. They can only respond to messages that are ad­dressed to them from the host.
The following diagram demonstrates how a typical two-wire trans­mission is implemented in the RS-485 network.
Figure 5-4 RS-485 two-wire (half duplex) transmission
J5: COM6
RS-485 (+) RS-485 (-)
PC-510
Pin 11
Pin 17
Node
Terminated
T+ T­R+ R-
Node 2
Not Terminated
RS-485
T+ T­R+ R-
Node 3
Not Terminated
T+ T­R+ R-
Node 4
Terminated
5-11
Serial ports PC-510 user’s manual
5-12
PC-510 user’s manual LPT1 parallel port
Chapter 6:
LPT1 parallel port
LPT1 parallel port
The LPT1 port has a 26-pin connector. It supports the unidirectional standard mode, bidirectional mode, enhanced parallel port (EPP) mode, and extended capabilities port (ECP) mode. The default I/O address is 378h (IRQ7). You may choose other nonstandard addresses between 278h (IRQ7) and 378h (IRQ7) in the PC-510 SETUP utility.
The LPT1 port supports a number of devices including a PC compatible printer, a multiline display, a matrix keypad or an opto rack with opto­isolated digital I/O modules.
Note Make sure that the interrupt used for COM3 through COM6 does not
conflict with the IRQ selected for the LPT in SETUP.
Printer
The following table illustrates the pinout for the LPT1 parallel port used as a printer port.
Note See the Accessories appendix for connector information on the LPT1
printer port connector.
Installing a printer
1. Make sure that the LPT1 port is in standard or bidirectional mode.
2. Connect an Octagon VTC-5/IBM cable from the LPT1 port (J6) to the 25-pin connector on your printer cable.
3. Connect the cable to your printer.
Figure 6-1 LPT1 as a printer port
PC-510
VTC-5/IBM cable
LPT1 parallel port
Printer cable
6-1
LPT1 parallel port PC-510 user’s manual
Display
The LPT1 port supports either a 4 x 20 or a 4 x 40 liquid crystal display (LCD). To interface the displays to the PC-510, use the Octagon 2010 interface board. A CMA-26 cable is required to connect the interface board to the PC-510. The program DISPLAY.EXE (found on the PC-510 utility disk) provides an easy method to use the display. Refer to the file DISPLAY.DOC on the PC-510 utility disk for information on initializing and using the display. Also, refer to the 2010 product sheet for more information on the interface board.
Installing a display
1. Connect a CMA-26 cable from the LPT1 port on the PC-510 (J6) to J1 on the 2010. See Figure 6-2.
2. Connect the display cable to either the 14-pin or 16-pin header on the
2010. The size of the display will determine which header to use.
3. Refer to the file DISPLAY.DOC for more information on initializing and using the display.
Keypad
LPT1 also supports 4 x 4 matrix keypads. To interface the keypad to the PC-510, use the Octagon 2010 interface board. A CMA-26 cable is required to connect the interface board to the PC-510. The program DISPLAY.EXE (found on the PC-510 utility disk) provides an easy method to use the keypad. Refer to the file DISPLAY.DOC on the PC-510 utility disk for information on initializing and using the keypad. Also, refer to the 2010 product sheet for information on the interface board.
Installing a keypad
1. Connect a CMA-26 cable from the LPT1 port on the PC-510 (J6) to J1 on the 2010. See Figure 6-2.
2. Connect the keypad cable to the 10-pin header on the 2010.
3. Refer to the DISPLAY.DOC file for more information on reading the keypad.
6-2
PC-510 user’s manual LPT1 parallel port
Figure 6-2 LPT1 as a display or keypad port
Keyboard connector
LCD connectors
PC-510
LPT1 parallel port
2010 Interface
J1
Power connector
CMA-26 cable
Opto rack
The Octagon MPB-16PC opto rack interfaces directly to the parallel printer port and can control high voltage/high current G4 opto-isolated modules. Of the sixteen positions available, eight can be either input or output, four are dedicated as inputs and the other four are dedicated as outputs. Refer to the MPB-16PC opto module rack product sheet for more information.
Figure 6-3 LPT1 and an opto rack
4x4 Keypad
LCD display
PC-510
LPT1 parallel port
CMA-26 ribbon cable
1 2 76543 8 9 1413121110 15 16
J2
J1
J2
P8
+ –
LOGIC
0 1 2 3 4 5 6 8
17 18 2322212019 24 25 3029282726 31
9 10 11 12 13 14 15 16
MPB-16PC opto rack
32
6-3
LPT1 parallel port PC-510 user’s manual
6-4
PC-510 user’s manual Console devices
Chapter 7:
Console devices
Description
The PC-510 has three options for console devices. You can use the on­board video with a monitor and a keyboard as your console. You can also use COM1 as the console or you can run the system without a console device.
Selecting console devices
The following represent the PC-510’s three options for console devices: n Local bus SVGA and a local keyboard. The local bus SVGA can also
drive flat panel displays.
n Serial console from COM1. A serial cable/null modem adapter plugged
into a host PC running SmartLINK provides both input and output. The local keyboard also allows input.
n No console device means no video output, either from the SVGA moni-
tor or the serial console. The local keyboard allows input.
Local bus SV GA
For correct usage of the CRT and flat panel, see the CRTs and flat panels chapter.
Serial console
If the serial console is enabled and the video BIOSes are disabled, then COM1 acts as the console device.
Follow these steps to use the serial console:
1. Power off the PC-510.
2. Connect a VTC-20F cable to J7 of the PC-510. Refer to Figure 7-1.
3. Connect P2 (COM1 side of the VTC-20F cable) to the 9-pin null modem
adapter. Refer to Figure 7-2.
7-1
Console devices PC-510 user’s manual
Figure 7-1 The PC-510 and a serial console
PC SmartLINK
COM
Port
Desktop PC
P1
PC-510
J7
(COM1)
(COM2)
Null modem adapter
P2
P3
VTC-20F cable
4. If your PC has a 9-pin serial connector, connect the 9-pin null modem adapter to any serial port (COM1-COM4) on your PC.
5. If your PC has a 25-pin serial connector, attach a 9- to 25-pin adapter to the 9-pin null modem adapter, and then insert the matching end of the 9- to 25-pin adapter into the serial port.
6. Start PC SmartLINK.
7. Remove W2[1-2] and W3[1-2] to disable the video BIOS.
Note For more information on enabling and disabling the video BIOS, refer to
the following section in this chapter.
7-2
8. Power on the PC-510.
Figure 7-2 VTC-20F cable and null modem adapter
RS–232 Null modem cable
P2
P1
Null Modem Adapter
P3
VTC-20F Cable
PC-510 user’s manual Console devices
Keyboar d
You can use any of the console options mentioned in the Selecting console devices section with a local keyboard.
Note See the Accessories appendix for connector information on the keyboard,
speaker, and mouse connectors.
Speaker
You can also use a local speaker with any of the console options listed above in the Selecting console devices section. Interface the speaker via a 4-pin connector at J1. You may use any external speaker from 8-50 ohms.
Mouse
You can also add the use of a mouse to the list of serial console devices mentioned in the Selecting console devices section in this chapter. The mouse connects to J3 on the PC-510.
Enabling/disabling the video BIOS
The BIOS checks for a video BIOS to determine which console device to use. If a console device exists, the BIOS will use the console device, the CRT, or the flat panel. When the console device does not exist , the BIOS will otherwise use a serial console, if it has not been disabled in SETUP.
To enable/disable the video BIOS area, either change W2[1-2]/W3[1-2] or run SETUP and change C0000h-C7FFFh or C8000h-CFFFFh ROM enable options. The jumpers work as a toggle for the SETUP options. That is, if the SETUP previously shows the BIOS regions as “enabled,” then changing the state of W2[1-2]/W3[1-2] will disable the regions.
To verify the SETUP program’s state for the C0000h-CFFFFh regions, remove the USESETUP W2[9-10] and install W2[1-2] and W3[1-2]. This jumper installation enables the video BIOS areas. To allow for serial console use, disable the video BIOS areas by removing W2[9-10] and W2[1-2]/W3[1-2]. See Table 7-1 and Figure 7-3 as reference guides for disabling and enabling the video BIOS and changing ROM enable.
7-3
Console devices PC-510 user’s manual
Table 7-1 Video BIOS disabling and enabling options in SETUP
(C0000h-C7FFFh, C8000h-CFFFFh ROM Enable)
Current SETUP stat e of C 0000h - C7FFF h, C8000h-CFFFFh (ROM Enable)
Curre nt jumper state of W2[1-2](V0)/ W3[1-2](V1) Desired state SETUP op tion
Di s abl ed On E n abled Chan g e SE TUP to
enabl ed or re move W2[1-2](V0)/ W3[1-2](V1)
Di s abl ed Of f Enabled Chan g e SE TUP to
enabl ed or install W2[1-2](V0)/ W3[1-2](V1 )
Enabled On Disabled Change SETU P to
disabled or remove W2[1-2](V0)/ W3[1-2](V1 )
En abled Off Dis abled Chan ge SETUP to
disabled or inst all W2[1-2](V0)/ W3[1-2](V1 )
Note Octagon strongly recommends that you configure both the ROM Enable
SETUP option and the jumpers, W2[1-2] and W3[1-2] at the same time.
Figure 7-3 Changing ROM Enable flowchart
Can you run SETUP?
YES
Run SETUP, then choose SETUP ROM enable options
W2[1–2](V0)/ W3[1–2](V1) installed?
YES
Remove W2[1–2](V0)/ W3[1–2](V1)*
NO
NO
Install W2[1–2](V0)/ W3[1–2](V1)*
7-4
PC-510 user’s manual Console devices
*= If the SETUP state is unknown, you may need to change W2[1-2] and W3[1-2] one at a time.
Re-establishing communications when the console is not working
If the ROM Enables SETUP state and jumpers W2[1-2]/W3[1-2] were not configured at the same time, then proceed with Steps A through C:
Step A
1. Remove USESETUP W2[9-10].
2. Install W2[1-2]/W3[1-2].
3. Reboot the system.
If Step A does not work, then follow Step B.
Step B
1. Make sure the BIOS jumper W2[5-6] is on. To use the BIOS in SSD1,
install W2[5-6]. To use the BIOS in SSD0, remove W2[5-6].
2. Reboot the system. If Step B does not work, then follow Step C.
Step C
1. Remove W2[1-2]/W3[1-2].
2. Attach a serial cable to COM1.
3. Run PC SmartLINK at 9600 baud.
4. Boot the system.
5. Program a new video BIOS if needed.
6. Run SETUP and set the ROM Enable SETUP states accordingly.
7. Re-install the USESETUP jumper W2[9-10].
7-5
Console devices PC-510 user’s manual
7-6
PC-510 user’s manual SSDs, DRAM, and battery backup
Chapter 8:
SSDs, DRAM, and battery backup
Description
Before you can save and boot your application from the PC-510, you must first configure the system for your particular application requirements.
SSD0 (optional)
SSD0 is an optional feature and is not installed on the standard version of the PC-510.
Incorrect installation of SSD0 will destroy the chip. To install SSD0, be sure to match the notch in the SSD0 chip with the notch in the SSD0 marked silkscreen on the PC-510.
A flash, SRAM, or EPROM device may be installed on the PC-510. Jumper blocks W2[7,8] and W5 must be set appropriately. See Table 8-1 for settings.
WARNING!
Selecting SSD0 device type
Table 8-1 SSD0 device selection jumpers: W5, W2[7-8]
Pins Description
W5[1-3, 2-4, 5-7, 8-10] W2[7-8] SRAM with battery backup* W5[1-2, 3-4, 5-6, 9-10] W2[7-8] Fl ash W5[1-2, 3-4, 5-6, 9-10] EPROM**
* = default, pins j umpered ** = W2[ 7-8] is not j umper ed
SSD0 replaced with an SRAM device
Before replacing SSD0 with an SRAM device, do the following steps:
1. Since SSD0 is to be replaced with an unprogrammed device, the PC-510
must be configured to boot from SSD1. Run SETSSD.EXE to change the boot device:
PC510 C:\> SETSSD SSD1 SSD0
2. Power off the PC-510 and then make sure W2[5-6] is jumpered in order to
boot from the BIOS on SSD1.
8-1
SSDs, DRAM, and battery backup PC-510 user’s manual
3. Jumper W5[1-2, 3-4, 5-6, 9-10] and W2[7-8] for a flash device.
4. Install a 512K SRAM into SSD0 at socket U13.
5. Power on the PC-510 and format the flash device. See also the Manag-
ing SSDs chapter for more information.
Note SRAM contents are sometimes affected by system noise. Therefore, the
use of SRAM is not recommended in electrically noisy environments, especially when systems are critical. The SSD0 supports SRAM devices which are available only under OEM contract.
The SSD0 socket also supports flash and EPROM devices. By default, SSD0 reserves 192 KB for the system/video BIOS and 320 KB for a DOS drive. When an SRAM or flash device is used, the DOS drive is read/writeable through PICO FA. After PFORMAT has run, the SETSSD/SSD0BIOS- option allows the DOS drives on SSD0 to be the full size, 512 KB.
WARNING!
Alignment of an SRAM, flash, or EPROM device into SSD0 is critical. Be certain to properly align pin 1 of either the SRAM, flash, or EPROM device with pin 1 of SSD0 on the PC-510.
SSD0 replaced with a flash device
Before replacing SSD0 with a flash device, do the following steps:
1. Power off the PC-510 and then make sure W2[5-6] is jumpered in order to boot from the BIOS on SSD1.
2. Since SSD0 is to be replaced with an unprogrammed device, the PC-510 must be configured to boot from SSD1. Run SETSSD.EXE to change the boot device:
PC510 C:\> SETSSD SSD1 SSD0
3. Power off the PC-510 and install a 512K flash into SSD0 at socket U13. Both W5[1-2, 3-4, 5-6, 9-10] and W2[7-8] must be jumpered for a flash device.
Selecting an SSD BIOS
Each SSD may contain a system BIOS and a video BIOS. To select an SSD BIOS in SSD1, add jumper W2[5-6]. To use SSD0 BIOS, remove jumper W2[5-6]. See Table 8-2 for the proper settings. To program the system BIOS/video BIOS, refer to the Managing SSDs chapter.
8-2
PC-510 user’s manual SSDs, DRAM, and battery backup
Table 8-2 Selecting an SSD BIOS: W2[5-6]
State Result
On Use SSD1 BIOS Off Use SSD0 BIOS
SSD0 replaced with an EPROM/O TPR OM
1. Follow steps one through three in the SSD0 replaced with a flash device
section and use a 512K flash.
2. Power off the PC-510 and remove the flash from socket U13.
3. Use an off-card programmer to program a 512K EPROM/OTPROM.
Use the flash as the master copy.
4. Insert the programmed EPROM/OTPROM into socket U13.
5. Remove jumper W2[7-8] for EPROM USE.
6. Power on the PC-510.
7. The new SSD0 device is now ready to be used as a bootable, read-only
DOS drive.
SSD1
Generally, SSD1 is meant for storing the application programs to be executed on powerup. The programs are automatically loaded into DOS memory and executed. The standard version of the PC-510 comes with a 2 MB flash soldered on-board, while the optional version contains a 1 MB flash soldered on-board. Your application programs can be saved to flash using the PICO FA driver which makes the flash device a read/ write disk on your PC-510. Saving your programs onto the read/write disk allows you to do this up to 100,000 times, allowing updates to your application programs. These devices are erased automatically during the programming process.
SSD1 can be accessed directly as a read/write DOS drive with the PICO FA driver. Also, it can be accessed directly as a read/write DOS drive when the PICOFA.SYS driver is loaded. While this is convenient for product development, the flash, however, has a limited number of writes allowed. Therefore, Octagon does not recommend SSD1 be used as a data logging device. Refer to the Software utilities appendix for infor­mation on supported flash devices and a description of PICO FA.
DRAM
The standard version of the PC-510 is shipped with 1 MB of DRAM on-card. The PC-510 can also be configured with either 4 or 16 MB of surface mounted DRAM. The on-card DRAM socket holds up to a 16 MB dual in-line memory module (DIMM). The card supports fast page mode (FPM) or extended data out (EDO) types of memory. These
8-3
SSDs, DRAM, and battery backup PC-510 user’s manual
can be symmetric or asymmetric configurations. You may order EDO DIMM memory modules from Octagon Systems. These memory mod­ules, including a 16 MB version, are also available from third party electronic component distributors. See the following for ordering infor­mation:
Description Manufacturer Manufacturer’s P/N 4 MB EDO DIMM Octagon 4583
memory module IBM IBM11S1325LPB-70
Kinsgton KTM1X32V-70DEG PNY Engineering 321007EDM1G02TB
8 MB EDO DIMM Octagon 4584 memory module IBM IBM11S2325LPB-70
Kingston KTM2X32V-70DEG PNY Engineering 322007EDM1G04TB
16 MB EDO DIMM Octagon 4582 memory module IBM IBM11S4325LPB-70
PNY Engineering 324007EDS4G08TL
32 MB EDO DIMM Octagon Call Octagon memory module
Battery backup for SSD0 SRAM and real time
calendar clock
Located at J18, the AT battery backs up the CMOS real time clock and SSD0 SRAM data.
Installing an AT battery
1. Power off the PC-510.
2. Install the 3.6V AT clock battery at the J18 connector. Refer to the component diagram in the Quick start chapter for the location of J18.
Note See the Accessories appendix for mating information on the battery
connector.
8-4
PC-510 user’s manual External drives
Chapter 9:
External drives
Description
The PC-510 is compatible with all common floppy disk drives used on desktop PCs. The PC-510 also drives any standard IDE or EIDE hard drives that have 16-bit IDE interfaces. The BIOS extension ROM for the hard drive is supplied on the card so that no additional software is needed. The floppy drives use DMA channel 2.
Floppy disk controller
The PC-510 can interface directly to one or two 3.5 in. or 5.25 in. floppy drives via the connector at J9.
Note See the Accessories appendix for connector information for the floppy
disk connector.
Note If you wish to add a second floppy drive to your system, you must use a
floppy drive cable which has two connectors.
Po wer requirements
The PC-510 requires +5V for operation. You must also supply power to the floppy drive(s) through an external source. Refer to your floppy drive manual for specific instructions.
Installing a floppy disk drive
1. Disconnect power to the PC-510.
2. Insert one end of your cable into the rear of the floppy drive. Make sure
pin 1 on the cable is connected to pin 1 on the drive.
3. Insert the other end of the cable into J9 on the PC-510.
4. Connect power to the floppy drive.
5. Run SETUP in the \UTILS subdirectory to setup the AT BIOS. You can
execute this program either by pressing <BACKSPACE><S> during system bootup or by executing the file SETUP.EXE. This file is found on the PC-510 BIOS drive and also on the PC-510 utility disk. The system steps you through the configuration. Also, refer to the SETUP programs chapter for more information on the AT BIOS SETUP program.
9-1
External drives PC-510 user’s manual
Note If floppy is twisted on the connector, then answer “no” to Swap Floppy
A and B.
Hard disk controller
The PC-510 will drive up to 4 GB hard drives that have 16-bit IDE interfaces via a 44-pin connector at J10.
Note See the Accessories appendix for connector information for the IDE hard
drive connector.
Installing a hard drive
1. Disconnect power to the PC-510.
2. Insert one end of the Octagon hard drive adapter cable into the rear of the hard drive. Make sure pin 1 on the cable is connected to pin 1 on the hard drive port.
3. Insert the other end of the IDE cable into J10 on the PC-510. Make sure pin 1 on the cable is connected to pin 1 on the PC-510.
4. Execute the BIOS SETUP program to configure your system for a hard drive. You can execute this program either by pressing <BACK­SPACE><S> during system bootup or by executing the file SETUP.EXE. This file is found on the PC-510 BIOS drive and the PC-510 utility disk. The system steps you through the configuration. Also, refer to the SETUP programs chapter for more information on the BIOS SETUP program.
5. If you want to boot the system from the hard drive, you need to format the drive accordingly.
Booting with ROM-DOS
If you want to boot from a floppy/hard drive with ROM-DOS, do the following steps:
1. Boot from the PC-510 utility disk.
2. Execute the following command:
9-2
SYS C:
3. The system copies COMMAND.COM as well as a hidden file to the hard drive.
PC-510 user’s manual IRQ routing and opto IRQs
Chapter 10:
IRQ routing and opto IRQs
Interrupt routing
The PC-510 provides a flexible method of enabling, disabling, and routing system interrupts via an “in system” programmable logic device. The logic device not only reduces the number of physical jumpers, but it also reduces the possibility of choosing the incorrect jumper configura­tion. For example, upon configuration the electronic jumpers remain set until they are reprogrammed for a different configuration.
This device also allows some of the PC/104 bus interrupts and some of the on-board generated interrupts to be routed to other IRQs of the programmable interrupt controller. This routing matrix requires the user to run the SETIRQ utility program to update the routing matrix with the desired IRQ routes.
In addition to IRQ routing, the I/O range select A and select B bits can be set so that the base addresses in COM5 and COM6, EZ I/O 1 and EZ I/O 2, and COM3 through COM6 IRQ status registers can be moved to different locations. These can also be read at I/O address 0A9h bits 4 and 5.
See also the SETIRQ.DOC file in the \IRQ directory on the PC-510 utility disk for more information. The utility disk contains several ISP files to program into the matrix. If these are not sufficient, call Octagon’s Technical Support at 303-426-4521 for new ISP files that may have become available.
Note If an output is not routed as a signal, then the output or destination is
neither driven high nor low, but is in a high impedance mode.
Note When you program a new IRQ routing matrix, the printer port must be
set to bi-directional mode. Also, any field devices connected to the printer port must be disconnected.
10-1
IRQ routing and opto IRQs PC-510 user’s manual
Figure 10-1 Interrupt routing matrix
PC/104 Fixed BUS IRQ
s
On &
Off Card IRQs
R o u
t a b
l e
Opto
Isolators
BUS IRQ9
BUS IRQ6
BUS IRQ12
BUS IRQ14
BUS IRQ3 BUS IRQ4 BUS IRQ5 BUS IRQ7
BUS IRQ10 BUS IRQ11 COM3, 4, 5, & 6 IRQ
Mouse IRQ TMARK (GPS)
OPTOA OPTOB
BUS IRQ15
S o u r c e
Interrupt
Controller
D e s t i n a t i o n
Sus/Rsm
IRQ1 IRQ2 IRQ9 IRQ13 IRQ6
IRQ8 IRQ3 IRQ4 IRQ5 IRQ7 IRQ10
IRQ11 IRQ12 IRQ14 IRQ15
PMI
Reset
Keyboard IRQ
Cascade Floating
Point Floppy RTC COM2 COM1 665/669
IRQB Printer
On-board
Resources
Primary IDE
Power Management
Power Supervisor
10-2
Serial COM5 Receive Source
Serial COM6 Receive
RxD RS-232 COM5
RxD GPS COM5
RxD RS-232 COM6
RxD RS-485 COM6
Source
Programming &
Control
Lattice
ispLSI2032
RxD COM5
RxD COM6
I/O REG SEL_A I/O REG SEL_B
COM5 Receive Data
COM6 Receive Data
OctaGlue I/O Mapping
PC-510 user’s manual IRQ routing and opto IRQs
Opto IRQs
OPTOA and OPTOB are the two optically isolated channels and are accessible at J17. These channels are configurable to drive either the SUSPEND/RESUME or the PMI signal. Also, either OPTOA or OPTOB can be routed through the interrupt routing matrix to generate a system reset. The opto-isolation allows the input source to extend as far as 50 feet from the card. A +5V signal activates the SUSPEND/RESUME, PMI or system reset signal. Noise filtering is built-in and the isolation from the system ground is 500V. A voltage greater than 3.1V at 5.0 mA guarantees a SUSPEND/RESUME or a PMI interrupt or a system reset.
When signaling for SUSPEND/RESUME, PMI, or system reset, the voltage is applied in a pulse period greater than 50 µS. The interrupt matrix chip requires that the input voltage remains stable until the interrupt is acknowledged. At that time, the interrupt source can be rearmed by returning the input to 0 volts.
Note See the Accessories appendix for mating information on the OPTOA and
OPTOB connectors. The interrupt routing matrix provides flexibility to the interrupt struc-
ture which allows connection between the lower-ordered ISA interrupts and the unused higher-ordered interrupts. Caution must be used when configuring the jumper options.
Note Bus IRQ6 can be inadvertently routed to two interrupts. This is not an
acceptable configuration. The application software must also be aware of the interrupt that is set for the particular resource.
Interrupt routing matrix defaults
The 510_001.ISP file lists the interrupt routing matrix defaults. See the SETIRQ.DOC file on the PC-510 utility disk for more information.
Programming
SETIRQ 510_001.ISP See the \IRQ\SETIRQ.DOC directory on the PC-510 utility disk for
additional PC-510 ISP files and their functional descriptions in the SETIRQ.DOC file.
10-3
IRQ routing and opto IRQs PC-510 user’s manual
Master disable
When W3[9-10] is jumpered, the outputs from the interrupt matrix chip are tri-stated (high). The chip does not program when this jumper is installed.
Both I/O range select A and I/O range select B can be adjusted via the ISP and SETIRQ files. The I/O range select changes the EZ I/O, COM5 and COM6 base addresses. See SETIRQ.DOC for more information.
The IORG SEL A (I/O register select A) and IORG SEL B (I/O register select B) select the base address for serial ports 5 and 6, as well as for
the EZ I/O and the interrupt status register.
Table 10-1 Interrupt status port (ISP) map setting at I/O location 0A9h
I/O range select A
(bit 5)
0 1 120-127h 128-12F 134-137h 130-133h 138-13F
0 0 140-147h 148-14F 154-157h 150-153h 158-15F 1 0 340-347h 348-34F 354-357h 350-353h 358-35F 1 1 320-327h* 328-32F* 334-337h* 330-333h* 338-33F*
* = def ault set tings
I/O range select B (bit 4) COM5 COM6 EZ I/O 1 EZ I/O 2
Interrupt status register
10-4
PC-510 user’s manual EZ I/O
Chapter 11:
EZ I/O
Description
Octagon EZ I/O digital I/O lines can be used to sense switch closures, turn on lamps and LEDs, and interface with other devices that have TTL input or output such as printers and scales. The EZ I/O drives the Octagon MPB series opto-isolation module racks directly, controlling AC and DC loads to 240V at 3A. Figure 11-1 shows typical EZ I/O configura­tions. The EZ I/O ports have the following specifications:
n Each EZ I/O chip has 24 I/O lines, grouped into 3 ports of 8 bits n 48 I/O lines available n Each bit is programmable as either 5V input or 5V output n Read back state of each pin n Easy-to-program n Each line can sink and source 15 mA
Figure 11-1 Typical EZ I/O configurations
PC-510
PC-510
PC-510
EZ I/O port
ribbon cable
EZ I/O port
ribbon cable
EZ I/O port
CMA-26
CMA-26
CMA-26
ribbon cable
1 2 76543 8 9 1413121110 15 16
LOGIC
J1
+ –
P8
J2
0 1 2 3 4 5 6 7
MPB Opto Rack
J2
J1
STB-26
1 2 76543 8 9 1413121110 15 16
LOGIC
J1
+ –
P8
J2
0 1 2 3 4 5 6 7
MPB Opto Rack
J1
J2
STB-26
11-1
EZ I/O PC-510 user’s manual
Table 11-1 EZ I/O connectors: J15, J16
Pin Function Pin Function Pin Function
Port A
19
21 bit 1 8 bit 1 16 bit 1 23 bit 2 4 bit 2 15 bit 2 25 bit 3 6 bit 3 17 bit 3 24 bit 4 1 bit 4 14 bit 4 22 bit 5 3 bit 5 11 bit 5 20 bit 6 5 bit 6 12 bit 6
18 bit 7 7 bit 7 9 bit 7
bit 0
10
Port B
bit 0
Port C
13
2+5V safe 26 Gnd
bit 0
EZ I/O options
The PC-510 standard version is supplied with two Octagon EZ I/O digital I/O chips for a total of 48 I/O lines. Under OEM contract, the EZ I/O ports can be eliminated or only one port can be installed for 24 I/O lines.
Table 11-2 EZ I/O port options
Standard feature Option 1 Option 2
EZI /O 1 Installed Insta lled Not installed
EZI/O 2 Installed Not installed Not installed
Total I /O lines 48 24 0
Note See the Accessories appendix for connector information for the EZ I/O 1
and EZ I/O 2 connectors.
Pulling the I/O lines high or low
Jumper block W4 pulls the I/O lines at ports A, B, and C high or low. This allows a known state upon powerup. The default configuration pulls all of the I/O lines high. Note that 10K ohm resistor networks are used to configure the I/O lines as high or low.
11-2
PC-510 user’s manual EZ I/O
Table 11-3 EZ I/O pull-up/pull-down jumpers: W4
Pins Label Description
[1–2]* EZ I/O 1 pull up to +5V [2–4] EZ I/O 1 pull down to Gnd [5–6]* EZ I/O 2 pull up to +5V [6–8] EZ I/O 2 pull down to Gnd [9–10]* U Us er option jumper 1
* = default, pins jumpered
Organization of ports
Each EZ I/O digital port has a total of 24 I/O lines connected to a 26-pin header. The lines are configured into three groups: ports A, B and C, each group consisting of 8 bits. Any of the lines at ports A, B or C can be configured individually as inputs or outputs.
Figure 11-2 Organization of ports
Base
Base + 1
Base + 2
Base + 3
Register
A
B
C
Control
J15, J16 EZ I/O connectors
8
8
8
or
or
or
26-position connector
EZ I/O digital I/O chip
11-3
EZ I/O PC-510 user’s manual
Po rt addressing
Ports A, B, C and the control register are addressable.
Table 11-4 EZ I/O port address
Port I/ O addr ess
A Base address
B Base address + 1
C Base address + 2
Control register Base address + 3
Base I/O address
The base I/O address for EZ I/O 1 is 334h (default) and the base I/O address for EZ I/O 2 is 330h (default) but can be changed through OctaGlue PCS_2 to one of four addresses. Refer to the Interrupt routing section in the IRQ routing and opto IRQs chapter to change the base address of the EZ I/O chip.
Based on the I/O range select A and B, you can determine the port addresses for EZ I/O 1 and EZ I/O 2 by reading 0A9h bit 4 and 0A9h bit
5. Refer to Table 11-5.
Table 11-5 Reading EZ I/O 1 and EZ I/O 2 port addresses at I/O location 0A9h
I/O range select A (bit 5)
0 1 130-133h 134-138
0 0 150-153h 154-158
1 0 350-353h 354-358
1 1 330-333h* 334-338*
* = default settings
I/O range select B
(bit 4)
EZ I/O 2 base address
EZ I/O 1 base address
Configuring and programming the EZ I/O ports
J15 and J16, the digital I/O connectors, each have an Octagon EZ I/O digital chip associated with them. The EZ I/O chip has three ports with eight parallel I/O lines (bits) per port. This port can use one of four base I/O addresses. All lines can be individually programmed as all inputs, all outputs or individually as inputs or outputs. You can alter which bits are inputs or outputs by writing a control command to the control register of the EZ I/O. When a line is configured as an output, it can sink a maximum of 15 mA at 0.4V or can source 15 mA at 2.4V. On powerup and software or hardware reset, all digital I/O lines at J15 and J16 are reset as inputs.
11-4
PC-510 user’s manual EZ I/O
Programming the EZ I/O
Follow these steps to program the EZ I/O chip:
1. Configure the EZ I/O port bit directions, either as inputs or outputs.
2. Write to port A, B, or C with the desired level or read the bit level from the desired port.
Configuring the EZ I/O
Follow these steps to configure the EZ I/O chip
1. Write a "3" to the control register (base address + 3). This places the I/O chip in “direction” mode:
(default base address = 330h)
OUT 333h, 2 (control register, direction mode)
2. Set the direction of each bit. A "0" written to the corresponding line indicates an input and a "1" bit indicates an output. Each bit corre­sponds to the equivalent I/O line.
Table 11-6 EZ I/O port byte
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
x7
x6
x5
For example, writing 00011100 to port C (base address + 2) will config­ure port C I/O lines 0, 1, 5, 6, and 7 to be inputs and lines 2, 3, and 4 to be outputs:
OUT 332h, 1Ch (00011100 binary = 1C hexadecimal)
3. Write a "3" to the control register (base register + 3). This places the I/O chip back into “operation” mode:
EZ I/O port I/O line
x4
x3
x2
x1
x0
OUT 333h, 3 (control register)
11-5
EZ I/O PC-510 user’s manual
Writing and reading from EZ I/O
Writing to or reading from the desired EZ I/O port is accomplished with single program statements:
1. To write a bit pattern to the desired EZ I/O port:
OUT 332h, FFh
All bits of port C go high; all input bits are unaffected.
2. To read a bit pattern from the desired EZ I/O port:
PORTC = INP(332h)
The byte read from port C is assigned to variable port C.
EZ I/O output program examples
To configure ports A, B, and C as all outputs, issue the commands:
OUT 333h, 2 ‘Direction’ Mode OUT 330h, FFh ‘PortA’ OUT 331h, FFh ‘PortB’ OUT 332h, FFh ‘PortC’ OUT 333h, 3 ‘Operation’ Mode
Note With CAMBASIC, Octagon’s multitasking industrial language, you can
also accomplish the same configuration and outputs with one statement. Enter:
CONFIG EZ I/O &330, &0, &FF, &0, &FF, &0, &FF
Ports A, B, and C will now output all "1"s after issuing the following commands:
OUT 330h, FFh (portA) OUT 331h, FFh (portB) OUT 332h, FFh (portC)
or all "0"s after:
OUT 330h, 0 (portA) OUT 331h, 0 (portB) OUT 332h, 0 (portC)
EZ I/O input program examples
To configure ports A and C as inputs and port B as outputs, issue the following commands:
OUT 333h, 2 'Direction Mode' OUT 330h, 0 OUT 331h, FF OUT 332h, 0 OUT 333h, 3 'Operation Mode'
11-6
PC-510 user’s manual EZ I/O
To read ports A and C, issue the following commands:
PORTA = INP(330h) (port A) PORTC = INP(333h) (port B)
Enhanced INT 17h function definitions
This section provides definitions for the following functions: Initialize EZ I/O 1, Write EZ I/O 1, Read EZ I/O 1, Initialize EZ I/O 2, Write EZ I/O 2, and Read EZ I/O 2.
Initialize EZ I/O 1
Function: efh Subfunction: 00h Purpose: To set the directions and to program the initial
values of an EZ I/O port.
Calling registers:
Ah efh AL 00h
DI Port A configuration
xxxxxxxx xxxxxxxxB xxxxxxx Initial data for port A
xxxxxxxxB direction; 1->output, 0->input
BX Port B configuration
xxxxxxxx xxxxxxxxB xxxxxxxx Initial data for port B
xxxxxxxxB direction; 1->output, 0->input
CX Port C configuration
xxxxxxxx xxxxxxxxB xxxxxxxx Initial data for port C
xxxxxxxxB direction; 1->output, 0->input
DX ffffh
Return registers: Carry flag cleared if successful
Carry flag set if error AL Error code
Comments: This function is used to initialize the first EZ I/O (i.e., the
EZ I/O that has the higher I/O address when two EZ I/O chips are present on a board) before normal use.
Programming example:
/* Inline assembly code for Borland C++ 3.1 */ asm {
mov ax,0ef00h mov di,00ffh /*port A all outputs, init data=all 0’s */ mov bx,55ffh /*port B all outputs, init data=55h*/ mov cx,0000h /*port C all inputs* mov dx,0ffffh int 17h }
11-7
Loading...