Octagon 6000 User Manual

NOTICE
The drivers and utilities for Octagon products, previously provided
on a CD, are now in a self-extracting zip file located at the Octagon
Systems web site on the product-specific page. Download this file to a separate directory on your hard drive, then double click on it to extract the files. All references in this manual to files and directories on the CD
now refer to files in the Utilities zip file.
O C T A G O N S Y S T E M S
Embedded PCs For Extreme Environments
6000 Series User’s Manual
4738 (0906)
Micro PC™, PC SmartLink™, CAMBASIC®, Octagon Systems Corporation®, the Octagon logo and the Micro PC logo are trademarks of Octagon Systems Corporation. QuickBASIC® is a registered trademark of Microsoft Corporation. QNX® is a regis­tered trademark of QNX Software Systems Ltd. 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, 2006—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.
Technical Support: 303-426-4521
Telephone: 303-430-1500
FAX: 303-426-8126
Web site:
www.octagonsystems.com
6000 Series user’s manual Notice to user
IMPORTANT!
Please read the following section before installing your product:
Octagon’s products are designed to be high in performance while consuming very little power. In order to maintain this advantage, CMOS circuitry is used.
CMOS chips have specific needs and some special requirements that the user must be aware of. Read the following to help avoid damage to your card from the use of CMOS chips.
Using CMOS circuitry in industrial control
Industrial computers originally used LSTTL circuits. Because many PC components are used in laptop computers, IC manufacturers are exclu­sively using CMOS technology. Both TTL and CMOS have failure mechanisms, but they are different. Described below are some of the failures which are common to all manufacturers of CMOS equipment. However, much of the information has been put in the context of the Micro PC.
Octagon has developed a reliable database of customer-induced, field failures. The average MTBF of Micro PC cards exceeds 11 years, yet there are failures. Most failures have been identified as customer­induced, but there is a small percentage that cannot be identified. As expected, virtually all the failures occur when bringing up the first system. On subsequent systems, the failure rate drops dramatically.
n Approximately 20% of the returned cards are problem-free. These
cards, typically, have the wrong jumper settings or the customer has problems with the software. This causes frustration for the cus­tomer and incurs a testing charge from Octagon.
n Of the remaining 80% of the cards, 90% of these cards fail due to
customer misuse and accident. Customers often cannot pinpoint the cause of the misuse.
n Therefore, 72% of the returned cards are damaged through some
type of misuse. Of the remaining 8%, Octagon is unable to deter­mine the cause of the failure and repairs these cards at no charge if they are under warranty.
Notice to user PC-500 user’s manual
The most common failures on CPU cards are over voltage of the power supply, static discharge, and damage to the serial and parallel ports. On expansion cards, the most common failures are static discharge, over voltage of inputs, over current of outputs, and misuse of the CMOS circuitry with regards to power supply sequencing. In the case of the video cards, the most common failure is to miswire the card to the flat panel display. Miswiring can damage both the card and an expensive display.
n Multiple component failures - The chance of a random compo-
nent failure is very rare since the average MTBF of an Octagon card is greater than 11 years. In a 7 year study, Octagon has found a single case where multiple IC failures were
never
not caused by misuse or accident. It is very probable that multiple component failures indicate that they were user-induced.
n Testing “dead” cards - For a card that is “completely nonfunc-
tional”, there is a simple test to determine accidental over voltage, reverse voltage or other “forced” current situations. Unplug the card from the bus and remove all cables. Using an ordinary digital ohmmeter on the 2,000 ohm scale, measure the resistance between power and ground. Record this number. Reverse the ohmmeter leads and measure the resistance again. If the ratio of the resis­tances is 2:1 or greater, fault conditions most likely have occurred. A common cause is miswiring the power supply.
n Improper power causes catastrophic failure - If a card has had
reverse polarity or high voltage applied, replacing a failed compo­nent is not an adequate fix. Other components probably have been partially damaged or a failure mechanism has been induced. There­fore, a failure will probably occur in the future. For such cards, Octagon highly recommends that these cards be replaced.
n Other over-voltage symptoms - In over-voltage situations, the
programmable logic devices, EPROMs and CPU chips, usually fail in this order. The failed device may be hot to the touch. It is usually the case that only one IC will be overheated at a time.
n Power sequencing - The major failure of I/O chips is caused by the
external application of input voltage while the Micro PC power is off. If you apply 5V to the input of a TTL chip with the power off, noth­ing will happen. Applying a 5V input to a CMOS card will cause the current to flow through the input and out the 5V power pin. This current attempts to power up the card. Most inputs are rated at 25 mA maximum. When this is exceeded, the chip may be damaged.
n Failure on powerup - Even when there is not enough current to
destroy an input described above, the chip may be destroyed when the power to the card is applied. This is due to the fact that the input current biases the IC so that it acts as a forward biased diode on powerup. This type of failure is typical on serial interface chips.
6000 Series user’s manual Notice to user
n Hot insertion - Plugging cards into the card cage with the power on
will usually not cause a problem. (Octagon urges that you do not do this!) However, the card may be damaged if the right sequence of pins contacts as the card is pushed into the socket. This usually damages bus driver chips and they may become hot when the power is applied. This is one of the most common failures of expansion cards.
n Terminated backplanes - Some customers try to use Micro PC
cards in backplanes that have resistor/capacitor termination net­works. CMOS cards cannot be used with termination networks. Generally, the cards will function erratically or the bus drivers may fail due to excessive output currents.
n Excessive signal lead lengths - Another source of failure that was
identified years ago at Octagon was excessive lead lengths on digital inputs. Long leads act as an antenna to pick up noise. They can also act as unterminated transmission lines. When 5V is switch onto a line, it creates a transient waveform. Octagon has seen submicrosecond pulses of 8V or more. The solution is to place a capacitor, for example 0.1 µF, across the switch contact. This will also eliminate radio frequency and other high frequency pickup.
Avoiding damage to the heatsink/CPU
WARNING! When handling any Octagon CPU card, extreme care must be taken not to strike the heatsink against another object, such as a table edge. Also, be careful not to drop the CPU card, since this may cause damage to the heatsink/CPU as well.
Epoxy adhesive bonds the heatsink to the CPU chip. When the heatsink is struck, the epoxy adhesive does not allow the heatsink to separate from the chip. The force of the blow to the heatsink then causes the legs of the CPU chip to separate from the PCB. This force damages both the CPU chip and the PCB.
Note Any physical damage to the CPU control card is not covered under
warranty.
Notice to user PC-500 user’s manual
6000 Series user’s manual About this manual
About this manual
The 6000 Series user’s manual provides information about installing and configuring your model in the 6000 Series of PC Microcontrollers. 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: EZ I/O Chapter 7: AUX I/O Chapter 8: Analog I/O Chapter 9: SSDs, DRAM, and battery backup Chapter 10: External drives Chapter 11: Video Chapter 12: IRQ routing and opto IRQs Chapter 13: LED signaling and “beep” codes Chapter 14: PC/104 expansion Chapter 15: Counter timer controller
n Section 3 – System management
Chapter 16: Watchdog timer, reset, and remote reset Chapter 17: Serial EEPROM Chapter 18: CPU power management Chapter 19: Using PICO FA Chapter 20: CAMBASIC Chapter 21: Software utilities Chapter 22: Troubleshooting
n Section 4 – Appendices
Appendix A: 6010 technical data Appendix B: 6020 technical data Appendix C: 6030 technical data Appendix D: 6040 technical data Appendix E: 6050 technical data Appendix F: Miscellaneous Appendix G: Accessories
About this manual 6000 Series user’s manual
6000 Series user’s manual Overview
Chapter 1:
Introduction
The Octagon 6000 Series PC Microcontroller™ cards are intended for easy usage and high performance in embedded control applications.
The PC Microcontroller cards combine the best features of the PC archi­tecture and microcontroller I/O. Bringing PC software to the microcontroller world eliminates the need to maintain development systems for the different microcontroller chips. The Octagon PC Microcontrollers operate in severe environments, providing an extra margin of reliability in any application. Although ROM-DOS™ 6.22 is included, you can download other operation systems into the flash drive. If you prefer operating in a high-level language, CAMBASIC has been built-in as a fast, easy-to-use, industrial control language.
Common features across the PC Microcontroller product line include: n Suite of embedded software
Overview
— Datalight ROM-DOS™ 6.22 in ROM — Phoenix PICO FA™ flash file system — CAMBASIC™ multitasking language — RS-422/485 networking software–up to 32 nodes — Phoenix BIOS™ with industrial BIOS extensions — Driver library — Diagnostic software
n 40 MHz 386SX processor n 2/4 MB of on-card DRAM n Two solid-state disks
— 1 MB flash SSD with an integral programmer — 128 KB SRAM SSD with battery backup
n Two serial ports with 8 KV ESD protection n Multifunctional parallel port n Keyboard and speaker ports n Watchdog timer n Real time calendar/clock (see note on page 1-7) n Two opto-isolated interrupt inputs n System status LEDs n Stand alone or ISA bus expansion n -40° to 85°C when operating at 25 MHz
0° to 60° C when operating at 40 MHz
n 10g shock, 2g vibration
1-1
Overview 6000 Series user’s manual
n 5V operation n Low power mode n Over voltage/reverse voltage protection
Unique features of each PC Microcontroller are listed in the following table.
Table 1-1 Features of the PC Microcontrollers
F ea tu r es 60 10 6020 60 30 60 40 6050
COM ports 2 2 4 2 2 COM3 and COM4 — RS-232 to R S-422/485
option EZ I/O digital lines 48 24 2 4 LPT port 1 1 1 1 1 Total digital l ines—
includes parallel p ort High current dri vers 8 Analog inputs ——— 8 — Analog outputs 2 — PC/10 4 inte r face YES NO NO NO NO EIDE port YESNONO NONO Floppy port YES NO NO NO NO Co unt er ti mer
controller
NO YES YES YES YES
17 65 17 41 41
NO YES NO NO NO
RS-232 industrial
——
Major features
Suite of embedded software included in SSD0 flash drive
n Phoenix BIOS and Octagon industrial extensions. The BIOS is
shadowed for fast operation.
n “Instant DOS” system. Datalight ROM-DOS 6.22 loads to high
memory on powerup allowing more lower memory for data storage and applications programs.
1-2
6000 Series user’s manual Overview
n PICO FA flash file system makes flash memory appear as a hard
disk to the PC Microcontroller.
n CAMBASIC, industrial control language includes drivers for all
on-card hardware.
n The network kernel allows up to 32 systems to be linked into an
RS-422/485 network.
n The utility library includes application examples in C and
CAMBASIC.
n Diagnostic software is included to test the system on powerup.
CAMBASIC
CAMBASIC supports all on-card I/O including digital, analog, timing, interrupts, communications, and other functions. Thus, CAMBASIC eliminates the need to write hardware drivers. You spend your time writing the applications software rather than writing and debugging drivers.
Diagnostic software verifies system integrity automatically
The PC Microcontroller 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 a bicolored LED. The test is performed auto­matically every time the system is reset or powered up. No monitor, keyboard, disks, test fixtures, test equipment, or software is required. See the LED signaling and “beep” codes chapter for a complete listing of system tests.
DRAM memory is fast and rugged
The PC Microcontroller has surface-mounted, fast page mode DRAM installed. The surface mounting is far more rugged than plug-in memory.
Solid-state disks withstand shock and vibration
SSD0 is a 1 MB flash memory disk containing the software suite in less than 512 KB, leaving more than 512 KB available for user programs. The flash memory is seen by software as a hard disk. The use of the flash allows easy installation of software updates.
SSD2 is an SRAM with 128 KB capacity for data storage. SSD2 is battery-backed with an on-board battery.
1-3
Overview 6000 Series user’s manual
Boot sequence
A PC Microcontroller can be configured to boot from the on-card solid­state disk, an external floppy disk, or hard disk.
Serial ports protected against ESD
The COM1 and COM2 serial ports are 16C550 compatible. The 16 byte FIFO buffers minimize processor overhead in high speed serial commu­nications. Baud rates are programmable from 150 to 115 KB baud. Both ports have an RS-232 interface with the RS-232 voltages gener­ated on-card. The serial ports meet the new IEC1000, level 3, ESD protection specification with ±8 KV of ESD protection. Backdrive pro­tection is also included.
CAMBASIC supports the serial ports with interrupt driven, 2 KB input and output buffers which operate in the background. This ensures that data is not lost while critical control loops are being executed.
Note The network interface module is not compatible with the 6010 model.
Con venient I/O termination with the breakout board (BOB)
Except for the serial and industrial I/O lines, all other I/O is terminated with a 34-pin IDC connector, also called the AUX I/O. The AUX I/O port eliminates cable clutter and the possibility of cables being plugged into the wrong sockets during maintenance. The breakout board termi­nates each function at the appropriate connector. These functions include the keyboard, speaker, printer, floppy drive, battery, and opto­isolated interrupts.
Speaker and keyboard
The PC Microcontroller accepts a PS-2 style AT keyboard and provides speaker output through the breakout board (BOB).
Parallel port is multifunctional
The multifunctional parallel port can be used as a printer port or gen­eral purpose I/O. The parallel port can also interface with a floppy disk drive, drive alphanumeric displays and matrix keypads, or drive high current AC and DC loads using an opto rack and opto modules.
The multifunctional parallel port applications include:
n LPT1 for PC compatible printers n 17 general purpose digital I/O lines n 4 x 4 matrix keypad n 4 line alphanumeric display
1-4
6000 Series user’s manual Overview
n MPB-16PC, 16 position opto-module rack n Floppy disk drive
The printer port is IEEE 1284A compliant, unidirectional and bidirec­tional, EPP (enhanced parallel port) mode, and ECP (extended capabili­ties port) mode compatible. The printer port features backdrive protec­tion and allows for much higher speed transfers than Octagon’s previous standard printer interface. The data lines can sink up to 24 mA. The printer port signals are routed through the PC Microcontroller’s AUX I/O port when using the breakout board.
Keypad and LCD/VF displa y support for low cost operator interface
For embedded applications, a keypad and display (KAD) board and software are available to interface with an alphanumeric display and matrix keypad. The parallel port on the KAD can interface with a 16-key matrix keypad and a 2 or 4 line LCD or vacuum florescent display in applications where an inexpensive operator interface is needed. The microcontroller cards are supplied with the software which provides keypad scanning and display operation. The keypad and display board has sockets for the display and keypad. DISPLAY and KEYPAD commands in CAMBASIC and drivers in C support these devices.
Industrial I/O is EZ I/O
Several PC Microcontrollers feature the Octagon EZ I/O digital I/O chip. EZ I/O supplies 24 I/O lines which can be individually programmed as 5V input or 5V output. Each line can sink or source 15 mA. The 24 I/O lines are divided into three groups of 8 with 10 K resistors that can be connected to ground or +5V. The EZ I/O port can drive the MPB series opto-isolation module racks directly, controlling input and loads to 240V and 3A. CAMBASIC has several commands to support the EZ I/O port when working on bit, BCD, byte, or word bases.
High current outputs
Model 6050 dedicates 8 lines as high current outputs, capable of driving 100 mA loads rated up to 50V.
External interrupt and reset are optically isolated for saf ety
One opto-isolated input causes a master reset; and the other causes the system to generate an IRQ9. Both inputs accept voltages from 4.5 to 6 VDC. This could be used for an emergency stop, power failure, system synchronization, or a similar function. Drivers are provided in CAM­BASIC and C.
1-5
Overview 6000 Series user’s manual
Interrupts used to the maximum
Real time operation often requires many interrupts for high speed response to events. Five of the AT interrupts are connected to the ISA bus in addition to the four interrupts used on the card This provides the best use of the interrupts for demanding applications.
System expansion is flexible
The PC Microcontroller can expand via an 8-bit ISA unterminated backplane with the Octagon 5000 Series expansion cards.
Mounting
There are several ways to mount a PC Microcontroller: n Plug it directly into an Octagon Micro PC card cage. Power is sup-
plied through the backplane.
n Use the optional PC mounting bracket and plug it into any passive
ISA backplane. Power is supplied through the backplane.
n Panel mount it using the four mounting holes for stand alone opera-
tion. A two position terminal connector is used to supply the 5V power.
n Stack it with other Micro PC cards. An Octagon two card stacking
kit or a flexible backplane using 3M connectors and ribbon cable can be used to stack several cards together.
Hardware reset
A hardware reset can be done by any of the following means:
n Issuing the RESET software command, using the watchdog function n Depressing the reset switch n Cycling power n Input from an optically-isolated 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.
Watchdog timer f or added safety
The watchdog timer resets the system if the program stops unexpect­edly. The watchdog is enabled, disabled, and strobed under software control. The time-out is 1.6 seconds (typical).
1-6
6000 Series user’s manual Overview
SETUP information stored in EEPROM for high reliability
The loss of SETUP data is serious in industrial applications. In the PC Microcontroller, SETUP data is stored in nonvolatile serial EEPROM eliminating the problem with battery or power failure (with the exception of time and date). 512 bytes of the serial EEPROM are reserved by the BIOS. An additional 1536 bytes are available to the user. A software driver is supplied for accessing the EEPROM.
Real time calendar/clock with battery backup
The PC Microcontroller has a built-in AT style, real time clock. The real time clock is powered by an external AT style battery. For additional backup, an on-card battery powers the calendar/clock when the external battery is being replaced. The clock may be read either through DOS or CAMBASIC. The calendar/clock also provides the user with 128 bytes of user-defined CMOS-RAM.
Note: The date and time occasionally resets to default. If your applica­tion requires date/time stamping you should consider another Octa­gon Systems CPU card.
Power management reduces power by more than 70%
Power management can be used to reduce power consumption or to freeze the state of the program on the occurrence of a power manage­ment interrupt. Power consumption can be reduced by more than 70%, reducing the heat load and extending battery life in mobile applications.
Rugged en vironmental operation
The CPU case temperature may range from -40° to 85°C during opera­tion at 25 MHz, or 0° to 60° C during operation at 40 MHz. The PC Microcontroller is designed to withstand 10g shock and 2g vibration.
5 volt only operation lowers system cost
The PC Microcontroller operates from a single 5V ± 4% supply. Lo­cated across the power supply, the 6.2V, 5W diode protects against reverse voltage and limits over voltage. Power is supplied to the card either through the ISA bus connector or the terminal block.
1-7
Overview 6000 Series user’s manual
Reference designators
Before you continue with the installation of your PC Microcontroller, review the following tables for a list of connectors and jumper blocks for the functions on your particular model in the 6000 Series of PC Microcontrollers.
Table 1-2 6000 Series connectors
Reference designator 6010 6020 60 30 6040 60 50
COM1 COM2 COM3 COM4 AUX I/O J2 J2 J2 J2 J2 Power J5 J5 J5 J5 J5 Battery J6 J6 J6 J6 J6 Analog I/O ———J7 USESETUP W1 W1 W1 W1 W1 EZ I/O 1 J1/W3 J1/W2/W4 J1/W2 EZ I/O 2 —J7/W3—— D/A ———W3 I/O range select A/
BIOS device PC/104 J1 Floppy J8 Hard dri ve J7
J3 J3 J3 J3 J3 J4 J4 J4 J4 J4 ——J1— — ——J7—
W2 W2 W2 W2 W2
1-8
6000 Series user’s manual Quick start
Chapter 2:
Quick start
This chapter covers the basics of setting up a PC Microcontroller sys­tem. The following topics are discussed:
n Panel mounting, stacking, or installing the PC Microcontroller into
an Octagon card cage
n Setting up a serial communications console I/O link between the PC
Microcontroller and your desktop PC
n Downloading files to the PC Microcontroller and running a program
from the virtual drive.
The PC Microcontroller may not be installed in a PC. These cards are designed to be independent CPU cards only, not accelerators or coprocessors.
Hardware installation
The PC Microcontroller card contains static-sensitive CMOS components. The card is most susceptible to damage when it is plugged into a card cage. The PC Microcontroller becomes charged by the user, and the static discharges to the back­plane from the pin closest to the card connector. If that pin happens to be an input pin, even TTL inputs may be dam­aged. To avoid damaging your card and its components:
n Ground yourself before handling the card n Disconnect power before removing or inserting the card.
WARNING!
WARNING!
Take care to correctly position the PC Microcontroller in the card cage. The VCC and ground signals must match those on the backplane. Figure 2-1 shows the relative positions of the PC Microcontroller as it is installed in the card cage.
Your PC Microcontroller can be installed in one of several ways:
n Plugging it directly into an 8-bit Micro PC card cage n Using the optional PC mounting bracket and plugging it into any
8-bit passive ISA backplane
n Panel mounting it using the four mounting holes n Stacking it with other Micro PC cards.
WARNING!
2-1
Quick start 6000 Series user’s manual
Note The product-specific appendices provide component diagrams for the PC
Microcontrollers in the 6000 Series. Refer to them as needed.
Using a Micro PC card cage
To install the PC Microcontroller in a Micro PC card cage, you will need the following equipment (or equivalent):
n PC Microcontroller n Micro PC card cage (5xxx Card Cage) n Power module (510x or 71xx Power Module) n VTC-9F Cable n Null modem adapter n PC Microcontroller ROM-DOS and utility disk n PC SmartLINK with manual n Your PC
Refer to the Miscellaneous appendix if you are making your own serial cable or using other non-Octagon components.
To install the PC Microcontroller:
1. Refer to the component diagram in the appropriate product-specific appendix for the location of various connectors before installing the PC Microcontroller.
Figure 2-1 Edge connector orientation
A31
Micro-PC
Passive
Backplane
A1 B1
B31
Card Edge Pins A31 & B31
PC Microcontroller
Card Edge Pins A1 & B1
2. Attach the Octagon power module to the card cage following the instruc­tions supplied with the power module.
3. Make sure power to the card cage is OFF.
2-2
6000 Series user’s manual Quick start
4. Slide the PC Microcontroller into the card cage. The ROM-BIOS label
on the card should face away from the power supply. See Figure 2-2 for an illustration of a PC Microcontroller in a Micro PC card cage.
Figure 2-2 Populated Micro PC card cage
WARNING!
Plugging in the card incorrectly will destroy the card!
5. Connect one end of a VTC-9F cable to the null modem adapter. Connect
the other end to COM1 on the PC Microcontroller.
Note You must use COM1 on the PC Microcontroller in order to establish a
serial communications console I/O link with your PC.
6. If your PC has a 9-pin serial connector, connect the null modem adapter
to any serial port (COM1 through COM4) on your PC. If your PC has a 25-pin serial connector, attach a 9-25 pin adapter to your null modem adapter, then insert the matching end of the 9-25 pin adapter into the serial port. See Figure 2-3.
2-3
Quick start 6000 Series user’s manual
Figure 2-3 Serial communications setup
DB-9
Connectors
Desktop PC
e
l
Cab
F
-9
C
T
V
COM Port
COM1
PC Microcontroller
Null Modem
Adapter
DB-9 to DB-25
Adapter
OR
Desktop PC
e
l
b
a
C
F
-9
C
T
V
Null Modem
Adapter
COM Port
DB-25
Connector
Note Refer to the PC SmartLINK manual for more information on using a
desktop PC COM port other than COM1. You are now ready to transfer files between your PC and the PC Micro-
controller. Continue with the section, Establishing communications with the PC Microcontroller, in this chapter.
Panel mounting or stacking the PC Micr ocontroller
To panel mount or stack the PC Microcontroller, you will need the following equipment (or equivalent):
n PC Microcontroller n 5V power supply n VTC-9F cable n Null modem adapter n PC Microcontroller ROM-DOS and utility disk n PC SmartLINK with manual n Your PC n 5252MB stacking kit (required for stacking only) (P/N 3590)
Refer to the Miscellaneous appendix if you are making your own serial cable or using other non-Octagon components.
2-4
6000 Series user’s manual Quick start
If you are panel mounting the PC Microcontroller, a screw terminal connector is provided to supply the 5V power. Refer to Figure 2-4 for an illustration of panel mounting the PC Microcontroller.
WARNING!
Miswiring the voltage at P2 of the PC Microcontroller or at the power connector of the 5252MB stacking kit (reversing +5V and ground, or applying a voltage greater than +5V), will destroy the card and void the warranty!
Figure 2-4 Panel mounting the PC Microcontroller
Power connector
Figure 2-5 Stacking the PC Microcontroller
1. To panel mount the PC Microcontroller, use #4-40 standoffs and screws
to secure the card. The following diagram shows the center-to-center mounting hole dimensions.
Power connector
5252MB
stacking kit
2-5
Quick start 6000 Series user’s manual
To stack the PC Microcontroller, refer to the 5252MB stacking kit prod­uct sheet enclosed with the kit. Then proceed with Step 2 in this section.
Figure 2-6 PC Microcontroller center-to-center hole dimensions
A = 4.90 in. (124,46 mm) B = 0.20 in. (5,08 mm) C = 3.50 in. (88,90 mm) D = 0.10 in. at 45°, 2 PLCS (2,54 mm at 45°) E = 0.475 in. (4,44 mm) F = 0.85 in. (21,59 mm) G = 3.20 in. (81,28 mm) H = 0.30 in. (7,62 mm) J = 4.20 in. (106,68 mm) K = 0.20 in. (5,08 mm) L = 4.50 in. (114,30 mm) M = .475 in (12,07 mm)
A
L
J
0.015 in. at 45• CHAMFER, 2 PLCS (0,038 mm)
A31
H
F
GF
BEVEL CARD EDGE, 2 PLCS .015 in. x 45• (0,038 mm x 45•)
A1
K
B
0.125 in. HOLE (3.17 mm) 4 PLCS
C
M
E
D
2. Connect the ground and 5V wires to the terminal block of the PC Micro­controller or P2 of the stacking kit.
2-6
3. Connect one end of the VTC-9F cable to the null modem adapter. Con­nect the other end to COM1 on the PC Microcontroller.
Note You must use COM1 on the PC Microcontroller in order to establish a
serial communications console I/O link with your PC.
4. If your PC has a 9-pin serial connector, connect the null modem adapter to any serial port (COM1 through COM4) on your PC. If your PC has a 25-pin serial connector, attach a 9-25 pin adapter to your null modem adapter, then insert the matching end of the 9-25 pin adapter into the serial port. See Figure 2-3.
Note Refer to the PC SmartLINK manual for more information on using a
desktop COM port other than COM1. You are now ready to transfer files between your PC and the PC Micro-
controller. Continue with the section, Establishing communications with the PC Microcontroller in this chapter.
6000 Series user’s manual Quick start
Using the PC Microcontroller in a passive ISA bac kplane
To plug the PC Microcontroller into a passive ISA backplane, you will need the following equipment (or equivalent):
n PC Microcontroller n Unterminated backplane n Mounting bracket (optional) n Power module n VTC-9F cable n Null modem adapter n PC Microcontroller ROM-DOS and utility disk n PC SmartLINK with manual n Your PC
Refer to the Miscellaneous appendix if you are making your own serial cable or using other non-Octagon components.
To install the PC Microcontroller:
1. Make sure power to the backplane is OFF.
2. Insert the PC Microcontroller into a connector on the backplane (see Figure 2-7). Take care to correctly position the card’s edge with the connector of the backplane. Figure 2-1 shows the relative positions of the PC Microcontroller card as it is installed into a backplane.
Incorrectly plugging the card into the backplane will destroy the card and void the warranty!
Figure 2-7 Using a passive ISA backplane
WARNING!
Mounting bracket
XT/AT passive backplane
2-7
Quick start 6000 Series user’s manual
3. Connect one end of a VTC-9F cable to the null modem adapter. Connect the other end to COM1 on the PC Microcontroller.
Note You must use COM1 on the PC Microcontroller in order to establish a
serial communications console I/O link with your PC.
4. If your PC has a 9-pin serial connector, connect the null modem adapter to any serial port (COM1 through COM4) on your PC. If your PC has a 25-pin serial connector, attach a 9-25 pin adapter to your null modem adapter, then insert the matching end of the 9-25 pin adapter into the serial port. See Figure 2-3.
Note Refer to the PC SmartLINK manual for more information on using a
desktop PC COM port other than COM1. You are now ready to transfer files between your PC and the PC Micro-
controller. Continue with the section, Establishing communications with the PC Microcontroller in this chapter.
Establishing communications with the PC
Microcontroller
1. Install PC SmartLINK (or other communications software) on your PC if you have not already done so. Refer to the PC SmartLINK manual for installation instructions.
2. Copy the PC Microcontroller files from the supplied utility disk to a subdirectory on your PC hard drive.
C: MD C:\MPC XCOPY A:\*.* C:\MPC /S
3. Start PC SmartLINK. You are now ready to establish communications between your PC and the PC Microcontroller.
4. Power on the PC Microcontroller.
5. A logon message similar to the one below will appear on your PC moni­tor:
PhoenixBIOS (TM) A386 Version x.xx Copyright (C) 1985-1992 Phoenix Technologies, Ltd. All Rights Reserved
Octagon Systems Corp. 40 MHz 60xx CPU Release vx.xx - mm/dd/yy
Ali 386SX-V8T processor detected operating at 40 MHz 640K Base Memory, 1024K Extended INT 17h BIOS extension vx.xx
Copyright (c) 1995-97 Octagon Systems Corporation PICO Flash Array
2-8
6000 Series user’s manual Quick start
Copyright (c) 1996,Phoenix Technologies Ltd. Resident Flash (RFA) OEM Layer
Phoenix PICO Flash Array (TM) Copyright (c) 1996 Phoenix Technologies LTD Octagon Systems vx.xx First drive of size 896K is installed in SSD0 (AMD 1MB flash)
Second drive of size 128K is installed in SSD2 (128K SRAM) RS-485 support BIOS extension vx.xx Copyright (c) 1996, Octagon Systems
Starting ROM-DOS... HIMEM v6.22 (Revision x.xx)
Copyright (c) 1989-1995 Datalight, Inc. VDISK v6.22 (Revision x.xx)
Copyright (c) 1989-1995 Datalight, Inc.
Extended Memory Present
VDISK v6.22 (Revision x.xx) Copyright (c) 1989-1995 Datalight, Inc.
Formatting 1024K XMS memory as drive E:
60xx C:\>
If you do not get the proper logon message: n Check the PC SmartLINK serial parameters of your PC to make sure
they are set correctly. Parameters should be 9600 baud, 8 data bits, no parity, and 1 stop bit.
n Make sure a video card is not installed in the card cage n Make sure all jumpers are set to factory defaults n If the system still does not respond, refer to the Troubleshooting
chapter.
6. Use the directory command to make sure your equipment and software are working properly. Enter:
60xx C:\> DIR
A directory listing of ROM-DOS files stored in the BIOS socket should appear:
Volume in drive C has no label Directory of C:\
AUTOEXEC BAT 43 09-12-96 2:03p COMMAND COM 26,321 04-17-95 6:22a CONFIG SYS 73 09-12-96 2:03p DOS <DIR> 02-24-97 10:57p UTILS <DIR> 02-24-97 10:57p CAMBASIC <DIR> 02-24-97 10:57p
6 file(s) 26,437 bytes
489,472 bytes free
7. You are now ready to transfer files between your PC and the PC Microcontroller.
2-9
Quick start 6000 Series user’s manual
Transferring files between the PC Microcontroller
and your PC
Once you have established communications between your PC and the PC Microcontroller, you can serially download files to any read/write drive used by the PC Microcontroller. You can then test and debug your application files. You can also upload files from the PC Microcontroller to your desktop PC for editing and debugging.
When booting from the PC Microcontroller BIOS drive, the default CONFIG.SYS device drivers designate drive C: as the BIOS drive (SSD0), drive D: as the SRAM drive (SSD2), and drive E: as the virtual drive. All drives assigned, can be accessed as read/write drives and files can be serially transferred to and stored on any of these drives.
Note The virtual drive is optional when booting from SSD0, floppy drive or
hard drive. If you do not need a virtual drive, do not use VDISK.SYS. There are two methods to download files through the serial port to the
PC Microcontroller: n The TRANSFER utility is used to download files, one at a time, to
the PC Microcontroller using the XMODEM protocol. TRANSFER.EXE resides on the PC Microcontroller BIOS drive and on the PC Microcontroller utility disk and is used to send or receive files via the serial port (e.g., COM1). TRANSFER.EXE uses the XMODEM protocol, as does PC SmartLINK. (See the note below on XMODEM).
Note In Windows 95 when the TRANSFER utility is used to download files,
set the idle time sensitivity of PC SmartLINK on your desktop PC to “low” for TRANSFER to run quickly. To change your settings, follow the steps below:
1. Open Windows Explorer.
2. Select SL.EXE with the right mouse button.
3. Select the Properties menu item.
4. Select the Miscellaneous tab in the Properties window.
5. Move the Idle Sensitivity slide bar to low.
6. Select the Apply button.
7. Exit the Properties window. n REMDISK/REMSERV utilities allow access to all of the files on a
remote disk drive. REMDISK.EXE and REMSERV.EXE are located on the PC Microcontroller BIOS drive and the PC Microcontroller utility disk. Once these programs are executed, single or multiple files can then be transferred to and from the PC Microcontroller using DOS COPY or XCOPY commands.
Note REMDISK/REMSERV will not work with Windows 95. Use
REMDISK/REMSERV with ROM–DOS, MS–DOS, or on a network.
2-10
6000 Series user’s manual Quick start
TRANSFER.EXE, REMDISK.EXE, and REMSERV.EXE are located on the PC Microcontroller BIOS drive, in the DOS directory, and on the PC Microcontroller utility disk in the \DOS directory. Refer to the Software
utilities chapter for more information on these programs.
Note XMODEM only transfers files in which the file size is exactly on a
128 byte boundary. If the file size does not fall exactly on the boundary, XMODEM automatically rounds the file size up to the next 128 byte boundary with padding characters. For example, a file with a size of 10,000 bytes, will be rounded up to 10,112 bytes, transferred, and written with the new file size. In most cases, this is not a concern, but in some instances the XMODEM padding causes problems. The pad­ding problems become apparent when an application program is expect­ing a specific file size or is expecting characters other than the padding characters to be at the end of the file.
The following information on downloading files between the PC Micro­controller and your PC uses the example program DEMO.EXE. This file is on the PC Microcontroller utility disk in the \DEMO directory.
Downloading files to the PC Microcontr oller using TRANSFER.EXE
The following procedures assume you are using PC SmartLINK and that it is included in your directory path. For other communication programs, refer to their instructions on sending a file from your PC to a target system. Refer to the Software utilities chapter for specific infor- mation on using TRANSFER.EXE.
Hardware and software requirements: n Desktop PC, running PC SmartLINK, connected by a VTC-9F cable
and a null modem adapter to COM1 of the PC Microcontroller
n A PC Microcontroller running TRANSFER.EXE out of COM1.
2-11
Quick start 6000 Series user’s manual
1. Connect the equipment as per the following diagram:
Figure 2-8 Downloading files using TRANSFER.EXE
PC SmartLINK
PC Microcontroller
COM1
VTC-9F cable
Null modem
adapter
Desktop PC
COM port
TRANSFER.EXE
2. On the desktop PC, log into the directory which contains the file(s) you will download to the PC Microcontroller, for example:
C:\MPC\60xx\DEMO
3. Start PC SmartLINK and power on the PC Microcontroller.
4. Execute the TRANSFER.EXE program from the PC Microcontroller by entering:
60xx C:\> TRANSFER E:DEMO.EXE
Note In this case, E: is the virtual drive assigned in CONFIG.SYS. Any PC
Microcontroller read/write drive could be substituted.
Note When sending a file, enter the following:
60xx C:\> TRANSFER /S
The following message is displayed from the PC Microcontroller:
Receiving E:DEMO.EXE . . .
5. Execute the following steps using PC SmartLINK: a. Press <ALT><D> to enter the download screen.
b. Type in the name of the file to transfer, e.g. DEMO.EXE (if PC
SmartLINK was not started in the DEMO directory as instructed in Step 2, then the entire path may have to be entered C:\MPC\DEMO\DEMO.EXE)
2-12
6000 Series user’s manual Quick start
c. To begin the transfer, do one of the following:
n press ENTER (default download START) n tab to START and press ENTER n mouse click on the START button in the download screen.
d. When the file transfer is completed, press <ESC> twice to return to
the main PC SmartLINK screen.
Note TRANSFER.EXE will time-out if the program has not been started after
approximately 40 seconds. If the time-out occurs, the following message from the PC Microcontroller is displayed:
Failed to receive E:DEMO.EXE! Deleting E:DEMO.EXE
6. When the file transfer is complete, type the following DOS command to
view the E: drive directory and confirm that your file has been trans­ferred to the PC Microcontroller:
60xx C:\> DIR E:
The system will display the contents of drive E:
Volume in drive E is VDISK vX.XX Directory of E:\
DEMO EXE 27264 06-07-96 2:57p
1 file(s) 27264 bytes
7. To execute the program you have just downloaded, type:
60xx C:\> E:DEMO
The DEMO program displays a message on your PC.
Downloading files to the PC Microcontr oller using REMDISK/ REMSER V
There are three methods of using REMDISK/REMSERV with a PC Microcontroller:
n PC Microcontroller with no video card and one serial cable n PC Microcontroller with no video card, two PCs, and two serial cables n PC Microcontroller with a 5420 video card and one serial cable.
Refer to the Software utilities chapter for specific information on using REMDISK.EXE and REMSERV.EXE.
Note REMDISK/REMSERV will not work with Windows 95 or on a network.
Use REMDISK/REMSERV with ROM–DOS or MS–DOS.
2-13
Loading...
+ 203 hidden pages