This PEP product is carefully designed for a long and fault-free life; nonetheless, its life expectancy can be drastically
reduced by improper treatment during unpacking and installation.
Observe standard anti-static precautions when changing piggybacks, ROM de vices, jumper settings etc. If the product
contains batteries for RTC or memory back-up, ensure that the board is not placed on conductive surfaces, including
anti-static plastics or sponges. These can cause shorts and damage to the batteries or tracks on the board.
When installing piggybacks, switch off the power mains.
Furthermore, do not exceed the specified operational temperature ranges of the board version ordered. If batteries are
present, their temperature restrictions must be taken into account.
Keep all the original packaging material for future storage or warranty shipments. If it is necessary to store or ship the
board, re-pack it as it was originally packed.
This document contains proprietary information of PEP Modular Computers. It may not be copied or transmitted by
any means, passed to others, or stored in any retrieval system or media, without the prior consent of PEP Modular
Computers or its authorized agents.
The information in this document is, to the best of our knowledge, entirely correct. Howe ver , PEP Modular Computers
cannot accept liability for any inaccuracies, or the consequences thereof, nor for any liability arising from the use or
application of any circuit, product, or example shown in this document.
PEP Modular Computers reserve the right to change, modify, or improve this document or the product described herein, as seen fit by PEP Modular Computers without further notice.
We grant the original purchaser of PEP products the following hardware warranty. No other warranties that may be
granted or implied by anyone on behalf of PEP are valid unless the consumer has the expressed written consent of PEP
Modular Computers.
PEP Modular Computers warrants their own products (excluding software) to be free from defects in workmanship
and materials for a period of 24 consecutive months from the date of purchase. This warranty is not transferable nor
extendible to cover any other consumers or long term storage of the product.
This warranty does not cover products which hav e been modified, altered, or repaired by any other party than PEP Modular Computers or their authorized agents. Furthermore, any product which has been, or is suspected of being damaged as a result of negligence, misuse, incorrect handling, servicing or maintenance; or has been damaged as a result of
excessive current/v oltage or temperature; or has had its serial number(s), an y other markings, or parts thereof altered,
defaced, or removed will also be excluded from this warranty.
A customer who has not excluded his eligibility for this warranty may, in the event of any claim, return the product at
the earliest possible convenience, together with a copy of the original proof of purchase, a full description of the application it is used on, and a description of the defect; to the original place of purchase. Pack the product in such a way
as to ensure safe transportation (we recommend the original packing materials), whereby PEP undertakes to repair or
replace any part, assembly or sub-assembly at our discretion; or, to refund the original cost of purchase, if appropriate.
In the event of repair , refund, or replacement of any part, the o wnership of the removed or replaced parts re verts to PEP
Modular Computers, and the remaining part of the original guarantee, or any new guarantee to cover the repaired or
replaced items, will be transferred to cover the new or repaired items. Any extensions to the original guarantee are
considered gestures ofgoodwill, and will be defined in the “Repair Report” returned from PEP with the repaired or replaced item.
Other than the repair, replacement, or refund specified abov e, PEP Modular Computers will not accept any liability for
any further claims which result directly or indirectly from any warranty claim. We specifically exclude any claim for
damage to any system or process in which the product was employed, or any loss incurred as a result of the product
not functioning at any given time. The extent of PEP Modular Computers liability to the customer shall not be greater
than the original purchase price of the item for which any claim exists.
PEP Modular Computers makes no warranty or representation, either expressed or implied, with respect to its products, reliability, fitness, quality, marketability or ability to fulfill any particular application or purpose. As a result, the
products are sold “as is,” and the responsibility to ensure their suitability for any given task remains the purchaser’s.
In no event will PEP be liable for direct, indirect, or consequential damages resulting from the use of our hardware or
software products, or documentation; even if we were advised of the possibility of such claims prior to the purchase
of, or during any period since the purchase of the product.
Please remember that no PEP Modular Computers employee, dealer, or agent are authorized to make an y modification
or addition to the above terms, either verbally or in any other form written or electronically transmitted, without
consent.
PEP’s VM162/172 combines high computational performance and fle xible I/O requirements through its
twin IndustryPack and single CXC interface with excellent communication ability afforded by the Motorola ‘QUICC’ controller.
A combination of high-performance CPUs (Motorola MC68040/MC68060) and the Quad Integrated
Communications Controller chip, the Motorola MC68EN360,‘QUICC’ not only enable computational
performances from approximately 35 MIPs to over 100 MIPs, but dispense with the usual restrictions
associated with serial communication.
Application-specific tailoring is assured through versatile interface options which, together with PEP’s
CXC interface, makes this 6U VMEb us CPU ideally suited for communication and automation applications.With up to 6 serial interfaces resident within the same realestate and support for standard LAN or
WAN interfaces provided, communicational versatility is guaranteed.
T wo on-board EPR OM sock ets are designed to accommodated R OMed applications and/or the PEPbug
debug monitor .The VM162/172 is supplied with these sock ets empty and the PEPbug programmed into
the FLASH memory residing on one of the DM6xx memory piggybacks.
VM162/VM172Chapter 1 Introduction
The PEP VM162/172 Board Support Package is available for several popular real-time operating systems: OS-9, VxWorks,VRTX/OS and pSOS+.
1.2 IndustryPack Flexibility
Fully integrated within the VM162/172 CPU boards are tw o IndustryPack carrier interf aces. Each inter face accesses an 8/16-bit databus and supports IP class 1 modules.
The IP concept is based on an open specification allowing vendors to fabricate an independent library
of digital, analog, communication or counter mezzanine plug-in modules for example that are compatible with carrier boards from manufacturers like PEP. With a few hundred such mezzanines currently
available, users can easily find the appropriate interface to a wide variety of industrial requirements.
In accordance with the IP specification, PEP has implemented an 8/16-bit data width interface operating
at 8 or 32MHz that supports interrupts and communicates with the host carrier via a 50-pin connector
with embedded address, data, control and power lines.This caters for more than 90% of the av ailable IP
modules which do not have DMA support.
Although the VM162/172 adds a new dimension to computer architecture with its direct IndustryPack
interface, it is also a continuation of the successful range of PEP’s CPU boards with communication processors and CXC capability. The CXC extends the already abundant industrial I/O capability of the CPU
and also allows custom design according to the guidelines laid-down in the CXC specification.
Introduced in 1990, PEP’s Controller eXtension Connector (CXC) concept enables a mezzanine Input/
Output extension on the VME or on distrib uted Input/Output systems based on CXC as a backplane bus.
The CXC is based on an open specification allowing unprecedented flexibility in meeting customer requirements.
PEP has named these mezzanine plug-in modules Controller eXtension Modules (CXM). These 96-pin
CXMs are designed to operate with CXC based host modules which includes the VM162/172.
Designed primarily to operate in harsh industrial environments, this versatile modularity provides not
only a cost-effective engineering solution but also allows customers a near exhaustive selection of system configurations through a selection of over 30 base CXMs providing analog, digital and other I/O
extensions such as SCSI and fieldbus connection (PROFIBUS, CAN, LON and Bitbus). Hence, a feature of the VM162/172 is that the ‘raw’ serial signals from the ‘QUICC’ SCC2, SCC3 and SCC4 channels being internally wired to the front panel as well as to the CXC interface.
Network interfacing is provided if required by ordering the relevant front-panel which comes complete
with the appropriate SI6-piggyback, serial port connectors and 50-pin D-Sub IndustryPack connector.
Naturally, to cater for those customers who merely wish to tak e advantage of the computing power and
CXC capablility that the VM162 offers, blank front-panels without the networking options have been
devised.
1.4 Front Panel and I/O Configuration
The illustrated front-panels show the possible connections of the SCC1 communications channel for
Ethernet, RS485 or blank. In addition, the front panels are available with mini-D-Sub connectors instead
of RJ45 connectors for the 4 standard serial channels.
The 50-pin, subminiature SCSI 2 style D-Sub connectors for emerging IP signals offer improved EMI
protection (compared with the on-board flat cable connector.) Each IP module has its o wn shielded connector for state-of-the-art industrial cabling.
All front-panels feature a user, watch-dog and halt status LED, reset and abort button switches and
where possible, the status of the Ethernet communication.
SC and SI6 piggybacks adapt the multi-protocol serial channels of the ‘QUICC’ to the physical interfaces provided on the VM162/172’s front-panel and CXC:
The 68060 processor operating at 50 Mhz provides the highest performance while the 68040(V) at 33
MHz sets the standard in the Motorola CISC portfolio.
68EN360
The ‘QUICC’ chip operates as an I/O and communication companion providing 4, high-speed serial
channels, timers, clocks and Time Slot Assignment (TSA).
Serial Channels
All high-speed SCC channels are equipped with hardware hand-shaking and are available for a variety
of applications. SCC1 can be configured for either ethernet or RS485 (e.g. PROFIBUS) use by fitting
the appropriate SI6 piggyback. SCC2 - SCC4 are configured by default for RS232 operation and can be
changed to optoisolated RS232/485 as required by fitting the SC piggyback.An SMC1 interface provides a simple RS232 connection for console/debug operations.
Figure 1.2 MC68EN360 Channel Assignment
MC68EN360 Channel
Assignment
SCC1
MC68EN360
SMC1
SCC2 SCC3 SCC4
}
3x Serial Interfaces for
SC-Piggyback And CXC
CXC Interface
}
SI-Interface
RS232 with
Rx and Tx only
SI-Piggyback
Interface
Real-Time
Clock
SC-Piggyback
Interfaces
Page 1- 6
CXC Interface
The 96-pin interface allows other I/O possibilities to be realised by utilising PEP’ s plug-in cards such as
the CXM-PFB12, CXM-CAN, CXM-LON, CXM-SCSI or CXM-SIO3..
Ethernet Interface
Three different SI6 piggybacks complete with all the associated control logic are available providing
10Base2, 10Base5 or 10BaseT interfaces.
RS485 Interfaces
This is a fully optoisolated RS485 SI6-interfacepiggyback with a 9-pin D-Sub connector.
Any two IndustryPacks from a wide-range may be fitted to cater for the needs of digital, analog, communication or counter functions. PEP also offers customers a non-gratis service that integrates the chosen IP module and RT-OS with the VM162/172 carrier board.
SC-Interface
Three RS232 SC-Piggybacks are fitted as standard for serial communication.These can be replaced by
optoisolated RS232 or RS485 piggybacks as required.
DMA Channels
2 independent channels are provided by the ‘QUICC’ chip for use by applications requiring DMA transfer between VMEbus, CXC-modules, DRAM,FLASH memory and dual-ported SRAM.
DRAM/FLASH
This memory, complete with a 32 bit-wide access bus is placed on a piggyback with addressing capability for up to two memory banks of 64 MByte each.The on-board programmable FLASH memory allows the user to produce low cost upgrades by over-writing existing stored data and may also be
configured as a boot device.
SRAM
This is a dual-ported battery-backed (Goldcap) memory area with a 16 bit- wide access bus. Users of the
VMEbus and CPU both have access to this memory.
EEPROM
A 2 kbit EEPROM is provided on-board, 1 kbit has been pre-programmed with PEP production data leaving the remaining available space for user application code.
Real-Time ClockV3021 with (year, month, week, day, hour, min., sec.)
Tick
Timer
Time-Out
WatchdogEnabled by software with front-panel LED
MC68040(V) @ 33 MHz
MC68060 @ 50 MHz
MC68EN360 Companion processor for network
support on SI6 piggybacks
1/4/16/32 MByte (32-bit access) DRAM
0.5/1/2/4 MByte (32-bit access) FLASH (Available
on DM6xx Memory Piggyback)
256 kByte or 1 MByte dual-ported SRAM with data
retention via Goldcap
2 kbit serial EEPROM for configuration data
2 ROM sockets for up to 1 MByte device (optional)
Built-in on MC68EN360 providing a programmable
periodic interrupt (default 10ms)
4x16, 2x32-bit resolution built-in timers on the
MC68EN360
On-board BERR* time-out min. 8 µ s, max.128 µ s
128 µ s VMEbus BERR* both with software enable/
disable
VM172-BASESame as order no. 16134 but with 1 MByte dual-ported SRAM16194
Goldcap for back-up), five serial interfaces (four available on the
front panel as RS232 (RJ45) and one available from the choice of
SI6-networking piggybacks), CXC interface, two IP interfaces and
PEPbug
VM162-BASESame as order no. 16026 but with 1 MByte dual-ported SRAM16193
DM 600
DM 600
DM 601
DM 601
DM 602
DM 603
Goldcap for back-up), five serial interfaces (four available on the
front panel as RS232 (RJ45) and one available from the choice of
SI6-networking piggybacks), CXC interface, two IP interfaces and
PEPbug
Memory Piggyback with 4 MByte DRAM and 1 MByte FLASH
memory for VM162/172
Memory Piggyback with 4 MByte DRAM and 4 MByte FLASH
memory for VM162/172
Memory Piggyback with 16 MByte DRAM and 1 MByte FLASH
memory for VM162/172
Memory Piggyback with 16 MByte DRAM and 4 MByte FLASH
memory for VM162/172
Memory Piggyback with 1 MByte DRAM and 1 MByte FLASH
memory for the VM162/172
Memory Piggyback with 32 MByte DRAM and 512 kByte FLASH
memory for the VM162/172
16026
11852
11853
11854
11855
12765
13027
DM 603
DM 604
DM 604
SI6-10B2-IP
SI6-10B5-IP
Page 1- 10
Memory Piggyback with 32 MByte DRAM and 2 MByte FLASH
memory for the VM162/172
Memory Piggyback with 8 MByte DRAM and 1 MByte FLASH
memory for the VM162/172
Memory Piggyback with 8 MByte DRAM and 4 MByte FLASH
memory for the VM162/172
10Base2 Thin Ethernet interface piggyback with RG58 coax.
connector
10Base5 Ethernet (AUI) interface piggyback with 15-pin D-Sub
connector
Important : The VM162 and VM172 must be ordered with a memory module (DM60x) and a front-panel with integrated SI6-piggyback module.
For configurations requiring the 2 x 50-pin D-Sub front-panel connectors instead of the flat-band cable
option, please contact the nearest PEP sales office for further information.
10BaseT Twisted pair Ethernet interface piggyback with RJ45
connector
Front panel without networking interface(s)
Optoisolated RS485 interface piggyback with 9-Pin D-Sub
connector
Optoisolated RS232 interface piggyback with TxD, RxD, DTR and
CTS signals and Baud rate up to 38.4 kBaud
Optoisolated RS485 interface piggyback for half-duplex
communication at a Baud rate up to 38.4 kBaud
3 meter RS232 Serial Interface cable with RJ45 to 9-Pin D-Sub
(male) for terminal connection
By supporting several types of CPUs the VM162/VM172 pro vides scalable computing po wer at optimized costs.
The CPU types differ in performance, power requirement and supported functions. Optional on-chip
functions are Memory Management Unit (MMU) and Floating Point Unit (FPU).
There are three categories of VM162/VM172 CPU boards. At the top there is the 68060 CPU board
which offers 2 to 3 times performance of a the following 68040 CPU board. At the low end there is the
CPU 68040V board which is the low cost and also low power version.
The Table below summerizes the differences between the CPU versions:
Table 2.1: CPU Options
CPU Type
6806050yesyes13377918.28high performance
6804033yesyes612559.43standard
68040V33yesno61255-lower cost/low power
6806066yesyesTBDTBDplanned
Note: Performance data based on the same test for all CPU versions of the VM162/VM172 is intended
to demonstrate the performance ratio between them.
The above measurements have been made under the OS-9 operating system version 3.0 with the UltraC compiler version 1.3.1.
2.3 Memory
Freq
MHz
MMUFPU
Integer
Performance
(
Dhrystone
Floating Point
Performance
(
)
Wheatstone
)
2.3.1 DRAM/FLASH
DRAM and FLASH memory is combined on a piggyback with addressing capabiltity for up to 64 MBytes each. It provides a fast 32 bit data access with DRAM Burst support. It provides also in-system
FLASH programming facility, thus ROM upgrades are easy and cost-effective by simply overwriting
existing stored data in FLASH. Hardwired write protection of FLASH can be optionally selected by
jumper.
The Table on the following page summarizes the variety of DRAM/FLASH modules present available
(refer also to the Memory Piggybacks Appendix). Please consult your sales representati v e for other possible applications.
DM6004 MByte1 or 4 MByte
DM60116 MByte1 or 4 MByte
DM6021 MByte0 or 0.5 or 2 MByte
DM60332 MByte1 or 4 MByte
DM6048 MBytes1 or 4 MBytes
Note: DRAM is accessed with a 5-2-2-2 burst cycle at 25 MHz bus clock (68060/50MHz) and with a 62-2-2 burst cycle at 33 MHz bus clock (68040(V)/33MHz).
2.3.2 SRAM
The SRAM on the VM162/VM172 is or ganized in one bank with 16 bit wide data access b us. It is bakked by two onboard service-free GoldCaps and optionally via VME StandBy. Additionally, this memory is dual-ported. Users of the VMEbus and the onboard CPU both have access to this memory.
The dual-ported SRAM is soldered directly on the base board available with size of 256 kB or 1 MB.
2.3.3 Boot ROM (optional)
The VM162/VM172 Boot R OM is an optional sock et de vice. The sockets support de vices up to 512 kB
size with a 16 bit wide data access for PLCC EPROMs.
By default, the board’s firmw are is stored directly in the FLASH on memory piggyback. Thus, the Boot
ROM is not mandatory. In case of using a Memory-PB without FLASH or if an application requires the
board’s firmware to be separated from FLASH then the Boot R OM sock et can be used. Whether starting
from FLASH or from Boot ROM is selected by jumper.
Supported chips for the Boot ROM:
128Kx8, 256Kx8, 512Kx8 PROM or EPROM, Standard JEDEC Pinning
The EEPROM is a non-volatile serial memory device. It provides 2 kbit size and is accessed over the
SPI (Serial Peripheral Interface) of the 68EN360.
1 kbit of this EEPROM memory is free for application relevant data whereas the rest of this EEPROM
is reserved. This part is used for storing board ID codes, Internet/Ethernet addresses and boot information.
Note: For more information on the EPROM type, please refer to the XICOR X25C02 data sheet. For
EEPROM internal address mapping, also refer to the Programming Chapter in this manual.
2.4 Communication Controller 68EN360 (QUICC)
The 68EN360 QUICC (Quad IntegratedCommunication Controller), serves as an I/O controller/processor on the VM162/VM172. This device is especially optimized for serial communication.
Therefore, it provides an unique internal hardware architecture and supports a variety of communication
protocolls and operating modes.
In addition, the QUICC is used for some on-board system functions such as DRAM control, Tick generation and address decoding by operating in the so-called companion mode. In this mode its own CPU32
core is disabled whereas all other features including its Communication Processor Module (CPM) are
still available.
In terms of communication tasks the QUICC works as a co-processor to the CPU. Its internal communication „hardware“ is built up with a command programmable Communication Processor , 14 dedicated
DMA channels, 4 Serial Communication Controllers (SCC), 2 Serial Management Controllers (SMC)
and a Time-Slot Assigner (TSA).
Among many others, protocolls supported by the SCCs for example are UART, HDLC/SDLC, Apple
Talk, Ethernet/IEEE 802.3, X.21 and Signaling System # 7. The Time-Slot Assigner supports building
2 time-domain-multiplexed (TDM) channels to be for instance E1/T1, ISDN Basic/Primary Rate or
User Defined.
Warning!
In the PEP supported BSP’s for OS-9 version 3.0, PEP makes sur e that the proper initialization sequence for the QUICC is followed. Never change this initialization sequence, as unexpected errors may occur.
2.4.1 Use of 68EN360 Communication Ports
Page 2- 6
The 68EN360 provides 5 serial ports based on 4 SCCs and 1 SMCs. These multiprotocol serial ports can
be physically translated to the different standards due to application specific demands. This translation
is very flexible on the VM162/VM172 by using SI- and SC- piggybacks or even CXMs. 5 configured
serial ports are available at front panel connectors.
Beside its main purpose which is to provide communication power to the VM162/VM172 the I/O controller 68EN360 is also used for some system integration function. First of all this is DRAM control and
global memory decoding. Therefore, the 8 CS lines provided by the 68EN360 memory controller are
connected to the different memory types or address areas folllowing the scheme in the following Table.
Note: In order to be compatible with the above configuration, the board initialization described in the
Programming Chapter must be closely adhered to.
2.4.3 Use of 68EN360 Interrupt Controller
The 68EN360 internal interrupt controller is one part of the VM162/VM172 interrupt control logic. The
68360 internal interrupt controller provides programmable interrupt vectors for all internal interrupt requests. For detailled description of these interrupts, please refer to the 68EN360 User’s Manual.
Additionally, some external signals are connected with 68EN360 dedicated interrupt inputs. Signals at
this inputs are processed by the 68EN360 to generate autovectored interrupt on fixed le vels to the CPU.
These signal are summarized below:
Note: In order to be compatible with the above configuration, the board initialization described in the
Programming Chapter must be closely adhered to.
VME ACFAIL* generates a non-maskable autovector level 7 interrupt (NMI) in the same way as the AB-
ORT button. When an ACFAIL* NMI is detected, it can be differentiated fr om an ABORT by reading bit
1 of the Board Configuration Register.
2.4.4 Use of 68EN360 DMA Channels
The 68EN360 includes altogether 14 DMA channels which are dedicated to the communication ports
(SDMA) and 2 independant DMA channels (IDMA). With the IDMAs memory to memory transfers
are possible with any combination of onboard and A24/D16 VME addresses.
Note: In order to be compatible with CPU VME and DMA VME transfers, the board initialization described in the Programming Chapter must be closely adhered to.
2.5 VMEbus Interface
The VM162/VM172 has a complete VMEbus Master interface with arbiter, system clock driver, power
monitor with system reset driver, IACK daisy chain driver and a 7-level VMEbus interrupt handler.
The VM162/VM172 VMEbus Master interface supports A32, A24 and A16 addressing modes in any
combination with D32, D16 and D8 data bus width.
Arbitration is single level FAIR on BR3. Used as system controller the board has to be placed in slot 1
of the VMEbus backplane (furthermost left slot).
VMEbus system signals ACFAIL* and SYSFAIL* are processed by the VM162/VM172 to autovectored interrupt requests (see also the Use of 68EN360 Interrupt Controller Section).
In addition, the board provides also a VMEbus Slave interface which consists of a dual-ported RAM
with programmable board address and a mailbox interrupt facility.