and the Motorola logo are registered t r ademarks of Motorola, Inc.
MC68040™ and MC68060™ are trademarks of Motorola, Inc.
All other products ment io ned i n this document are trade marks or registered trade marks of
their respective holders.
Safety Summary
The following general safety precautions must be observed during all phases of operation, service, and repair of this
equipment. Failure to comply with these precautions or with specific warnings elsewhere in this manual could result
in personal injury or damage to the equipment.
The safety precautions listed below represent warnings of certain dangers of which Motorola is aware. You, as the user
of the product, shoul d foll ow these warni ngs and al l other sa fety pr ecauti ons nece ssary fo r the safe ope ration of the
equipment in your operating environment.
Ground the Instrument.
To minimize shock hazard, the equipment chassis and enclosure must be connected to an electrical ground. If the
equipment is su pplied wi th a three-c onductor A C power ca ble, the po wer cable m ust be plug ged into an a pproved
three-contact electrical outlet, with the grounding wire (green/yellow) reliably connected to an electrical ground
(safety ground) at the power outlet. The power jack and mating plug of the power cable meet International
Electrotechnical Commission (IEC) safety standards and local electrical regulatory codes.
Do Not Operate in an Explosive Atmosphere.
Do not operate the equipment in any explosive atmosphere such as in the presence of flammable gases or fumes.
Operation of any electrical equipment in such an environment could result in an explosion and cause injury or damage.
Keep Away From Live Circuits Inside the Equipment.
Operating personnel must not remove equipment covers. Only Factory Authorized Service Personnel or other
qualified service personnel may remove equipment covers for internal subassembly or component replacement or any
internal adjust ment. Service pe rsonnel should n ot replace compon ents with power c able connected. Under certain
conditions, dangero us voltages may exist even with the power cable remo ved. T o avoid inju ries, such pers onnel should
always disconnect power and discharge circuits before touching components.
Use Caution When Exposing or Handling a CRT.
Breakage of a Cathode-Ray Tube (CRT) causes a high-velocity scattering of glass fragments (implosion). To prevent
CRT implosion, do not handl e the CRT and avoid rough handling o r jarring of t he equipment . Handling o f a CRT
should be done only by qualified service personnel using approved safety mask and gloves.
Do Not Substitute Parts or Modify Equipment.
Do not install substitute parts or perform any unauthorized modification of the equipment. Contact your local
Motorola representative for service and repair to ensure that all safety features are maintained.
Observe Warnings in Manual.
W arn ings , such as th e exa mple be low, prece de po tent ially danger ous p roce dures th roug hout th is manu al . Instr uction s
contained in the warnings m ust be follow ed. You should also employ all ot her safety precautions w hich you dee m
necessary for the operation of the equi pment in your operating environment.
To prevent serious injury or death from dangerous voltages, use extreme
caution when handling, testing, and adjusting this equipment and its
Warning
components.
Flammability
All Motorola PWBs (printed wiring boards) are manufactured with a flammability rating
of 94V-0 by UL-recognized manufacturers.
EMI Caution
This equipment ge ner ates, uses a nd can radi ate el ectro magne tic energy . It
!
Caution
This product contains a lithium battery to power the clock and calendar circuitry.
!
Caution
may cause or be susceptible to electromagnetic interference (EMI) if not
installed and used with adequate EMI protection.
Lithium Battery Caution
Danger of explosion if battery is re placed incorrect ly. Replace battery only
with the same or equivalent type recommended by the equipment
manufacturer. Dispose of used batteries according to the manufacturer’s
instructions.
!
Attention
!
Vorsicht
Il y a danger d’explosion s’il y a remplacement incorrect de la batterie.
Remplacer uniquement avec une batterie du même type ou d’un type
équivalent recommandé par le constructeur. Mettre au rebut les batteries
usagées conformément aux instructions du fabricant.
Explosionsgefahr bei unsachgemäßem Austausch der Batterie. Ersatz nur
durch denselben ode r einen vom Herstel ler empfohle nen Typ. Entsorgu ng
gebrauchter Batterien nach Angaben des Herstellers.
CE Notice (European Community)
Motorola Compute r Group pro ducts wi th the CE mar king co mply with the EMC Dir ective
(89/336/EEC). Compliance with this directive implies conformity to the following
European Norms:
EN55022 “Limits and Methods of Meas urement of Radio Int erferen ce Chara cteri stic s
of Information Technology Equipment”; this product tested to Equipment Class B
EN50082-1:1997 “Electromag netic Compatibi lit y—Gener ic Im munity St andard , Part
1. Residential, Commercial and Light Industry”
System products al so fulf ill EN60950 ( product saf ety) which i s essenti ally the r equirement
for the Low Voltage Directive (73/23/EEC).
Board products are tested in a representative system to show compliance with the above
mentioned requirements. A proper installation in a CE-marked system will maintain the
required EMC /safety performance.
In accordance with European Community directives, a “Declaration of Conformity” has
been made and is on file within the European Union. The “Declaration of Conformity” is
available on request. Please contact your sales representative.
Notice
While reasonable efforts have been made to assure the accuracy of this document,
Motorola, Inc. a ssumes n o lia bility r esulti ng from any omissio ns in this docu ment, or from
the use of the information obtained therein. Motorola reserves the right to revise this
document and to ma ke c hanges from time to time in the conten t he reof without obliga ti on
of Motorola to notify any person of such revision or changes.
Electronic versions of this material may be read online, downloaded for personal use, or
referenced in another document as a URL to the Motorola Computer Group website. The
text itself may not b e published commerci ally in print o r electronic for m, edited, transla ted,
or otherwise altered without the permission of Motorola, Inc.
It is possible th at t hi s publication may contain reference to or infor m at ion about Motorola
products (machines and pr ograms), progra mming, or services that are not av ailable in your
country. Such references or information must not be construed to mean that Motorola
intends to announce such Motorola products, programming, or services in your country.
Limited and Restricted Rights Legend
If the documentation contained herein is supplied, directly or indirectly, to the U.S.
Government, the following notice shall apply unless otherwise agreed to in writing by
Motorola, Inc.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
subparagraph (b)(3) of t he Rig hts i n Technical Data clause a t DFARS 252.227-7013 (Nov.
1995) and of the Rights in Noncommerc ial Computer Software and Docume ntation c lause
at DFARS 252.227-7014 (Jun. 1995).
Motorola, Inc.
Computer Group
2900 South Diablo Way
Tempe, Arizona 85282
Contents
About This Manual
Overview of Contents...............................................................................................xxii
Comments and Suggestions......................................................................................xxii
Conventions Used in This Manual...........................................................................xxiii
Table C-3. Related Specifications ............................................................................C-3
xix
xx
About This Manual
This manual provides board-level information and detailed ASIC
information, including register bit descriptions, for the MVME167PAxxSE and MVME177PA-xxSE series of VME single-board computers,
known collectively as the ‘‘MVME1X7P’’.
The “Petra” chip that distinguishes MVME167P and MVME177P single-
board computers is an application-specific integrated circuit (ASIC) used
on various Motorola VME boards which combines a va riety of functions
previously implemented in other ASICs (among them the MC2 chip, the
IP2 chip, and the MCECC chip) in a single ASIC. On the MVME1X7P,
the “Petra” chip repl aces the MCECC ASIC. As of the public ation date, the
information presented in this manual applies to the following
MVME1X7P models:
Model NumberCharacteristics
MVME167PA-24SE25MHz MC68040, 16MB SDRAM, SCSI and Ethernet
MVME167PA-25SE25MHz MC68040, 32MB SDRAM, SCSI and Ethernet
MVME167PA-34SE33MHz MC68040, 16MB SDRAM, SCSI and Ethernet
MVME167PA-35SE33MHz MC68040, 32MB SDRAM, SCSI and Ethernet
MVME167PA-36SE33MHz MC68040, 64MB SDRAM, SCSI and Ethernet
MVME177PA-54SE50MHz MC68060, 16MB SDRAM, SCSI and Ethernet
MVME177PA-55SE50MHz MC68060, 32MB SDRAM, SCSI and Ethernet
MVME177PA-56SE50MHz MC68060, 64MB SDRAM, SCSI and Ethernet
MVME177PA-64SE60MHz MC68060, 16MB SDRAM, SCSI and Ethernet
MVME177PA-65SE60MHz MC68060, 32MB SDRAM, SCSI and Ethernet
MVME177PA-66SE60MHz MC68060, 64MB SDRAM, SCSI and Ethernet
MVME177PA-67SE60MHz MC68060, 128MB SDRAM, SCSI and Ethernet
This manual is intended for anyone who designs OEM systems, adds
capability to an existing compatible system, or works in a lab environment
for experimental purposes. A basic knowledge of computers and digital
logic is assumed. To use this manual, you may also wish to become
familiar with the publications listed in Appendix C, Related
Documentation.
xxi
Overview of Contents
Chapter 1, Programming Issues, describes the board-level hardware
features of MVME1X7P single-board computers. It includes memory
maps and a discussion of some general software considerations such as
cache coherency, interrupts, and bus errors.
Chapter 2, VMEchip2, describes the VMEchip2 ASIC, the local
bus/VMEbus interface chip on MVME1X7P boards.
Chapter 3, PCCchip2, describes the PCCchip2 ASIC. The PCChip2 is a
peripheral channel controller designed to interface an MC680x0compatible local bus to va rious on -board periph eral de vices s uch as SCSI
and LAN controllers.
Chapter 4, MCECC Functions, desc ribes the ECC DRAM controlle r ASIC
(MCECC). On the MVME1X7P boa rds, i t sup plies th e interf ace t o a 144 bit wide DRAM memory system.
Appendix A, Summary of Changes, lists the modifications that
accompanied the introduction of the Petra ASIC on the MVME167P and
MVME177P.
Appendix B, Printer and Serial Port Connections, contains drawings of
the printer and serial port interface connections available with the
MVME167P/MVME177P and MVME712 series transition board.
Appendix C, Related Documenta tion, lists all documentation related to the
MVME167P and MVME177P.
Comments and Suggestions
Motorola welcomes and appreciates your comments on its doc umentation.
We want to know what y ou think about our manuals and how we can make
them better. Mail comments to:
Motorola Computer Group
Reader Comments DW164
2900 S. Diablo Way
Tempe, Arizona 85282
xxii
You can also submit comments to the following e-mail address:
reader-comments@mcg.mot.com
In all your corres pondence , plea se li st your name, po siti on, and c ompan y.
Be sure to include the title and par t number of the manual and tell how you
used it. Then tell us your feelings about its strengths and weaknesses and
any recommendations for improvements.
Conventions Used in This Manual
The following typographical conventions are used in this document:
$dollarspecifies a hexadecimal number
%percentspecifies a binary number
&ersandspecifies a decimal number
Unless otherwise specified, all address references are in hexadecimal.
An asterisk (*) following the signal name for signals which are level
significant denotes that the signal is true or valid when the signal is low.
An asterisk (*) following the signal name for signals which are edge
significant deno tes that the a ctions init iated by th at signal occu r on high to
low transitio n.
xxiii
bold
is used for user inpu t that you t ype just as i t appears ; it is al so used for
commands, options and arguments to commands, and names of
programs, directories and files.
italic
is used for names of variables to which you assign values. Italic is also
used for comments in screen dis plays and examples, and to introduce
new terms.
courier
is used for system output (for example, screen displays, reports),
examples, and system prompts.
<Enter>, <Return> or <CR>
<CR> represents the carriage return or Enter key.
CTRL
represents the Control key. Execute control character s by pressing the
Ctrl key and the letter simultaneously, for example, Ctrl-d.
In this manual, assertion and negation are used to specify forcing a signal
to a particular stat e. In parti cular, a ssertion and asser t refe r to a signal tha t
is active or true; negation and negate indicate a signal that is inactive or
false. These terms ar e used independently of the vo ltage level (high or l ow)
that they represent.
xxiv
Data and address sizes are defined as follows:
❏ A byte i s eight bits, numb ered 0 through 7, wit h bit 0 being the leas t
significant.
❏ A word is 16 bits, numbered 0 th rough 15, wit h bit 0 bei ng the le ast
significant.
❏ A longword is 32 bi ts, numbered 0 through 31, with bit 0 being the
least significant.
The terms control bit, status bit, true, and false are used ext ensively in this
document. The term control bit is used to describe a bit in a register that
can be set and cleared under software control. The term true is use d to
indicate that a bit is in the state that enables the function it controls. The
term false is used to indicate that the bit is in the state that disables the
function it controls. In all tables, the terms 0 and 1 are used to describe the
actual value that sh ould be written to the bit, or the value that it yields when
read. The term status bit is used to describe a bit in a regi ster that reflects
a specific condition. The status bit can be read by software to determine
operational or exception conditions.
xxv
xxvi
Introduction
The MVME167P and MVME177P single-board computers are complex
boards that interface both to the VMEbus and the SCSI bus. From a
programming standpoint, their multiple-bus interfaces raise issues of
cache coherency and support of indivisible cycles. There are also various
potential sources of bus error.
This chapter discusses those topics in addition to interrupt handling, the
use of bus timers, and the programming interface to each device on the
board. Programmable regist ers that reside in ASICs (Applicati on-Specific
Integrated Circuit s) on the MVME1X7P boards are covered in the chapters
devoted to those devices.
NoteThe MVME1X7P’s new ’‘Petra’’ ASIC performs the functions
1Programming Issues
1
previously implemented in the MCECC chip. For ease of use in
conjunction with programming models and documentation
developed for earlier boards, however, the structure of this
manual preserves the functional distinctions that formerly
characterized the MCECC ASIC.
The Petra ASIC and Second-Generation MVME1X7 Boards
Due to rapid changes in tec hnology, the productio n of certain ASI Cs used
on various Motorola first- and second-generation VME embedded
controllers and single-board computers has ended. The Petra chip was
developed to replace these discontinued ASICs. In the case of
MVME167/177 series boards, the di scontinue d ASIC is the MCECC chip.
The Petra chip now suppl ies the functi ons formerly implemented in the
MCECC chip.
1-1
1
Programming Issues
The Petra ASIC is functionally compatible with each of the components
that it replaces. In cases where functionality between ASICs is exclusive,
configuration switches or jumpers are provided to let you select the
desired functionality.
In several areas of functionality, the configuration switches provide
backward compatibilit y with earl ier MVME167/17 7 implement ations, but
you can override their settings in software if you wish. A “R/W” by the
corresponding regi ster table entry in this manual denotes inst ances where
this override capability is present.
Where the older technology supported “fast page” or “EDO” DRAM
chips, the Petra memory controllers support SDRAM devices. The two
memory controllers modeled in Petra duplicate the functionality of the
“parity” memory control ler f ound i n the MC ASICs used o n cert ain ot her
boards as well as th at of the “single-bit error correcting/double-bit er ror
detecting” memory controller found in the MCECC ASICs used on the
MVME167/177.
This Programmer’s Reference Guide describes the MCECC model (in
Chapter 4). In the MVME167/177 application, there is logic on the Petra
chip to prevent you from in advertently enabling the MC memory controller
model.
The same SDRAM memory array serves both controller models. The
SDRAM array is 32 data bits wi de with 7 checkbits. Th e array architecture
is a non-interleaved single bank for sizes below 32MB. For array sizes
above 32MB, additional physical memory banks are added but the
architecture remains non-interleaved.
A final note on the SDRAM implementation: The bandwidth between the
SDRAM and local bus is greater than it was wit h the earlier DRAM array.
As a result, software takes less time to execute. Applicatio ns that
incorporate elapsed-time functions which are dependent on code
execution may have problems.
For readers who need to know the ASIC-specific differences between the
previous MCECC and Petra/MCECC programming models in detail,
certain areas of the text in this manual are printed in italics and marked
with change bars (as is done her e). Readers should compare those sections
to the corresp onding se ctions o f the first - and s econd-g eneration manuals.
1-2Computer Group Literature Center Web Site
Introduction
Features
The “Petra” ASIC supplants the MCECC memory controller ASIC on
MVME1X7P boards, performin g the memory control func tions previously
carried out by the MCECC chip: It supplies the programmable int erface for
the ECC-protected 16/32/64/128MB DRAM emulation.
The following table summarizes the features of the MVME167P and
MVME177P single-board computers.
Table 1-1. MVME1X7P Features Summary
FeatureMVME167PMVME177P
Processor25/33MHz 32-bit MC68040
microprocessor
DRAM16/32/64/128MB synchro nous DRAM (SDRAM). Configu rable to emulate
4/8/16/32/64/128MB ECC-protected DRAM
MVME1X7P boards use SDRAM (Synchr onous DRAM ) in place of DRAM.
Up to 64MB SDRAM is available on MVME167P boards; up to 128MB is
available on MVME177P boards.
SRAM128KB SRAM with battery backup
EPROMFour 44-pin JEDEC standard PLCC
TimersFour 32-bit tick timers and watchd og timer in Petra ASIC
Software
Interrupts
I/O Four EIA-232-D configurable serial ports via P2 and transition module
8K by 8 Non-Volatile RAM (NVRAM) and Real-Time Clock (RTC) with
battery backup and watchdog function (SGS-Thomson M48T58)
Two 32-bit tick timers and watchdog timer in VMEchip2 ASIC
Eight software interrupts (including those in the VMEchip2 ASIC)
Parallel (printer) interface via P2 and transition module
SCSI interface with DMA via P2 or LCP2 adapter board
Ethernet transceiver interface via DB15 connector on transition module
50/60MHz 32-bit MC68060
microprocessor
Two 44-pin JEDEC standard PLCC
EPROM sockets
devices with optional write protection
1
http://www.motorola.com/computer/literature1-3
1
Programming Issues
Table 1-1. MVME1X7P Features Summary (Continued)
FeatureMVME167PMVME177P
VMEbus
interface
Switches Two pushbutton switches
Status IndicatorsEight LEDs: Board Fail (FAIL), CPU Status (STAT), CPU Activity (RUN),
VMEbus system controller functions
VMEbus-to-local-bus interface (A32/A24, D32/D16/D8)
Local-bus-to-VMEbus interface (A16/A24/A32, D8/D16/D32)
Programmable interrupter and interrupt handler
Global Control/Status register for interprocessor communications
DMA capability for fast local-memory/VMEbus trans f ers (A16/A24/A32,
D16/D32 (D16/D32/D64 BLT)
(ABORT and RESET)
System Controller (
Activity
(SCSI), VME Activity (VME)
SCON), LAN Activity (LAN), LAN Pow er ( +12V), SCSI
Applicable Industry Standards
These boards conform to the requirements of the following documents: