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.
O C T A G O N S Y S T E M S
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 trademarks 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 Systems Corporation is cited as the source. The contents of this manual and the specifications 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 manualNotice 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 exclusively 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 customerinduced, 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 customer 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 determine the cause of the failure and repairs these cards at no charge if
they are under warranty.
Notice to userPC-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 resistances 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 component is not an adequate fix. Other components probably have been
partially damaged or a failure mechanism has been induced. Therefore, 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, nothing 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 manualNotice 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 notdo 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 networks. 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.
NoteAny physical damage to the CPU control card is not covered under
warranty.
Notice to userPC-510 user’s manual
PC-510 user’s manualContents
Contents
Abbreviations and terms used in this manual........................................... xiii
Conventions used in this manual ................................................................... xv
About this manual
Overview: Section 1 – Installation
BIOS driveThe solid-state disk which contains the system BIOS
and ROM-DOS.
bppbits per pixel
Console portVideo card or COM1 where BIOS and DOS messages
appear and keyboard input is available.
DRAMDynamic Random Access Memory devices. DRAMs
provide volatile memory with unlimited read and
write cycles.
Expansion cardThe 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/OThis digital I/O chip supplies 24 I/O lines which can
be individually programmed as 5V input or 5V
output.
hThe suffix “h” denotes a hexadecimal number. A
decimal number has no prefix or suffix. For ex-
ample, 1000h and 4096 are equivalent.
KBKilobyte (1,024 8-bit bytes).
MBMegabyte (1,048,576 8-bit bytes).
Memory deviceThe type of static RAM, DRAM, EPROM, or flash
device specified for either volatile or nonvolatile
memory.
PC/104An expansion bus used for holding 8- and 16-bit
expansionexpansion cards.
PC SmartLINKA serial communications software package designed
by Octagon for use with the PC-510 single board
computer. Refers to all versions of PC SmartLINK.
PC VideoA 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 manualPC-510 user’s manual
PICO FAPhoenix’s flash file system used to access SSDs from
DOS as a read/write DOS drive.
ROMRead Only Memory devices. ROMs provide nonvola-
tile memory, have a limited number of write cycles,
and include EPROMs, EEPROMs, and flash
memory.
ROM-DOSOperating system included in Micro PC ROM.
Single boardA printed circuit board that contains a complete
computercomputer: CPU, memory, I/O, and clock. The single
board computer controls the operation of all the
expansion cards.
Solid-state diskA simulated disk which uses a high speed solid-state
(SSD)memory device. For example, flash memory,
EEPROM, or static RAM.
Static RAMStatic Random Access Memory device. Static RAMs
levels.
Virtual driveA 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.
XMODEMA communications protocol which allows transfer of
files between two computers.
XON/XOFFA 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 manualConventions 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:
NoteA 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 warning 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 manualPC-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 manualAbout 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 manualPC-510 user’s manual
PC-510 user’s manualOverview 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 1PC-510 user’s manual
PC-510 user’s manualOverview
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 temperature range. Customers who need a 0° to 70°C range can install
commercially available DIMM modules onto the PC-510.
1-1
OverviewPC-510 user’s manual
n 1 MB EDO surface mountstandard
n 4 MB EDO surface mountoptional
n 16 MB EDO surface mountoptional
n SO-DIMM socket installedstandard
n SO-DIMM socket not installedoptional
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 ROMDOS 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 included which allows the SSDs to emulate hard disk operation. SSD0
options include:
n SSD0 socket installedstandard
n SSD0 socket not installedoptional
n SSD0 socket/EPROM installedoptional
n SSD0 support from SRAMoptional
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 EPROMstandard
n 1 MB EPROMoptional
n SSD1 not installedoptional
PC-510 user’s manualOverview
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 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 COM6standard
n Omission of COM3 through COM6optional
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 resolution 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 presentstandard
n No local bus flat panel video presentoptional
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
OverviewPC-510 user’s manual
n + Bias voltage 23V to 29Vstandard
n – Bias voltage/other rangeoptional
n No bias supplyoptional
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 programmable 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 linesstandard
n 24 linesoptional
n 0 linesoptional
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 includedstandard
n Mouse port not includedoptional
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 available 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 management interrupt. Power consumption can be reduced by more than 60%.
This reduces the heat load and extends the battery life in mobile applications. 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 manualOverview
signaled to restart, execution resumes at the point the system last
stopped. The following are functions in the advanced power management 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 required 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 consuming re-initialization is required. The PC-510 stores the SETUP
information in EEPROM with 1,536 bytes available to the user. Software 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 hardware 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
OverviewPC-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 interrupts on the PC-510 and outboard systems such as the PC/104 expansion 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 manualOverview
Watc hdog timer added for saf ety
The watchdog timer resets the system if the program stops unexpectedly. 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 battery. The real time clock also provides the user with 128 bytes of userdefined 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 display. The PC-510 is supplied with software that provides keypad scanning 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 voltages on-board the PC-510. The locking power connector is a standard
PC power header connector.
1-7
OverviewPC-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 humidity5% to 95% noncondensing
n Altitude-100 to 10,000 m
n Shock10g, 3 axis
n Vibration3g, 3 axis
NoteForced 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 manualQuick 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 sensitive 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 startPC-510 user’s manual
Figure 2-1PC-510 component diagram
2-2
PC-510 user’s manualQuick start
Figure 2-2PC-510 center-to-center hole dimensions
.331
2.858
2-3
Quick startPC-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 hardware pieces will reduce the circuit board flex when the
PC/104 expansion board and/or the SSD0 are inserted. Flexing 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-3Power connector: P8, P9
Standard cable wire colors
NoteBy 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 manualQuick start
Table 2-1Power connector: P8, P9
PinDescription (P8)PinDescription (P9)
1N.C.1Gnd
2+5V2Gnd
3+12V3–5V
4–12V4+5V
5Gnd5+5V
6Gnd6+5V
NoteSee 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-4PC-510, keyboard, and monitor
Keyboard
connector, J2
Mouse
connector
PC-510
VGA-12
cable
Keyboard
cable
VGA Monitor
J20
2-5
Quick startPC-510 user’s manual
≡ Reference designators
The following tables illustrate jumper connections and pins jumpered on
the PC-510:
Table 2-2PC-510 connectors
Reference
designatorDescription
J 1SpeakerJ13GPS module
J2KeyboardJ14Flat panel
J3MouseJ15EZ I/O 1
J4COM3 /COM4J16EZ I/O 2
J5COM5 /COM6J17OPT OA/OPTOB
J6LPT1 PrinterJ18Bat te ry
J7COM1/COM2J19P C Video
J9Floppy disk driveJ20SVGA CRT analog
J10IDE hard driveP8, P9Power
J11PC/104
J12N/A
Reference
designatorDescription
NoteSee the Accessories appendix for connector information on the above
connectors.
Table 2-3RS-485 termination select jumper: W1
2-6
PinsDescription
[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 manualQuick start
Table 2-4BIOS and boot option jumper: W2
PinsLabelDescription
[1–2]*V0C0000–C7FFF BIOS region togg le** (video BIOS
region 1)
[3–4]EEnhance d mode, CP U clock speed: on = 133MHz;
off = 120MHz
[5–6 ] *BBIOS de vic e: on = SSD1; off = SSD0
[7–8]*TSSD0 ty pe: o n = flash /SR AM; off = EPROM
[9–10]* SUse 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
PinsLabel Description
[1–2]*V1C8000–CFFFF BIOS region toggle** (video BIOS region 2)
[3–4]*XD8000–DFFFF BIOS region t oggle* * * (PICO FA)
[5–6]*U2User option ju mper 2
[7–8]*VEVGA controller: on = enabled; off = disabled
[9–10]IIRQ 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-6EZ I/O pull-up/pull-down, user option jumper: W4
PinsLabelDescription
[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]*UUs er option jumper 1
* = default, pins jumpered
** = W2[7- 8] is not j umpered
Table 2-8Jupiter module antenna voltage select: W6
PinsDescription
[1–2 ]12V*
[1–3]5V
* = defau lt, pins jumpered
Table 2-9Flat panel interface voltage select: W8
PinsDescription
[1–2]5V*
[3–4]3.3V
* = defau lt, pins jumpered
Table 2-10Inverted shift clock signal voltage level select: W9
PinsDescription
[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 operation. Refer to the P8, P9 power connector Table 2-1 for a complete
listing of pinouts and their description.
PC-510 user’s manualQuick 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
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 startPC-510 user’s manual
2-12
PC-510 user’s manualSETUP 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 programsPC-510 user’s manual
Table 3-1 PC-510 SETUP parameters
SETUP parametersDescriptionDefault
Serial console on COM1Allows COM1 to be used
Enabled
as a console when on-board
video is di sabled
COM1 console baud ra teSpeci fies communication s
9600
rate between PC and
PC-510 w hen serial console is
in use
Po wer-on memor y tes tExtens ive memo r y testing
Enabl ed
performed on bootup
Boot sequenceSpecifies whether the f loppy
C: Only
drive will b e ign ored as a
boot device
Se rial p ort COM1Specifies COM1
Enabled
enable /disable
Serial port COM1 addressCOM1 address3F8h
Se rial p ort COM2Specifies COM2
Enabled
enable /disable
Serial port COM2 addressCOM2 address2F8h
Parallel (LPT) portSpecifies LPT port
Enabled
enable/disable
Parallel port modeSpecifies mode to use
with parallel port
Parallel port addressSpecifies address to use
Bidirectional
printer port
378h
w/parallel port
Number of floppy drivesSpecifies number of
0
floppy drives attached
On-board floppy controllerSpecifies location of floppy:
Disabled
on-board or on PC/104 bus
On-board I DE interfaceSpecifies usage of on-board
Disabled
IDE connector or PC/104 bus
3-2
PC-510 user’s manualSETUP programs
Table 3-1 PC-510 SETUP parameters (cont’d)
SETUP parametersDescriptionDefault
Primary mast er fixed diskSpecif ies whi ch I DE
None
interface is used
Pr im a r y sl av e fi x e d di s kSp 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 kSp ec i f ie s whi c h I DE
Specif ies which IDE
interface is used
None
None
interface is used
Internal CPU cacheSpecifies CPU cache
Enabled
enable/disable
CPU cache m odeSpecif ies writ e-th rou gh/
Write-back
write-back on some CPUs
(processor specific)
Limit CPU to hal f speedLimits the top CPU speedNo
SE TU P entry via hotkeySpecifies <backspace><S>
hotk ey enable/disable
Power ma nagementSpecifies power managemen t
enable/disable
Doze clockSpecifies doze mode in power
management is to slow or
stop the clock
Time update after suspendSpecifies to allow update of
time after suspend mode
DIMM module typeS pecifies the typ e of
DIMM module
ROM EnableToggles 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)
ShadowShadow enable/disable
(first 8 KB is video BIOS)
Enabled
Enabled
Slow
Enabled
EDO
Enabled
Enabl ed
Enabl ed
Enabl ed
Enabled
ShadowShadow enable/disableDisabled
ShadowShadow enable/disableDisabled
3-3
SETUP programsPC-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 communications 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
NoteIf you are not booting from the SSD0 drive, the drive designator may
differ.
NoteYou 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.
NoteOptions having an * are default settings.
nSerial 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
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.
nBoot Sequence:
NoteStandard mode is provided for compatibility only. We recommend the
use of bidirectional mode. EPP and ECP modes are provided for equipment that has the capability to operate in these modes for enhanced
performance.
nNumber of floppy drives:
0*, 1, 2
C: Only*
A: Then C:
nSerial Port COM1:
Enabled*
Disabled
nSerial Port COM1 address:
3F8h*
2F8h
338h
3E8h
2E8h
220h
238h
2E0h
228h
nSerial Port COM2:
Enabled*
Disabled
nSerial Port COM2 address:
2F8h*
338h
3E8h
2E8h
220h
238h
2E8h
2E0h
228h
NoteOctagon strongly recommends the use of 3F8h for COM1 and 2F8h for
COM2.
3-5
SETUP programsPC-510 user’s manual
NoteThe 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 description on conflicting addresses.
nParallel (LPT) Port:
Enabled*
Disabled
nParallel Port Mode:
Bidirectional mode*
EPP mode
ECP mode
Standard (Unidirectional) mode
No* - requires a swap in the cable
Yes - does not require a swap in the cable
nFloppy drive 1 size:
Not Installed
5.25", 360 KB
5.25", 1.2 MB
3.5", 720 KB
3.5", 1.44 MB*
nFloppy 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
nOnboard IDE interface:
Disabled*
Enabled (enables J10)
PC-510 user’s manualSETUP programs
nPrimary master fixed disk:
None*
Auto - detects hard disk parameters
User - detects hard disk parameters
nDrive 1 parameters:
Cylinders (xxx)
Heads (xx)
Sectors (xx)
nInternal CPU cache:
Enabled*
Disabled
nLimit CPU to half speed:
NO*
YES
nSetup entry via hotkey:
Enabled*
Disabled
nPower management:
Enabled*
Disabled
nDoze clock:
Slow*
Stop
nTime update after suspend:
Enabled*
Disabled
nDIMM module type:
EDO*
Standard
nShadow C0000h - C7FFFh:
Disabled
Enabled*
nShadow C8000h - CFFFFh:
Disabled
Enabled*
nShadow D0000h - D7FFFh:
Disabled*
Enabled
3-7
SETUP programsPC-510 user’s manual
nShadow 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
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:\>
NoteExecuting 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 features 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 programsPC-510 user’s manual
3-10
PC-510 user’s manualSave 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 contains 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 recommend booting from SSD1, using your own DOS, when using programs
with undocumented DOS calls. Refer to the section Adding operatingsystem 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 programsPC-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.
NoteIf the SETUP option “Boot Sequence” is set to “A: THEN C:”, remove
any floppy in drive A: before resetting the system.
NoteWe 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
NoteThe SETSSD options are not used when W2[9-10] is not jumpered.
PC-510 user’s manualSave 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 programsPC-510 user’s manual
4-4
PC-510 user’s manualOverview 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 2PC-510 user’s manual
PC-510 user’s manualSerial 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:
Backdrive protection
Up to 115.2k baud operation
5-, 6-, 7-, or 8-bit word lengths
1-, 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.
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 information 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-3COM1 available addresses (IRQ4 dedicated)
COM1 a vailable addresses
5-2
PC-510 user’s manualSerial 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 interrupt control, IRQ3 may be used by other resources such as the PC/104
expansion board, the GPS module, IRQ routing, etc. Refer to the IRQrouting and opto IRQs chapter for details. COM1 and COM2 share the
J7, 20-pin header.
Table 5-4COM2 available addresses (IRQ3 dedicated)
COM2 a vailable addresses
NoteSee 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.
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
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
NoteExit the interrupt handler only when bits 0 through 3 are all at 0.
Table 5-7 Interrupt status port (138h, 158h, 338h, and 358h)
BitLoca tio n
NoteAll 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 manualSerial 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-8COM3 available address and IRQ routing
AddressIRQ
COM4
COM4 can be ordered either as an 8-wire RS-232 or as a 4-wire industrial 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-9COM4 available address and IRQ routing
AddressIRQ
NoteSee the Accessories appendix for connector information on COM3 and
COM4.
COM5
COM5 functions either as an RS-232 serial port or as a global positioning 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 throughCOM6 interrupt/status port section in this chapter.
5-5
Serial portsPC-510 user’s manual
Table 5-10Available 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-11Available 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)
NoteSee 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 manualSerial ports
The PC-510 requires an RS-232 null modem cable to interface to your
desktop PC.
Figure 5-1Null 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 together. 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 connections for the PC-510.
Table 5-12Custom RS-232 null modem cable for the PC-510: First COM port
Table 5-13Custom 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 signalDB-9 pinDB-25 pin
PC port
signal
Figure 5-2Custom 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 manualSerial 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. Depending 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-3PC-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 information.
5-9
Serial portsPC-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-14RS-485 transmitter control: COM6 at location 32Ch
NoteThe 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 termination. Jumper W1[7-9][8-10] to provide for marking condition and
make sure that both ends of the network are terminated.
Table 5-15RS-485 termination select jumper: W1
PinsDescription
5-10
PC-510 user’s manualSerial 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 communication, maintaining network registration, and providing housekeeping tasks with other nodes. Remotes, however, cannot initiate a
communication. They can only respond to messages that are addressed to them from the host.
The following diagram demonstrates how a typical two-wire transmission is implemented in the RS-485 network.
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 optoisolated digital I/O modules.
NoteMake 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.
NoteSee 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-1LPT1 as a printer port
PC-510
VTC-5/IBM cable
LPT1 parallel port
Printer cable
6-1
LPT1 parallel portPC-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 manualLPT1 parallel port
Figure 6-2LPT1 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-3LPT1 and an opto rack
4x4 Keypad
LCD display
PC-510
LPT1 parallel port
CMA-26 ribbon cable
1 2765438 9141312111015 16
J2
J1
J2
P8
+ –
LOGIC
0 1 2 3 4 5 6 8
17 18232221201924 25302928272631
9 10 11 12 13 14 15 16
MPB-16PC opto rack
32
6-3
LPT1 parallel portPC-510 user’s manual
6-4
PC-510 user’s manualConsole devices
Chapter 7:
Console devices
≡ Description
The PC-510 has three options for console devices. You can use the onboard 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 devicesPC-510 user’s manual
Figure 7-1The 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.
NoteFor 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-2VTC-20F cable and null modem adapter
RS–232 Null modem cable
P2
P1
Null Modem Adapter
P3
VTC-20F Cable
PC-510 user’s manualConsole devices
Keyboar d
You can use any of the console options mentioned in the Selecting console
devices section with a local keyboard.
NoteSee 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 devicesPC-510 user’s manual
Table 7-1Video 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 stateSETUP op tion
Di s abl edOnE n abledChan g e SE TUP to
enabl ed or re move
W2[1-2](V0)/
W3[1-2](V1)
Di s abl edOf fEnabledChan g e SE TUP to
enabl ed or install
W2[1-2](V0)/
W3[1-2](V1 )
EnabledOnDisabledChange SETU P to
disabled or remove
W2[1-2](V0)/
W3[1-2](V1 )
En abledOffDis abledChan ge SETUP to
disabled or inst all
W2[1-2](V0)/
W3[1-2](V1 )
NoteOctagon 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-3Changing 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 manualConsole 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 devicesPC-510 user’s manual
7-6
PC-510 user’s manualSSDs, 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.
* = 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 backupPC-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.
NoteSRAM 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 manualSSDs, DRAM, and battery backup
Table 8-2Selecting an SSD BIOS: W2[5-6]
StateResult
OnUse SSD1 BIOS
OffUse 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 information 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 backupPC-510 user’s manual
can be symmetric or asymmetric configurations. You may order EDO
DIMM memory modules from Octagon Systems. These memory modules, including a 16 MB version, are also available from third party
electronic component distributors. See the following for ordering information:
DescriptionManufacturerManufacturer’s P/N
4 MB EDO DIMMOctagon4583
16 MB EDO DIMMOctagon4582
memory moduleIBMIBM11S4325LPB-70
PNY Engineering324007EDS4G08TL
32 MB EDO DIMM OctagonCall 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.
NoteSee the Accessories appendix for mating information on the battery
connector.
8-4
PC-510 user’s manualExternal 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.
NoteSee the Accessories appendix for connector information for the floppy
disk connector.
NoteIf 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 SETUPprograms chapter for more information on the AT BIOS SETUP
program.
9-1
External drivesPC-510 user’s manual
NoteIf 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.
NoteSee 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 <BACKSPACE><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 manualIRQ 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 configuration. 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.
NoteIf 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 IRQsPC-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 manualIRQ 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.
NoteSee 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.
NoteBus 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 IRQsPC-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-1Interrupt status port (ISP) map setting at I/O location 0A9h
I/O
range
select B
(bit 4)COM5COM6EZ I/O 1EZ I/O 2
Interrupt
status
register
10-4
PC-510 user’s manualEZ 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 configurations. 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
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-2EZ I/O port options
Standard featureOption 1Option 2
EZI /O 1InstalledInsta lledNot installed
EZI/O 2InstalledNot installedNot installed
Total I /O lines48240
NoteSee 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 manualEZ I/O
Table 11-3EZ I/O pull-up/pull-down jumpers: W4
PinsLabelDescription
[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]*UUs 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-2Organization 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/OPC-510 user’s manual
Po rt addressing
Ports A, B, C and the control register are addressable.
Table 11-4EZ I/O port address
PortI/ O addr ess
ABase address
BBase address + 1
CBase address + 2
Control registerBase 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-5Reading EZ I/O 1 and EZ I/O 2 port addresses at I/O location 0A9h
I/O range
select A
(bit 5)
01130-133h134-138
00150-153h154-158
10350-353h354-358
11330-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 manualEZ 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 corresponds 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 configure 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/OPC-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
NoteWith 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 manualEZ 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:
Ahefh
AL00h
DIPort A configuration
xxxxxxxxxxxxxxxxB
xxxxxxxInitial data for port A
xxxxxxxxBdirection; 1->output, 0->input
BXPort B configuration
xxxxxxxxxxxxxxxxB
xxxxxxxxInitial data for port B
xxxxxxxxBdirection; 1->output, 0->input
CXPort C configuration
xxxxxxxxxxxxxxxxB
xxxxxxxxInitial data for port C
xxxxxxxxBdirection; 1->output, 0->input
DXffffh
Return registers:Carry flag cleared if successful
Carry flag set if error
ALError 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...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.