and the Motorola logo are registered trademarks of Motorola, Inc.
MC68040™ and MC68060™ are trademarks of Motorola, Inc.
All other products ment io ned i n this document are trademarks or registered trademarks of
their respective holders.
Page 3
Safety Summary
Warning
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 preca utio ns li sted bel ow repr es ent wa rn ings of ce rta in da nge rs o f wh ich M o toro la i s aw are. You, as
the user of the product, should follow these warnings and all other safety precautions necessary for the safe
operation of the equipment in your operating environment.
Ground the Instrument.
To minimize s hock haz ard, th e equi pment chas sis a nd enclo sure must b e conn ected to an ele ctrical ground. If the
equipment is supplied with a three-conductor AC power cable, the power cable must be plugged into an approved
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 equi pment in any ex plos ive atmosp here su ch as in the pr esenc e of flammable gases or fumes .
Operation of any el ectri cal equip ment i n such an environ ment c ould re sult in an e xplosi on and cause in jury 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 adjustment. Service personnel should not replace components with power cable connected. Under
certain condit ions, dangero us voltages may exist e ven with the power cabl e removed. To avoid injuries, such
personnel shou ld al w ays disconnect powe r and discharge circuits bef or e touching components.
Use Caution When Exposing or Handling a CRT.
Breakage of a Cathod e-Ray Tube (CRT) causes a high-veloc ity scatterin g of glass fragme nts (implosion) . To
prevent CRT implosion, do not handle the CRT and avoid rough handling or jarring of the equipment. Handling
of a CRT should be done only by qualified s er vi ce personnel using appr oved safety mask and glo ves .
Do Not Substitute Parts or Modify Equipment.
Do not install substitut e parts or perfor m any un authorized modifi cation o f the equ ipment. C ontact y our local
Motorola representative for service and repair to ensure that all safety features are maintained.
Observe Warnings in Manual.
Warnings, such as the example below, precede potentially dangerous procedures throughout this manual.
Instructions contained in the w arnings must be follow ed. You should also em ploy all other sa fety pre cautions
which you deem ne cessary for the operation of the equipmen t i n your operating envi ronment.
Warnin g
To prevent serious injury or death from dangerous voltages, use extreme
caution when handling, testing, and adjusting this equipment and its
components.
Page 4
Flammability
!
Caution
!
Caution
Attention
!
Vorsicht
!
All Motorola PWBs (printed wiring boards) are manufactured with a flammability rating
of 94V-0 by UL-recognized manufacturers.
EMI Caution
Caution
This equipment generate s, uses a nd can ra diate elect romagnet ic ene r gy. It
may cause or be susceptible to electromagnetic interference (EMI) if not
installed and used with adequate EMI protection.
Lithium Battery Caution
This product contains a lithium battery to power the clock and calendar circuitry.
Caution
Caution
Caution
Danger of explos ion if batt ery is repla ced incorr ectly . Repla ce battery o nly
with the same or equivalent type recommended by the equipment
manufacturer. Dispose of used batteries according to the manufacturer’s
instructions.
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 Ba tt er ie. Ersatz nur
durch denselben oder einen v om Hersteller empfohlene n Typ. Ents orgun g
gebrauchter Batterien nach Angaben des Herstellers.
Page 5
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 is tested to Equipment Class B
EN55024 “Information te chnology equipment—Immunity char acteristics—Limits and
methods of measurement”
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 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 content he re of without obligation
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 anot her do cument as a URL to the Motorol a Computer Group Web si te. 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 permissi on of Motorola, Inc.
It is possible th at t hi s publication may contain r ef er ence to or information 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.
Page 6
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 Tech nical Data clause at 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
Page 7
About This Manual
Summary of Changes ................................................................................................xvi
Overview of Contents ...............................................................................................xvi
Comments and Suggestions .....................................................................................xvii
Terminology ........................................................................................................... xviii
Conventions Used in This Manual ......................................................................... xviii
T ab le E-3. Related Specifications ...........................................................................E-3
xiii
Page 14
Page 15
About This Manual
MVME167P Single-Board Computer Installation and Use provides
general informati on, instructions for hardwar e preparation and installa tion,
operating instructions, and a functional description for the MVME167P
series of Single Board Computers (referred to as the MVME167P
throughout this manual).
The “Petra” chip tha t distinguishes MVME167P single -board computers is
an application-s pecific integra ted circuit (ASIC) u sed on various Mo torola
VME boards which combines a variety of functions previously
implemented in other ASI Cs (among them the MC2 chip, the IP2 chip, and
the MCECC chip) in a single ASIC. On the MVME167P, the “Petra” chip
replaces the MCECC ASIC. As of the public ation date, the information
presented in this manual applies to the following MVME167P models.
Model NumberCharacteristics
MVME167PA-24SE25MHz, 16MB SDRAM
MVME167PA-25SE25MHz, 32MB SDRAM
MVME167PA-34SE33MHz, 16MB SDRAM
MVME167PA-35SE33MHz, 32MB SDRAM
MVME167PA-35SEB33MHz, 32MB SDRAM, battery backup
MVME167PA-36SE33MHz, 64MB SDRAM
Note: All models contain an MC68040 processor, SCSI, and Ethernet.
This manual is intended for anyone who desi gns OEM systems, des ires to
add capability to an existing compatible system, or works in a lab
environment for exper i mental pu rpo ses. A b asic kno wledge of computer s
and digital logic is assumed. To use this manual, you may also wish to
become familiar with the publications listed in Appendix E, Related
Documentation.
xv
Page 16
Summary of Changes
This is the second edition of MVME167P Single-Board Computer
Installation and Use. It supersedes the October 2000 edition and
incorporates the following updates.
DateChanges
December 2001Entries on the functionality of jumper header J9 were added in the Preparing
the Board section in Chapter 1.
December 2001A note on the functionality of jumper headers J2 and J7 was added to the
section Switches and Jumperson page 1-6, explaining that these are not for
customer use.
December 2001Errors in pin assignments were corrected in Table 6-3 , VMEbus Conn ector P 2.
December 2001In Appen dix A, Specifications , the operating temperature range was corrected
to read 0° C to 55° C in Table A-1.
December 2001Some chapters and appendices were reorganized to reflect current MCG
practice in the structuring of documentation.
Overview of Contents
xvi
This manual is divided into the chapters and appendices listed below.
❏Cha pter 1, Hardwar e Pr eparation and Installati on: Guidelines for
preparation and installation of the MVME167P single-board
computer
❏Cha pter 2, Startup a nd Opera tion : Proce dures for bringi ng up the
board; descriptions of the functionality of the switches, status
indicators, and I/O ports
❏Cha pter 3, 167Bug Firmwar e: An overview of the board fi rmware,
with a detailed description of the monitor (interactive command
portion of the firmware) as well as information on using the
debugger
Page 17
❏Chapter 4, Modifying the Environment: A description of the
CNFG and ENV firmware commands used to view and modify
board configuration parameters
❏Chapter 5, Functional Description: An overview of the main
board components
❏Chapter 6, Connector Pin Assignments: A tabulation of board
connector pin assignments
❏Appendix A, Specifications: A summary of board specifications.
Subsequent sections of the appendix detail cooling requirements
and EMC regulatory compliance
❏Appendix B, Troubleshooting: Simple troubleshooting steps to
follow in the event that you experience difficulty with your
MVME167P single-board computer
❏Appendix C, Network Controller Data: A description of the
VMEbus network controller modules that are supported by the
167Bug firmware
❏Appendix D, Disk/Tape Controller Data: A description of the
VMEbus disk/tape controller modules that are supported by the
167Bug firmware
❏Appendix E, Related Documentation: A listing of other
publications that may be helpful in using the MVME167P
Comments and Suggestions
Motorola welcomes and appreciates your comments on its doc umentation.
W e want to know what y ou think about our manua ls and how we can make
them better. Mail comments to:
Motorola Computer Group
Reader Comments DW164
2900 S. Diablo Way
Tempe, Arizona 85282
xvii
Page 18
You can also submit comments to the following e-mail address:
reader-comments@mcg.mot.com
In all your correspondenc e, pleas e list your name, pos itio n, and company.
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.
Terminology
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 denotes that the actions initiated by that signal occur on high-
to-low transitions.
Data and address sizes for MVME167P chips are defined as follows:
❏A byte is eight bits, numbered 0 through 7, with bit 0 being the
❏A half-word is 16 bits, numbered 0 thr ough 15, with bit 0 being th e
most signif icant.
most signif icant.
❏A word or single word is 32 bits, numbered 0 through 31, with bit
0 being the most significant.
❏A double word is 64 bits, numbered 0 throug h 63, wit h bit 0 being
the most significant.
Conventions Used in This Manual
The following typographical conventions are used in this document:
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.
xviii
Page 19
italic
is used for names of variable s to which you assign va lues, for f unction
parameters, and for structure names and fields. Italic is also used for
comments in screen displays 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>
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.
xix
Page 20
Page 21
1Hardware Preparation and
Introduction
This chapter describes the equipment you need and the tasks you will
perform to set up the MVME167P Single Board Computer.
Equipment Required
To complete an MVME167P-based system, you need the following
equipment:
❏VME system enclosure with power supply and system backplane
❏Display console
❏Operating system (and / or application software)
❏Disk dr ives (and / or other I/O) and controllers
❏MV ME712 se ries t ransi tion modu le , connect ing cab les and P2 or
LCP2 adapter
Installation
1
Figure 1-1 illustrates the MVME167P Single Board Computer with its
major components.
1-1
Page 22
1
Hardware Preparation and Installation
MVME
167P-36SE
FAIL STAT
RUN SCON
LAN +12V
SCSI VME
ABORT
RESET
15 16
DS2DS4
DS3DS1
DS6
DS5
DS8
DS7
20
19
J3
1
2
XU1
21
BT1
J9
O N
1234
65
XU2
1
XU3
3
1
J6
2
J7
XU4
10
2
O N
S4
1 2
S1S2
59
60
J4J5
1
2
59
60
1
2
J1
9
J2
1
A1B1C1
P1P2
A32
B32
C32
L1
L2
A1B1C1
1
2
J10
13
J11
A32
B32
C32
1
3
2817 0800
Figure 1-1. MVME167P Board Layout
1-2Computer Group Literature Center Web Site
Page 23
Overview of Installation Procedure
Overview of Installation Procedure
The following table lists the things you will need to do to use this board
and tells where to find the i nfo rmat ion you need to perform each step. Be
sure to read this entire chapter, including all Cautions and Warnings,
before you begin.
Table 1-1. Startup Overview
What you need to do...Refer to...
Unpack the hardware.Guidelines for Unpackingon page 1-4.
1
Reconfigure jumpers or switches on
the MVME167P board as necessary.
Reconfigure jumpers or switches on
the MVME712 series transition
module as necessary.
Install the board and transition
module in a chassis.
Connect a display terminal.MVME167P and Transition Module Installation on
Connect any other equipment you will
be using.
Power up the system.
Note that the firmware initializes and
tests the board.
Preparing the Board on page 1-5.
Preparing the Transition Module on page 1-11.
MVME167P and Transition Module Installation on
page 1-12.
page 1-12.
Chapter 6, Connector Pin Assignments.
For more information on optional devices and
equipment, refer to the documentation provided with
the equipment.
Chapter 2, Startup and Operation.
Solving Startup Problems on page B-1.
Applying Power on page 2-3.
You may also wish to obtain the 167Bug Firmware
User’s Manual, listed in Appendix E, Related
Documentation.
http://www.motorola.com/computer/literature1-3
Page 24
1
Caution
Use ESD
Wrist Strap
Hardware Preparation and Installation
Table 1-1. Startup Overview (continued)
What you need to do...Refer to...
Initialize the system clock.Debugger Commandson page 3-5.
Examine and/or change
environmental parameters.
Program the board as needed for your
applications.
CNFG and ENV command descriptions in Chapter 4,
Modifying the Environment.
MVME1XP Single Board Computers Programmer’s
Reference Guide, listed in Appendix E, Related
Documentation.
Guidelines for Unpacking
If the shipping carton is damaged upon receipt, request that the carrier’s
agent be present during the unpacking and inspection of the equipment.
Caution
When unpacking, avoid touching areas of integrated circuitry; static
discharge can damage circuits.
Refer to the p acking list and verify that all items are present. Save the
packing material for storing and reshipping of equipment.
Installation Preliminaries
This section applies to all hardware installations you may perform that
involve the MVME167P board.
ESD
Motorola strongly recommends the use of an antistatic wrist strap and a
conductive foam pad when you install or upgrade the board. Electronic
components can be extremely sensi tive to ESD. After removi ng the board
from the chassis or from its protective wrapper, place the board flat on a
grounded, static-free surface, component side up. Do not slide the board
over any surface.
1-4Computer Group Literature Center Web Site
Page 25
Preparing the Board
!
Warning
If no ESD station is available, you can av oid dama ge re sul ti ng fr om ESD
by wearing an antistatic wrist strap (available at electronics stores). Place
the strap around your wrist and attach the grounding end (usually a piece
of copper foil or an alligator clip) to an electrical ground. An electrical
ground can be a piece of metal that literally runs into the ground (such as
an unpainted met al pipe) or a metal part of a grounded electric al appliance.
An appliance is grou nded if it has a thr ee-pro ng plug and i s plugged i nto a
three-prong grounded out l et. You cannot use the chassis in which you ar e
installing the MVME167P itself as a ground, because the enclosure is
unplugged while you work on it.
1
Warnin g
Turn th e s ystem’s power off bef ore yo u perf orm these proce dur es. Fai lure
to turn the power off before opening the enclosure can result in personal
injury or damage to the equipment. Haza rdous voltage, current, and ener gy
levels are present in the chassis. Hazardous voltages may be present on
power switch terminals even when the power switch is off. Never operate
the system with the cover removed. Always replace the cover before
powering up the system.
Preparing the Board
To produce the desired configuration and ensure proper operation of the
MVME167P, you may need to re configure hard ware to some extent before
installating the board.
Most options on the MVME167P are under software control: By setting
bits in control registers after installing the module in a system, you can
modify its configuration. (The MVME167P registers are described in
Chapter 3 under ENV – Set Environment, and/or in the Programmer's
Reference Guide listed in Appendix E, Related Documentation.)
Some options, though, are not software-programmable. Such options are
either set by configuration switches or are controlled through physical
installation or removal of header jumpers on the base board.
http://www.motorola.com/computer/literature1-5
Page 26
1
Caution
Hardware Preparation and Installation
Switches and Jumpers
Figure 1-1 on page 1-2 illustrates the placement of the jumper headers,
connectors, configuration switches, and various other components on the
MVME167P. Manually configurable jumper headers and configuration
switches on the MVME167P are listed in the following table.
Caution
When setting jumpers, avoid touching areas of integrated circuitry; static
discharge can damage circuits.
Table 1-2. MVME167P Configuration Settings
FunctionFactory Default
General-Purpose Readable Jumpers (J1)
VME System Controller (J6)1-2
SRAM Backup Power Source (J9)1-3, 2-4
Serial Port 4 Clock Configuration (J10 and J11)2-3, 2-3
Petra SDRAM Size (S3)Varies
Board EPROM/Flash Mode (S4)Off-Off
NoteHeaders J2 and J7 are for factory use; they are not available to
customer applications. J2 is used during board manufacture in
programming on-board logic devices. J7 is a thermal sensing
header. It is not used on the MVME167P.
All Jumpers On
1-6Computer Group Literature Center Web Site
Page 27
General-Purpose Readable Jumpers (J1)
General-Purpose Readable Jumpers (J1)
Each MVME167P may be configured with readable jumpers. These
jumpers can be read as a register (at address $FFF4 0088) in the
VMEchip2 Local Control/Status register (refer to the Programmer’s Reference Guide for details). The bit values are read as a 1 when the
jumper is off, and as a 0 when the jumper is on. The MVME167P is
shipped from the factory with all jumpers installed, as diagrammed below.
J1
1
2
1
GPI0 GPI1 GPI2 GPI3 GPI4 GPI5 GPI6 GPI7
All Zeros (Factory Configuration)
VME System Controller (J6)
The MVME167P can operate as VMEbus system controller. The system
controller functi on is enabl ed/disabled by jumpers on hea der J6. When the
MVME167P is system controller, the SCON LED is turned on. The
VMEchip2 may be configured as a system controller as shown below.
J6
1
3
Auto System Controller
16
15
J6
1
J6
1
3
Not System Controller
3
System Controller
(Factory Configurations)
http://www.motorola.com/computer/literature1-7
Page 28
1
Hardware Preparation and Installation
SRAM Backup Power Source (J9)
Header J9 determines the source for onboard static RAM backup power on
MVME167P boards if equipped with battery backup. In the factory
configuration, VMEbus +5V standby voltage serves as primary and
secondary power source (the onbo ard battery is disconnected). The backup
power configurations available for onboard SRAM through heade r J9 are
illustrated in the following diagram.
J9
2
1
Primary VMEbus +5V STBY
Secondary VMEbus +5V STBY
(Factory Configuration)
6
5
J9
2
1
Primary VMEbus +5V STBY
Secondary Onboard Battery
6
5
J9
2
1
Primary Onboard Battery
Secondary Onboard Battery
6
5
J9
2
1
Primary Onboard Battery
Secondary VMEbus +5V STBY
6
5
1-8Computer Group Literature Center Web Site
Page 29
Serial Port 4 Clock Configuration (J10 and J11)
Serial Port 4 Clock Configuration (J10 and J11)
Serial port 4 can be con figured to use clock signal s provided by the R TXC4
and TRXC4 signal lines. Headers J10 and J11 on the MVME167P
configure serial port 4 to drive or receive TRXC4 and RTXC4,
respectively. The factory configuration has port 4 set to receive both
signals.
1
J10
1
3
Receive TRXC4
J10
1
3
Drive TRXC4
J11
1
3
Receive RTXC4
(Factory Configurations)
J11
1
3
Drive RTXC4
Petra SDRAM Size (S3)
MVME167P boards use SDRAM (Synchronous DRAM) in place of
DRAM. For compatibility with user applications, the MVME167P’s
SDRAM is configurable to emulate 4MB, 8MB, 16MB, 32MB, or 64 MB
ECC-protected DRAM. Board configuration is a function of switch
settings and resistor population options.
http://www.motorola.com/computer/literature1-9
Page 30
1
Hardware Preparation and Installation
S3 is a four-segment slide switch whose lower three segments establish the
size of the ECC DRAM memory model (segment 4 is not used.) Refer to
the illustration and table below for specifics.
NoteAs shown in the preceding table , the MVME167P Petra/MCECC
interface supports on-board ECC DRAM emulations up to
64MB. For sizes beyond 64MB, the MVME167P accommodates
memory mezzanines of the types used on previous MVME167
boards. One additional mezzanine can be plugged in to provide
up to 128MB of supplementary DRAM.
1-10Computer Group Literature Center Web Site
Page 31
Board EPROM/Flash Mode (S4)
The MVME167P and MVME177P single-board computers share a
common board artwork . The two segm ents of sw itch S4 joint ly defin e the
board EPROM controller model (MVME167 EPROM-only or MVME177
EPROM/Flash) to be emulated when the board initializes.
With S4 segment 1 set to OFF (factory configuration in the MVME167P
case), firmware recognizes the board as an MVME167P. Setting S4
segment 1 to ON initializes the board in MVME177P mode.
ONOFF
2
1
Board EPROM/Flash Mode (S4)
1
S4
MVME167 EPROM-only mode
(factory configuration)
2736 0004 (3-3)
Preparing the Transition Module
The MVME167P supports the MVME712B transition module, which (in
conjunction with an LCP2 adapter board) supplies SCSI and Ethernet
connections. It also supports the MVME712M transition module, which
(in conjunction with a P2 adapter board) s upplies se rial and par allel I /O in
addition to SCSI and Ethernet connections.
For details on configuring an MVME712B or MVME712M for use with
the MVME167P, refer to the transition module documentation listed in
Appendix E, Related Documentation.
http://www.motorola.com/computer/literature1-11
Page 32
1
Caution
!
Warning
Hardware Preparation and Installation
Installation Instructions
This section covers:
❏Installation of the MVME167P in a VME chassis
❏Installation of the transition module and P2/LCP2 adapter
❏System considerations relevant to the installation
Before proceeding, ensure that EPROM devices are installed as needed.
The factory configurat ion has two EPROMs insta lled i n socket s XU1 and
XU2 for the MVME167Bug debug firmware.
MVME167P and Transition Module Installation
With EPROMs installed and jumpers or switches configured as
appropriate, proceed as follows to insta ll the MVME167P board in a VME
chassis:
1.Attach an ESD strap to your wrist. Attach the other end of the ESD
strap to a suit able ground as describ ed under Installat ion Preliminar ies
on page 1-4. The ESD strap must be secured to your wrist and to
ground throughout the procedure.
2.Turn all equipment power OFF and disconnect the power cable from
the AC power source.
Caution
Warnin g
1-12Computer Group Literature Center Web Site
Inserting or remo ving modules while power is applied could result in
damage to module components.
Dangerous voltages, capable of causing death, are present in this
equipment. Use extreme caution when handling, testing, and
adjusting.
3.Remove the chassis cover as instructed in the user’s manual for the
equipment.
Page 33
MVME167P and Transition Module Installation
4.Remove the filler panel from the card slot where you are going to
install the MVME167P.
✓If you intend to use the MVME167P as system controller, it
must occupy the leftmost card slot (slot 1). The system
controller must be in slot 1 to correctly in itiate the bus-grant
daisy-chain and to ensure proper operation of the IACK daisychain driver.
✓If you do not intend to use the MVME167P as system
controller, it can occupy any unused double-height card slot.
5.Slide the MVME167P into the selected card slot. Be sure the module
is seated properly in the P1 and P2 connectors on the backplane. Do
not damage or bend connector pins.
6.Secure the MVME167P in the chassis with the screws provided,
making good contact with the transverse mounting rails to minimize
RF emissions.
7.Instal l the MVME712 series transition modul e in the front or the rear
of the VME chassis. (To insta ll an MVME712M, whi ch h as a doublewide front panel, you may need to shift other modules in the chassis.)
1
8.On the chassis backplane, remove the
(IACK) and
BUS GRANT (BG) jumpers from the heade r for the card slot
INTERRUPT ACKNOWLEDGE
occupied by the MVME167P.
NoteSome VME backplanes (e.g., those used in Motorola
"Modular Chassis" systems) have an autojumpering feature
for automatic propagati on of the IACK and BG signals. Step
8 does not apply to such backplane designs.
9.Connect the P2 adapter board or LCP2 adapter board and cable(s) to
MVME167P backplane connector P2. This provides a connection
point for terminals or other periphe ral s a t the EIA-232-D serial ports,
parallel port, SCSI port, or LAN Ethernet port. For information on
installing the P2 or LCP2 Adapter Board and the MVME712 series
transition module(s), refer to the corresponding user’s manuals (the
Programmer’s Reference Guide provides some connection diagrams).
http://www.motorola.com/computer/literature1-13
Page 34
1
Hardware Preparation and Installation
10. Connect the appropriate cable(s ) to t he panel con nector s for t he ser ia l
and parallel ports, SCSI port, and LAN Ethernet port.
NoteSome cables are not provided with the MVME712 series
module; they must be made or purchased by the user.
(Motorola recommends shielded cable for all peripheral
connections to minimize radiation.)
11. Connect the peripheral(s) to the cable(s).
12. Install any other required VMEmodules in the system.
13. Replace the chassis cover.
14. Connect the power cable to the AC power source and turn the
equipment power ON.
System Considerations
The MVME167P draws power from VMEbus backplane connectors P1
and P2. P2 is also used for the upper 16 bits of data in 3 2-bit tr ansfers, an d
for the upper 8 address lines in extended addressing mode. The
MVME167P may not operate properly without its main board connected
to VMEbus backplane connectors P1 and P2.
Whether the MVME167P operates as a VMEbus master or VMEbus sl ave,
it is configured for 32 bits of address and 32 bits of data (A32/D32).
However, it handles A16 or A24 devices in the address r anges indic ated in
the VMEchip2 chapter of the Programmer’s Reference Guide. D8 and/or
D16 devices in the system must be handled by the MC68040 sof tware. For
specifics, refer to the memory maps in the Pr ogrammer’s Refer ence Guide.
The MVME167P contains shared onboard DRAM whose base address is
software-selectable. Both the onboard processor and offboard VMEbus
devices see this local DRAM at base physical address $0000 0000, as
programmed by the MVME167Bug firmware. This may be changed via
software to any other base address. Refer to the MVME1X7P Single Board Computers Programmer’s Reference Guide for more information.
If the MVME167P tries to access offboard resources in a nonexistent
location and is not system controller, and if the system does not have a
1-14Computer Group Literature Center Web Site
Page 35
System Considerations
global bus timeout, the MVME167P waits forever for the VMEbus cycle
to complete. This will cause the system to lock up. There is only one
situation in which th e syste m might lack th is gl obal bus timeou t: when t he
MVME167P is not the system contr oller and there is no global bus timeout
elsewhere in the system.
Multiple MVME167Ps may be installed in a single VME chassis. In
general, hardware multiprocessor features are supported.
Other MPUs on the VMEbus can interrupt, disable, communicate with,
and determine the opera tional status of the proc essor(s). One registe r of the
GCSR (global control/s tatus regi ster) s et in the VMEchip2 ASIC i ncludes
four bits that function as location monitors to allow one MVME167P
processor to broadcast a signal to any other MVME167P processors. All
eight registers of the GCSR set are acc essib le from any loc al process or as
well as from the VMEbus.
The MVME167P provides +12Vdc power t o the Ethernet LAN transceive r
interface through a 1A solid-state fuse (R24) located on the MVME167P
module. The +12V LED illuminates when +12Vdc is available. If the
Ethernet transceiver fails to operate, check the status of R24.
1
The MVME167P provides SCSI te rminator p ower throu gh a 1A fuse (F1)
located on the LCP2 adapter board. The fuse is socketed. If the fuse is
blown, the SCSI device(s) may function erratically or not at all.
If a solid-state fuse opens, you will need to remove power for several
minutes to let the fuse reset to a closed or shorted condition.
http://www.motorola.com/computer/literature1-15
Page 36
Page 37
2Startup and Operation
Introduction
This chapter describes the functionality of the switches, status indicators,
and I/O ports on MVME167P Single-Boar d Computer and summarizes the
process of powering up the board after its installation in a system.
For programming information, consult the MVME1X7P Single Board
Computers Pr ogrammer’s Refer ence Guide , listed in Appendi x E, Related
Documentation.
Front Panel Switches and Indicators
There are two switches (ABORT and RESET) and eight LEDs (FAIL,
ST AT, RUN, SCON, LAN, +12V [LAN power], SCSI, and VME) located
on the MVME167P front panel.
2
Table 2-1. MVME167P Front Panel Controls
Control/IndicatorFunction
Abort Switch (ABORT)Sends an interrupt signal to the processor. The interrupt is
normally used to abort program execution and return control to
the debugger firmware located in the MVME167P EPROMs.
The interrupter connected to the Abort switch is an edgesensitive circuit, filtered to remove switch bounce.
Reset Switch (RESET)Resets all onboard devices. Also drives a SYSRESET* signal if
the MVME167P is system controller . SYSRESET* signals may
be generated by the Reset switch , a power-up reset, a watchdog
timeout, or by a control bit in the Local Control/Status Register
(LCSR) in the VMEchip2 ASIC. For further details, refer to
Chapter 5, Functional Description.
FAIL LED (DS1, red)Board failure. Lights if a fault occurs on the MVME167P board.
STAT LED (DS2, amber)CPU status. Lights if the processor enters a halt condition.
2-1
Page 38
Startup and Operation
2
Control/IndicatorFunction
RUN LED (DS3, green)CPU activity. Indicates that one of the local bus masters is
SCON LED (DS4, green)System controller. Lights when the VMEchip2 ASIC is
LAN LED (DS5, green)LAN activity. Lig hts when the LAN controller is functioning as
+12V LED (DS6, green)Fuse OK. Indicates that +12Vdc power is available to the LAN
SCSI LED (DS7, green)SCSI activity. Lights when the SCSI controller is functioning as
VME LED (DS8, green)VME activity. Lights when the board is using the VMEbus or
Table 2-1. MVME167P Front Panel Controls (continued)
executing a local bus cycle.
functioning as VM Ebus system controlle r.
local bus master.
interface.
local bus master.
being accessed from the VMEbus.
Pre-Startup Check
Before you power up the MVME167P system, be sure that the following
conditions exist:
1.Jumpers and/or configuration switches on the MVME167P SingleBoard Computer and associated equipment are set as required for your
particular application.
2.The MVME167P board is installed and cabled up as appropriate for
your particular chassis or system, as outlined in Chapter 1.
3.The terminal that y ou plan to use as t he system consol e is connected t o
the console port (serial port 1) on the MVME167P module.
4.The terminal is set up as follows:
❏Eight bits per character
❏One stop bit per character
2-2Computer Group Literature Center Web Site
Page 39
Initial Conditions
5.Any other device th at you wish to use, such as a h ost compute r system
and/or peripheral equipment, is cabled to the appropriate connectors.
After you complete the steps listed above, you are ready to power up the
system.
Initial Conditions
After you have verified that all necessary hardware preparation has been
done, that all connections have been made correctly, and that the
installation is compl ete, yo u can power up the sys tem. Apply ing power to
the system (a s well as resetting it) trigger s an initialization of the
MVME167P’s MPU, hardware, and firmware along with the rest of the
system.
The EPROM-resident fi rmware initial izes the devices on the MVME167P
board in preparation for booting the operating system. The firmware is
shipped from the factory with a set of defaul ts appropr iate to the boa rd. In
most cases there is no need to modify the firmware configuration before
you boot the operating sys tem. For specifics in this regard, refer to Chapter
3 and to the user documentation for the MVME167Bug firmware.
❏Pa ri ty dis abl ed (no par it y prot ect io n)
2
❏Baud rate 9600 baud
Applying Power
When you power up ( or when you re set) the sys tem, the firmwar e executes
some self- checks and p roceeds to the hardware in itialization. The system
startup occurs in a predetermined sequence, following the hierarchy
inherent in the process or and the MVME167P hardware . The figure below
charts the flow of the basi c in itialization sequence that takes place during
system startup.
http://www.motorola.com/computer/literature2-3
Page 40
Startup and Operation
!
Caution
2
STARTUP
Power-up/reset initialization
INITIALIZATION
POST
BOOTING
MONITOR
Figure 2-1. MVME167P/Firmwar e Sys tem Star tup
Bringing up the Board
This section summarizes the configuration guidelines pr esented in Chapter
1 and describes the proc ess of putt ing the MVME167 P board into s ervice.
The MVME167P comes with MVME167Bug firmware installed. To
ensure that the firmware operates properly with the board, follow the steps
listed below.
Initialization of devices on the MVME167P
module/system
Power-On Self-Test diagnostics
Firmware-configured boot mechanism,
if so configured. Default is no boot.
Interactive, command-driven on-line
debugger, when terminal connected.
Turn all equipment power OFF. Refer to Pr epar ing t he Boa rd on page 1-5
and verify that jumpers and swi tches are conf igure d as neces sary f or your
particular application.
Caution
Inserting or removing boards with power applied may damage board
components.
1. Jumper header J1 on the MVME167P contains eight segments,
which all affect the operation of the firmware. They are read as a
register (at location $FFF40088) in the VMEchip2 Local
2-4Computer Group Literature Center Web Site
Page 41
Bringing up the Board
Control/Status register. (The MVME1X7P Single Board Computers Programmer’s Reference Guide has addition al
information.) The b it values ar e read as a 0 when t he jumper is on,
or as a 1 when the jumper is off.
The default configuration has J1 set to all 0s (all jumpers
installed). The 167Bug firmware reserves/defines the four lower
order bits (GPI0 to GPI3, pins 1-2 to 7-8) . Table 2-2 describes the
bit assignments on J1.
2. Configure header J6 as appropriate for the desired system
controller functionality (always system controller, never system
controller, or self-regulating) on the MVME167P.
3. The jumpers on header J9 establish the SRAM backup power
source on the MVME167P. The factory configuration uses
VMEbus +5V standby voltage as the primary and secondary
power source (the onboard battery is disconnected). Verify that
this configuration is appropriate for your application.
4. Headers J10 and J11 configure serial port 4 to drive or receive
clock signals provided by th e RTXC and TRXC signal lines. The
MVME167P factory configuration has port 4 set to receive both
signals. Refer to the instructions in Chapter 1 if your application
requires reconfiguring port 4.
2
5. Verify that the settings of configuration switches S3 (Petra
SDRAM size) and S4 (board EPROM/Flash mode) are
appropriate for your memory controller emulation.
6. Refer to the setup procedure fo r your particular c has sis or system
for details concerning the installation of the MVME167P.
7. Connect the terminal to be used as the 167Bug system console to
the default EIA-232-D port at MVME167P Serial Port 1 (Serial
Port 2 on the MVME712M transition module). Set the terminal up
as follows :
❏Eight bits per character
❏One stop bit per character
http://www.motorola.com/computer/literature2-5
Page 42
Startup and Operation
2
❏Pa ri ty dis abl ed (no par it y prot ect io n)
❏Baud rate 9600 baud (the power-up default)
After power-up, you can reconfigure the baud rate of the debug
port by using the 167Bug Port Format (PF) command.
NoteWhatever the baud rate, some form of hardware
handshaking — either XON/XOFF or via the RTS/CST
line — is desirable if the system supports it. If you get
garbled messages and missing characters, you should
check the terminal to make sure that handshaking is
enabled.
8. If you have other equipment to attach to the MVME712 series
transition module, c onnect the appropriat e cables. After power -up,
you can reconfigure the por t(s) by prog ramming the MVME167P
CD2401 Serial Communications Controller (SCC) or by u sing the
167Bug PF command.
9. Power up the system. 167Bug executes some self-checks and
displays the debugger prompt 167-Bug> if the firmware is in
Board mode.
However, if the ENV command has placed 167Bug in System
mode, the system perfor ms a se lf-test and tries t o a uto boot. Refer
to the ENV and MENU commands (Table 3-2).
If the confidence test fails, the test is aborted when the first fault is
encountered. If possibl e, an appropriate mess age is displayed, and
control then returns to the menu.
10. Before using the MVME167P after the initial installation, set the
date and time using the following command line structure:
167-Bug>SET [mmddyyhhmm]|[<+/-CAL>;C]
For example, the following command line starts the real-time
clock and sets the date and time to 10:37 a.m., January 7, 2002:
2-6Computer Group Literature Center Web Site
Page 43
Booting the System
167-Bug>SET 0107021037
The board’s self-tests and operating systems require that the realtime clock be running.
GPI01-2When set to 1 (high), instructs the debugger to use local static RAM
for its work page (variables, stack, vector tables, etc.).
GPI13-4When set to 1 (high), instructs the debugger to use the default
setup/operation parameters in ROM instead of the user
setup/operation parameters in NVRAM. The effect is the same as
pressing the RESET and ABORT switches simultaneously.
This feature can be helpful in the event the user setup is corrupted or
does not meet a sanity check. Refer to the ENV command description
for the Flash/ROM defaults.
GPI25-6Reserved for future use.
GPI37-8When set to 0 (low), informs the debugger that it is executing out of
EPROM. When set to 1 (high), informs the debugger that it is
executing from Flash memory (not applicable for the MVME167).
GPI49-10Open to your application.
2
GPI511-12Open to your application.
GPI613-14Open to your application.
GPI715-16Open to your application.
Booting the System
You can configure the MVME167P to boot the operati ng system in one of
three differ ent ways when bri nging up the board: via Autoboot, ROMb oot,
or Network Boot.
For details on resetting the MVME167P board through software, refer to
the MVME1X7P Single Boar d Comput ers Pr ogrammer’s Refer ence Guid e
listed in Appendix E, Related Documentation.
http://www.motorola.com/computer/literature2-7
Page 44
Startup and Operation
!
Caution
2
Autoboot
Autoboot is a softwa re routine included i n the 167Bug EPROM t o provide
an independent mechanism for booting operating systems. The autoboot
routine automatically scans for controllers and devices in a specified
sequence until a v alid boo table de vice cont aining a boot medi a is f ound or
the list is exhausted. If a valid bootable device is found, a boot from that
device is started. The controller scanning sequence goes from the lowest
controller Logical Unit Number (LUN) detected to the highest LUN
detected. Controllers, devices, and their LUNs are listed in Appendix D.
At power-up, Autoboot is enabled and (provided that the drive and
controller numbers encountered are valid) the following message is
displayed upon the syst em console:
Autoboot in progress... To abort hit <BREAK>
A delay follows this message so that you can abort the Autoboot proces s if
you wish. Then the actual I/O begins: the program designated within the
volume ID of the media specified is loaded into RAM and control passes
to it. If you want to gain control without Autoboot during this time,
however, you can press the <Break> key or use the ABORT or RESET
switches on the front panel.
The Autoboot process is controlled by parameters contained in the ENV
command. These parameters allow the selection of specific boot devices
and files, and allow programming of the Boot delay. Refer to the ENV
command description in Chapter 3 for more details.
Caution
2-8Computer Group Literature Center Web Site
Although you can use streaming tape to autoboot, the same power supply
must be connected to the tape drive, the controller, and the MVME167P.
At power-up, the tape controller will position the streaming tape to the load
point where the volume ID can correctly be read and used.
However, if the MVME167P loses power but the controller does not, and
the tape happens to be at load point, the necessary command sequences
(Attach and Rewind) cannot be given to the controller and the autoboot
will not succeed.
Page 45
ROMboot
ROMboot
2
As shipped from the factory, 167Bug occupies the first quarter of the
EPROM in sockets XU1 and XU2. This le ave s the remai nder of XU1 and
XU2 storage and EPROMs XU3 and XU4 available for your use.
NoteYou may wish to contact your Motorola sales office for
assistance in using these resources.
The ROMboot function is configured/enabled via the ENV command
(refer to Chapter 3) and is executed at power-up (optionally also at reset).
You can also execute the ROMboot function via the RB command,
assuming there is valid code in the memory devices (or optionally
elsewhere on the board or VMEbus) to support it. If ROMboot code is
installed, a user-written routine is given control (if the routine meets the
format requi rements).
One use of ROMboot might be resetting the SYSFAIL∗ line on an
unintelligent controller module. The NORB command disables the
function.
For a user’s ROMboot module to gain control through the ROMboot
linkage, four conditions must exist:
1. Power has just been applied (but the ENV command can change
this to also respond to any reset).
2. Your routine is located within the MVME167P EPROM memory
map (but the ENV command can change t his to any other portion
of the onboard memory, or even offboard VMEbus memory).
3. The ASCII string "BOOT" is found in the specified memory
range.
4. Your routine passes a checksum test, which ensures that this
routine was really intended to receive control at power-up.
For complete details on using the ROMboot function, refer to the
Debugging Package for Motorola 68K CISC CPUs User’s Manual listed
in Appendix E, Related Documentation.
http://www.motorola.com/computer/literature2-9
Page 46
Startup and Operation
2
Network Boot
Network Auto Boot is a software routine in the 167Bug EPROM which
provides a mechanism for booting an operating system using a network
(local Ethernet interface) as the boot device. The Network Auto Boot
routine automatically scans for controllers and devices in a specified
sequence until a valid bootable device containing boot media is found or
until the list is exhausted. If a valid bootable device is found, a boot from
that device is started. The controller scanning sequence goes from the
lowest controller Logical Unit Number (LUN) d etected to the highest LUN
detected. (For default LUNs, refer to Appendix C, Network Controller
Data.)
At power-up, Network Boot is enabled and (provided that the drive and
controller numbers encountered are valid) the following message is
displayed upon the syst em console:
Network Boot in progress... To abort hit <BREAK>
After this mess age, there is a delay to let yo u a bor t the Auto Boot process
if you wish. Then the actual I/O is begun: the program designated within
the volume I D of the media specified is load ed into RAM and control
passes to it. If you wa nt t o ga in control without Netwo rk Boo t d uri ng t hi s
time, however , you can pr ess the <Break> key or use the software ABOR T
or RESET switches.
Network Auto Boot is controlled by parameters contained in the NIOT
and ENV commands. These parameters allow the selection of specific
boot devices, systems, and fi les, and allow programming of the Boot delay .
Refer to the ENV command description in Chapter 3 for more details.
Restarting the System
You can initialize the syst em to a known state in three different ways:
Reset, Abort, and Break. Each method has characteristics which make it
more suitable than the othe rs in certain situations.
A special debugger function is accessible during resets. This feature
instructs the debugger to use the default setup/operation parameters in
ROM instead of your own setup/op eration parameters in NVRAM. To
2-10Computer Group Literature Center Web Site
Page 47
Reset
Reset
activate this functi on, you pr ess the RESET and ABORT switches at the
same time. This feature can be helpful in the event that your
setup/operation parameters are corrupted or do not meet a sanity check.
For the ROM defaults, refer to the ENV command description in Chapter
4, Modifying the Environment.
Powering up the MVME167P i nitiates a sys tem reset. You can also initiate
a reset by pressing and quickly releasing the RESET switch on the
MVME167P front panel, or you can reset the board in software.
For details on resetting the MVME167P board through software, refer to
the MVME1X7P Single Boar d Computers Pr ogrammer’s Reference Guide ,
listed in Appendix E, Related Documentation.
Both “cold” and “warm” r eset modes are a vaila ble. By defaul t, 167Bug is
in “cold” mode. During cold resets, a tot al system initiali zation takes place,
as if the MVME167P had just been powered up. All static variables
(including disk device and controller parameters) are restored to their
default states. The breakpoint table and offset registers are cleared. The
target registers are invalidated. Input and output character queues are
cleared. Onboard devices (timer, serial ports, etc.) are reset, and the two
serial ports are reconfigured to their default state.
2
During warm resets, the 167Bug variables a nd tables are p reserved, as well
as the target state registers and breakpoints.
Note that when the MVME167P c omes up i n a col d rese t, 167Bug runs i n
Board mode. Using the Environment (ENV) or MENU commands can
make 167Bug run in System mode. Refer to Chap ter 3, 16 7Bug Firmwar e
for specifics.
You will need to reset your system if the processor ever halts, or if the
167Bug environment is ever lost (vector table is destroyed, stack
corrupted, etc.).
http://www.motorola.com/computer/literature2-11
Page 48
Startup and Operation
2
Abort
Aborts are invoked by pressing and releasing the ABORT switch on the
MVME167P front panel. When you invoke an abort while executing a user
program (running target code), a snapshot of the processor state is stored
in the target registers. This characteristic makes aborts most appropriate
for terminating user programs that are being debugged.
If a program gets caught in a loop, for instance, aborts should be used to
regain control. The target PC, register contents, etc., help to pinpoint the
malfunction.
Pressing and releasing the ABORT switch generates a local board
condition which may interrupt the processor if enabled. The target
registers, reflect in g the mach ine sta te at the t ime the ABORT switch was
pressed, are displayed on the screen. Any breakpoints installed in your
code are removed and the breakpoint table remains intact. Control returns
to the debugger.
Break
Pressing and releasing the <Break> key on the terminal keyboard
generates a ‘‘power break’’. Breaks do not produce interrupts. The only
time that breaks are recognized is while characters are being sent or
received by the console port. A break removes any breakpoints in your
code and keeps the breakpoint table intact. If the function was entered
using SYSCALL, Break also takes a snapshot of the machine state. This
machine state is then accessible to you for diagnostic purposes.
In many cases, you may wish to ter minate a de bugger command before i ts
completion (for example , during the display of a lar ge b loc k of me mory) .
Break allows you to terminate the command.
Diagnostic Facilities
The 167Bug package includes a set of hardware diagnostics for testing and
troubleshooting t he MVME167P . T o use the diagnostics, switch directories
to the diagnostic director y.
2-12Computer Group Literature Center Web Site
Page 49
Diagnostic Facilities
If you are in the debugger directory, you can switch to the diagnostic
directory with the debugger command Switch Directories (SD). The
diagnostic prompt 167-Di ag> appears. Refer to the De bugging Package for Motor ola 68K CISC CPUs User’s Manual for complete descriptions of
the diagnostic routines available and instructions on how to invoke them.
Note that some diagnostics depend on restart defaults that are set up only
in a particular restart mode. The documentation for such diagnostics
includes restart information.
2
http://www.motorola.com/computer/literature2-13
Page 50
Page 51
Introduction
The 167Bug firmware i s the layer of software just above the hardware . The
firmware supplies the appropriate initialization for devices on the
MVME167P board upon power-up or reset.
This chapter descri bes the basic s of 167Bug and its a rchitectur e, describes
the monitor (interactive command portion of the firmware) in detail, and
gives information on using the debugger and special commands. A list of
167Bug commands appears at the end of the chapter.
For complete user information about 167Bug, refer to the Debugging
Package for Motorola 68K CISC CPUs User’s Manual and to the
MVME167Bug Diagnostics User’s Manual, listed in Appendix E, Related
Documentation.
167Bug Overview
3167Bug Firmware
3
The firmware for the M68000-based (68K) series of board and system
level products has a common genealogy, deriving from the Bug firmware
currently used on all Motorola M68000-based CPUs. The M68000
firmware version implemented on the MVME167P MC68040-based
single-boare compute r is known as MVME167Bug, or 16 7Bug. It includes
diagnostics for testing and configuring IndustryPack modules.
167Bug is a powerful evaluation and debugging tool for systems built
around MVME167P CISC-based microc omputers. Facil ities are avail able
for loading and executing user programs under complete operator control
for system evaluation. The 167Bug firmware provides a high degree of
functionality, user friendliness, portability, and ease of maintenance.
3-1
Page 52
167Bug Firmware
Components of the Firmware
The 167Bug firmware is organized in the following parts:
3
❏A command-driven user-interactive software debugger. It is
referred to here as “the debugger“ or “167Bug.“
❏A set of command-driven diagnostics, referred to here as “the
diagnostics.”
❏A user interface which accepts commands from the system
console terminal.
167Bug includes commands for display and modification of memory,
breakpoint and tra cing capabilities, a powerful assembler and disassembler
useful for patching progr ams, an d a “sel f- te st at power - up“ feature which
verifies the integrity of the board. Various 167Bug routines that handle
I/O, data conversion, and string functions are available to user programs
through the System Call handler.
Memory Requirements
The program portion of 167Bug is approximately 512KB of code,
consisting of download, debugger, and diagnostic packages contained
entirely in EPROM.
The 167Bug firmware executes fr om address $FF80 0000 in EPROM. The
167Bug initial stack completely changes 8KB of SRAM memory at
addresses $FFE0 C000 through $FFE0 DFFF, at power-up or reset.
Table 3-1. Memory Offsets with 167Bug
Default DRAM
Ty pe of Memory Present
4/8/16/32/64MB shared DRAM (SDRAM)
with ECC protection
3-2Computer Group Literature Center Web Site
Base Address
$0000 0000$FFE0 0000
Default SRAM
Base Address
(onboard SRAM)
Page 53
Implementation
The 167Bug firmware requires 2KB of NVRAM for storage of board
configuration, commun ic ati on, and booting parameters. This storage area
begins at $FFFC 16F8 and ends at $FFFC 1EF7.
167Bug requires a minimum of 6 4KB of contiguous rea d/write memory to
operate. The ENV command controls where this block of memory is
located. Regardless of where the onboard RAM is located, the first 64KB
is used for 167Bug stack and static variable space and the rest is reserved
as user space. Whenever the MVME167P is reset, the target Program
Counter (PC) is initialized to the address corresponding to the beginning
of the user space, and the target stack pointers are initialized to addresses
within the user space, with the target Interrupt Stack Pointer (ISP) set to
the top of the user space.
Implementation
167Bug is written largely in the C programming language, providing
benefits of portability and maintainability. Where necessary, assembly
language has been used in the form of separately compiled program
modules containing only as sembler code. No mixed-lang uage modules are
used.
Physically, 167Bug is stor ed in two 27D4002 44-pin EPROMs i nstalled in
sockets XU1 and XU2. The executable code is checksummed at every
power-on or reset firmware entry, and the result (which includes a
precalculated chec ksum cont ained in the memory de vices) is t ested for a n
expected zero. Modifying the contents of the memory devices is
discouraged, unless you take precautions to re-checksum.
3
Using the Debugger
167Bug is command-driven; it perfor ms its various o perations i n response
to commands that you enter at the key board. When t he 167-Bug prompt
appears on the screen, the firmware is ready to accept debugger
commands. When the 167-Diag prompt appears on the screen, the
firmware is ready to accept diagnostics commands. To switch from one
mode to the other, enter SD.
http://www.motorola.com/computer/literature3-3
Page 54
167Bug Firmware
After the debugger executes the command, the prompt reappears.
However, if the command causes execution of user target code (for
example GO) then control may or may not return to the debugger,
3
depending on what the user progra m does. For example, if a breakpoint has
been specified, t hen control retu rns to the debugger when the breakp oint is
encountered during execution of the user p rogram. Alternatively, the user
program could return to the deb ugger by means of the System Call Handler
routine RETURN (described in Chapter 5 of the Debugging Package for Motorola 68K CISC CPUs User’s Manual).
What you key in is stored in an internal buff er. Execution begi ns only after
you press the <Return> or <Enter> key.
A debugger command is made up of the following parts:
❏The command name, either uppercase or lowercase (e.g., MD or
md).
❏A port number (if the command is set up to work with more than
one port).
❏Any required arguments, as specified by command.
❏At least one space before the first argument. Precede all other
arguments with either a space or comma.
❏One or more options . Precede an opt ion or a string of options wit h
a semicolon (;). If no option is entered, the command’s default
option conditions are used.
3-4Computer Group Literature Center Web Site
Page 55
Debugger Commands
The commands and test programs available in 167Bug are listed in the
following table. The commands are described in detail in the Debugging Package for Motorola 68K CISC CPUs User’s Manual.
Table 3-2. 167Bug Commands
CommandDescription
AB/NOABOperating System Autoboot/No Autoboot
ASOne-Line Assembler
BCBlock of Memory Compare
BFBlock of Memor y Fill
BHBootstrap Operating System and Halt
BIBlock of Memory Initialize
BMBlock of Memory Move
BOBootstrap Operating System
Debugger Commands
3
BR/NOBRBreakpoint Insert/Delete
BSBlock of Memory Search
BVBlock of Memory Verify
CM/NOCMConcurrent Mode/No Concurrent Mode
CNFGConfigure Board Information Block
CSChecksum
DCData Conversion (decimal/hexadecimal display of expression)
DMADMA Block of Memory Move
DSOne-Line Disassembler
DUDump S-Records
ECHOEcho String
ENVSet Environment
GDGo Direct (Ignore Breakpoints)
http://www.motorola.com/computer/literature3-5
Page 56
167Bug Firmware
CommandDescription
Table 3-2. 167Bug Commands (continued)
3
GNGo to Next Instruction
GOGo Execute User Program
GTGo to Temporary Breakpoint
HE(LP) or ?Display Help messages
IOCI/O Control for Disk
IOII/O Inquiry
IOPI/O Physical (Direct Disk Access)
IOTI/O "Teach" for Configuring Disk Controller
IRQMInterrupt Request Mask
LOLoad S-Records from Host
MA/NOMAMacro Define/Display/Delete
MAEMacro Edit
MAL/NOMALEnable/Disable Macro Listing
MAWSave Macros
MARLoad Macros
MDMemory Display
MENUMenu
MMModify memory
MMDMemory Map Diagnostic
MSMemory Set
MWMemory Write
NABNetwork Automatic Boot Operating System
NBHNetwork Boot Operating System and Halt
NBONetwork Boot Operating System
NIOCNetwork I/O Control
3-6Computer Group Literature Center Web Site
Page 57
Table 3-2. 167Bug Commands (continued)
CommandDescription
Debugger Commands
NIOPNetwork I/O Control
NIOTNetwork I/O Teach (Configuration)
NPINGNetwork Ping
OFOffset Registers Display/Modify
PA/NOPAPrinter Attach/Detach
PF/NOPFPort Format/Detach
PSPut RTC Into Power Save Mode for Storage
RB/NORBROMboot Enable/Disable
RDRegister Displ ay (user registers)
REMOTEConnect the Remote Modem to CSO
RESETCold/Warm Reset
RLRead Loop
RMRegister Modify (user registers)
RSRegister Set (set user register(s) to specified value)
SDSwitch Directories
SETSet Time and Date
SYM/NOSYMSymbol Table Attach/Detach
3
SYMSSymbol Table Display/Search
TTrace
TATerminal Attach
TCTrace on Change of Control Flow
TIMEDisplay Time and Date
TMTransparent Mode
http://www.motorola.com/computer/literature3-7
Page 58
167Bug Firmware
CommandDescription
Table 3-2. 167Bug Commands (continued)
3
TTTrace to Temporary Breakpoint
VEVerify S-Records Against Memory
VERRevision/Version Display
WLWrite Loop
NoteY ou can list all the available debug ger commands by entering the
Help (HE) command alone. You can view the syntax for a
particular command by entering HE and the command
mnemonic.
3-8Computer Group Literature Center Web Site
Page 59
4Modifying the Environment
Overview
The factory-installed debug monitor, 167Bug, enables you to view and
modify certain MVME167P hardware configuration parameters after the
board has been installed in a system. For this purpose, the following two
commands are available:
The CNFG and ENV commands are both described in the Debugging
Package for Motorola 68K CISC CPUs User’ s Manual (liste d in Appendix
E, Related Documentation). Refer to tha t manual for general information
about their use and capabilities.
4
❏CNFG, used to modify the Board Information Block, an NVRAM
structure which contains various entries that define operating
parameters of the board hardware.
❏ENV, used to edit configurable 167Bug parameters in the
MVME167P board’s NVRAM.
The configuration parameters are stored in the MVME167P’s NonVolatile RAM (NVRAM), also known as Battery Backed-Up RAM
(BBRAM).
The following sections present additional, MVME167P-specific
information about CNFG and ENV, and describe the 167Bug parameters
that you can modify with the ENV command.
4-1
Page 60
Modifying the Environment
CNFG - Configure Board Information Block
Use this command to display and configure the Board Information Block
which resides within th e NVRAM. The board information block cont ai ns
various elements tha t correspo nd to speci fic opera tional par ameters of the
MVME167P board. The followi ng exampl e show s the boa rd str uct ure fo r
The parameters that ar e quoted ar e left -just ifi ed chara cter ( ASCII) stri ngs
padded with space characters, and the quotes (") are displayed to indicate
the size of the string. Parameters that are not quoted are considered data
strings, and data strings are right-justified. The data strings are padded
with zeros if the length is not met.
The Board Information Block is factory-configured before shipment.
There is no need to modify block parameters unless the NVRAM is
corrupted.
Refer to the MVME1X7P Single Board Computers Programmer’s Reference Guide (listed in Appendix E, Related Documentation) for the
actual locati on a nd other information about the Board Information Block .
Refer to the Debugging Package for Motorola 68K CISC CPUs User's Manual for a CNFG description and examples.
4-2Computer Group Literature Center Web Site
Page 61
ENV - Set Environment
Use the ENV command t o vi ew and/ or c onfigu re i ntera ctive ly a ll 167Bug
operational parameters that are kept in Non-Volatile RAM (NVRAM).
Refer to the Debugging Package for Motorola 68K CISC CPUs User’s Manual (listed in Appendix E, Related Documentation) for a description
of the use of ENV. Additional information on registers in th e MVME167P
that affect these parameters appears in your MVME1X7P Single Board Computers Programmer's Reference Guide.
Listed and described below are the parameters that you can configure
using ENV. The default values shown are those that were in effect when
this document was published.
NoteIn the event of difficulty with the MVME167P, you may wish to
use env;d <CR> to restore the factory defaults as a
troubleshooting aid (see Appendix B, Troubleshooting).
Table 4-1. MVME167P Configuration Settings
ENV - Set Environment
4
ENV Parameter and OptionsDefaultMeaning of Default
Bug or System environment [B/S]BBug mode.
Field Service Menu Enable [Y/N]NDo not display field service menu.
Remote Start Method Switch
[G/M/B/N]
Probe System for Supported I/O
Controllers [Y/N]
Negate VMEbus SYSFAIL∗
Always [Y/N]
Local SCSI Bus Reset on
Debugger Startup [Y/N]
http://www.motorola.com/computer/literature4-3
BUse both methods [Global Control and Status
Register (GCSR) in the VMEchip2, and
Multiprocessor Control Register (MPCR ) in
shared RAM] to pass and execute crossloaded programs.
NAccesses will be made to the appropriate
system buses (e.g., VMEbus, local MPU bus)
to determine presence of supported
controllers.
NNegate VMEbus SYSF AIL∗ after successful
completion or entrance into the bug
command monitor.
ENV Parameter and OptionsDefaultMeaning of Default
Local SCSI Bus Negotiations Type
[A/S/N]
4
Ignore CFGA Block on a Hard
Disk Boot [Y/N]
Auto Boot Enable [Y/N]NAuto Boot function is disabled.
Auto Boot at power-up only [Y/N]YAuto Boot is attempted at power-up reset
Auto Boot Controller LUN00Specifies LUN of disk/tape controller
Auto Boot Device LUN00Specifies LUN of disk/tape device currently
Auto Boot Abort Delay15The time in seconds that the Auto Boot
Auto Boot Default String
[Y(NULL String)/(String)]
AAsynchronous negotiations.
YConfiguration Area (CFGA) Block contents
are disregarded at boot (hard disk only).
only.
module currently supported by the Bug.
Default is $0.
supported by the Bug. Default is $0.
sequence will delay before starting the boot.
The delay gives you the option of stopping
the boot by use of the <Break> k ey . The time
span is 0-255 seconds.
You may specify a string (filename) to pass
on to the code being booted. Maximum
length is 16 characters. Default is the null
string.
ROM Boot Enable [Y/N]NROMboot function is disabled.
ROM Boot at power-up only [Y/N] YROMboot is attempted at power-up only.
ROM Boot Enable search of
VMEbus [Y/N]
ROM Boot Abort Delay00The time in seconds that the ROMboot
ROM Boot Direct Starting AddressFF80 0000First location tested when the Bug searches
ENV Parameter and OptionsDefaultMeaning of Default
Memory Search Ending Address0010 0000Top limit of the Bug’s search for a work page.
If no 64KB contiguous block of memory is
found in the range specified by Memory
4
Memory Search Increment Size0001 0000Multi-CPU feature used to offset the location
Search Starting Address and Memory Search
Ending Address parameters, the bug will
place its work page in the onboard static
RAM on the MVME167P. Default Memory
Search Ending Address is the calculated size
of local memory.
of the Bug work page. This must be a
multiple of the debugg er work page, modul o
$10000 (64KB). Typically, Memory Search
Increment Size is the product of CPU number
and size of the Bug work page. Example: first
CPU $0 (0 x $10000), second CPU $10000
(1 x $10000), etc.
ENV Parameter and OptionsDefaultMeaning of Default
Memory Search Delay AddressFFFF D20FDefault address is $FFFF D20F. This is the
MVME167P GCSR GPCSR0 as accessed
through VMEbus A16 space; it assumes the
MVME167P GRPAD (group address) and
BDAD (board address within group)
switches are set to "on". This byte-wide value
is initialized to $FF by MVME167P
hardware after a System or Power-On reset.
In a multi-167P environment, where the
work pages of several Bugs reside in the
memory of the primary (first) MVME167P,
the non-primary CPUs will wait for the data
at the Memory Search Delay Address to be
set to $00, $01, or $02 (refer to the Memory
Requirements section in Chapter 3 for the
definition of these values) before attempting
to locate their work page in the memory of
the primary CPU.
4
Memory Size Enable [Y/N]YMemory is sized for Self-Test diagnostics.
Memory Size Starting Address0000 0000Default Starting Address is $0.
Memory Size Ending Address0010 0000Default Ending Address is the calculated size
of local memory.
Memory Configuration Defaults.
The default configuration for Dynamic RAM mezzanine boards will position the mezzanine with
the largest memory size to start at the address selected with the ENV parameter "Base Address of
Dynamic Memory". The Base Address parameter defaults to 0. The smaller sized mezzanine will
follow immediately above the larger in the m emory map. If mezzanines of th e same size and type
are present, the first (closest to the board) is mapped to the selected base address. If mezzanines of
the same size but different type (parity and ECC) are present, the parity type will be mapped to the
selected base address and the ECC type mezzanine will follow. The SRAM does not default to a
location in the memory map that is con tiguous with Dynamic RAM.
Base Address of Local Memory0000 0000Beginning address of Local Memory (ECC
ENV Parameter and OptionsDefaultMeaning of Default
Size of Local Memory Board 00000 0000You are prompted twice, once for each
Size of Local Memory Board 10000 0000
4
ENV asks the following series of questions to set up the VMEbus interface for the MVME167P
modules. You should have a working knowledge of the VMEchip2 as described in the
MVME1X7P Single Board Computers Programmer’s Reference Guide in order to perform this
configuration.
The slave address decoders are used to allow another VMEbus master to access a local resource
of the MVME167P. There are two slave address decoders set. They are set up as follows:
Slave Enable #1 [Y/N]YYes, set up and enable Slave Address
Slave Starting Address #10000 0000Base address of the local resource that is
Slave Ending Address #1000F FFFFEnding address of the local resource that is
possible MVME167P memory board. The
default is the calculated size of the memory
board.
Decoder #1.
accessible by the VMEbus. Default is the
base of local memory, $0.
accessible by the VMEbus. Default is the end
of calculated memory.
Slave Address Translation Address #10000 0000This register allows the VMEbus address and
the local address to differ. The value in this
register is the base address of the local
resource that is associated with the starting
and ending address selection from the
previous questions. Default is 0.
Slave Address Translation Select #10000 0000This register defines which bits of the
address are significant. A logical "1"
indicates significant address bits, logical "0"
is non-significant. Default is 0.
Slave Control #103FFDefines the access restriction for the address
space defined with this slave address
decoder . Def aul t is $03FF.
Slave Enable #2 [Y/N]NDo not set up and enable Slave Address
ENV Parameter and OptionsDefaultMeaning of Default
Master Control #200Defines the access characteristics for the
address space defined with this master
address decoder. Default is $00.
4
Master Enable #3 [Y/N]Depends on
calculated
size of local
RAM
Master Starting Address #30000 0000Base address of the VMEbus resource that is
Master Ending Address #30000 0000Ending address of the VMEbus resource that
Yes, set up and enable Master Address
Decoder #3. This is the default if the board
contains less than 16MB of calculated RAM.
Do not set up and enable the Master Address
Decoder #3. This is the default for boards
containing at least 16MB of calculated RAM.
accessible from the local bus. If en abled, the
value is calculated as one more than the
calculated size of memory . If not enabled, the
default is $0000 0000.
is accessible from the local bus. If enabled,
the default is $00FF FFFF, otherwise
$0000 0000.
Master Control #300Defines the access characteristics for the
address space defined with this master
address decoder. If enabled, the default is
$3D, otherwise $00.
Master Enable #4 [Y/N]NDo not set up and enable Master Address
Decoder #4.
Master Starting Address #40000 0000Base address of the VMEbus resource that is
accessible from the local bus. Default is $0.
Master Ending Address #40000 0000Ending address of the VMEbus resource that
is accessible from the local bus. Default is $0.
Master Address Translation
Address #4
4-10Computer Group Literature Center Web Site
0000 0000This register allows the VMEbus address and
the local address to differ. The value in this
register is the base address of the VMEbus
resource that is associated with the starting
and ending address selection from the
previous questions. Default is 0.
ENV Parameter and OptionsDefaultMeaning of Default
VMEC2 GCSR Board Base
Address
4
VMEbus Global Time Out Code01Controls VMEbus timeout when the
Local Bus Time Out Code02Controls local bus timeout. Default $02 =
VMEbus Access Time Out Code02Controls the local-bus-to-VMEbus access
00Specifies base address ($FFFFD2XX) in
Short I/O for this board. Default = $00.
MVME167P is system controller. Default
$01 = 64 µs.
256 µs.
timeout. Default $02 = 32 ms.
4-12Computer Group Literature Center Web Site
Page 71
5Functional Description
Introduction
This chapter describes the MVME167P Single-Board Computer on a
block diagram level. The Summary of Features provides an overview of
the MVME167P, followed by a detailed description of several blocks of
circuitry. Figure 5-1 on page 5-5 shows a block diagram of the overall
board architecture.
Detailed descriptions of other MVME167P blo cks , inclu din g
programmable registe rs in the ASICs and peripheral c hips, can be f ound in
the MVME1X7P Single Boar d Computers Pr og rammer’s Refere nce Guide
(listed in Appendix E, Related Documentation). Refer to that manual for a
functional description of the MVME167P in greater depth.
Summary of Features
5
The following table summarizes the features of the MVME167P SingleBoard Computer:
FeatureDescription
Microprocessor25MHz or 33MHz MC68040 processor
Form factor6U VMEbus
Memory16/32/64MB synchronous DRAM (SDRAM), configurable to emulate
4/8/16/32/64MB ECC-protected DRAM
128KB SRAM with battery backup
EPROMFour 44-pin JEDEC standard PLCC EPROM sockets with 256Kb x 16
density
Real-time clock8KB NVRAM with RTC, battery backup, and watchdog function (SGS-
Thomson M48T58)
SwitchesRESET and ABORT switches on front panel
5-1
Page 72
Functional Descr iption
FeatureDescription
Status LEDsEight LEDs: Board Fail (FAIL), CPU Status (STAT), CPU Activity
(RUN), System Controller (SCON), LAN Activity (LAN), LAN Power
(+12V), SCSI Activity (SCSI), VME Activity (VME)
TimersFour 32-bit tick timers and watchdog timer in Petra ASIC
Two 32-bit tick timers and watchdog timer in VMEchip2 ASIC
InterruptsEight software interrupts (including those in the VMEchip2 ASIC)
5
VME I/OVMEbus P2 connector
Serial I/OFour EIA-232-D DTE configurable serial ports via VMEbus P2 connector
and transition module
Parallel I/OCentronics-compatible bidirectional parallel port via VMEbus P2
connector and transition module
Ethernet I/OEthernet transceiver interface via DB15 connector on transition module
SCSI I/OSCSI interface with DMA via LCP2 adapter board
VMEbus interfaceVMEbus system controller functions
VMEbus-to-local-bus interface (A24/A32, D8/D16/D32/block transfer
Global Control/Status Register (GC SR) for interprocess or comm unications
DMA for fast local memory/VMEbus transfers (A16/A24/A32,
D16/D32/D64)
Processor and Memory
The MVME167P is based on the MC68040 microprocessor. The boards
are built with 16MB, 32MB or 64MB synchronous DRAM (SDRAM).
Various versions of the MVME167P ma y have the SDRAM configur ed to
model 4MB, 8MB, 16MB, 32MB or 64 MB of ECC-protected DRAM.
5-2Computer Group Literature Center Web Site
Page 73
I/O Implementation
All boards are available with 128KB of SRAM (with battery backup);
time-of-day clock (with battery backup); an Ethernet transceiver interface;
four serial ports with EIA-232-D DTE interface; bidirectional parallel
port; four tick ti mers with watchdog ti mer(s); fou r EPROM sockets ; SCSI
bus interface with DMA; and a VMEbus interface (local bus to
VMEbus/VMEbus to local bus, with A16/A24/A32, D8/D16/D32 bus
widths and a VMEbus system controller).
I/O Implementation
Input/Output (I/O) signals on the MVME167P are routed to the VMEbus
P2 connector. The main board is connected through a P2/LCP2 adapter
board and cables to the transition board. The MVME167P supports the
MVME712B and MVME712M transition boards. It also accommodates
older MVME712 series transition modules, which provide configuration
headers, serial port drivers, and industry-standard connectors for various
I/O devices.
ASICs
The following ASICs are used on the MVME167P:
❏VMEchip2 ASI C (VMEbus interface). Provides two tick timers,
a watchdog timer , programmab le map decoders for the master and
slave interfaces, a nd a VMEbus to/from local bus DMA controller
as well as a VMEbus to/from local bus non-DMA programmed
access interface, a VMEbus interrupter, a VMEbus system
controller, a VMEbus interrupt handler, and a VMEbus requester.
Processor-to- V MEb us t ra nsf ers ar e D8, D16, or D32. VMEchi p2
DMA transfers to the VMEbus, however , are D16, D32, D16/BL T ,
D32/BLT, or D64/MBLT.
5
❏Petra ASIC. Supplants the MCECC chip used on previous
versions of the MVME167; provides an ECC DRAM emulation.
❏PCCchip2 AS IC. Provides an eight-bi t bidirect ional paralle l port.
http://www.motorola.com/computer/literature5-3
Page 74
Functional Descr iption
Block Diagram
The block diagram in Figur e 5-1 on page 5-5 illustrates the MVME167P’s
overall architect ur e. The following sections describe the major f unctional
blocks of the MVME167P.
Data Bus Structure
5
The local data bus on the MVME167P is a 32-bit synchronous bus that is
based on the MC68040 bus, and which supports burst transfers and
snooping. The various local bus mast er and sl ave devices us e the local bu s
to communicate. The local bus is arbitrated by pri ority type; the prio rity of
the local bus masters from highest to lowest is: 82596CA LAN, CD2401
serial (through the PCCchip 2), 5 3C710 SCSI , VMEb us, a nd MPU. In t he
general case, any master can access any slave; not all combinations pass
the common sense test, however. Refer to the MVME1X7P Single Board Computers Pr ogrammer’s Reference Guide and to the user 's guide for each
device to deter mine it s p ort s ize, da ta bus co nnecti on, and any re st ricti ons
that apply when accessing the device.
Microprocessor
The MC68040 processor is used on the MVME167P. The MC68040 has
on-chip instruction and data caches and a floating-point processor. Refer
to the MC68040 user's manual for more information.
5-4Computer Group Literature Center Web Site
Page 75
Memory Options
Memory Array
ECC SDRAM
16-64MB
Up to 128MB ECC DRAM
Battery Op tio n
128KB
SRAM
4MB FLASHPETRA
Interface
PLCC
VMEbus
4 44-pin
VMEchip2
EPROM
P1
5
25/33MHz
MC68040
MPU
Connectors
Mezzanine
PCCchip2
Controller
Coprocessor
I/O Controller
Ethernet
SCSI
Quad Serial
82596CA33
53C710
CD2401
P2
8KB RAM/Clock
Battery Backed
M48T58
Compatible
Parallel I/O
Centronics
Port
2816 0800
Figure 5-1. MVME167P Block Diagram
Memory Options
The following memory options are available on the different versions of
MVME167P boards.
http://www.motorola.com/computer/literature5-5
Page 76
Functional Descr iption
DRAM
MVME167P boards are built with 16MB, 32MB or 64MB synchronous
DRAM (SDRAM). The MVME167P have the SDRAM configured to
model 4MB, 8MB, 16MB, 32MB, or 64MB of ECC-protected DRAM.
The SDRAM memory array itself is always a single-bit error correcting
and multi-bit error detection memory, irrespective of which interface
model you use to access the SDRAM.
5
SRAM
EPROM
For specifics on SDRAM performance and for detailed programming
information, refer to the chapters on MCECC memory controller
emulations in the MVME1X7P Single Board Computers Programmer’s Reference Guide.
The MVME167P implementation includes 128KB SRAM (static RAM).
SRAM archit ecture is single non-interle aved.
SRAM performance is described in the section on the SRAM memory
interface in the MVME1X7P Single Board Computers Programmer’s Reference Guide. Battery backup options are selected via jumper header
J9.
There are four 44-pin PLCC/CLCC EPROM sockets for 27C102JK or
27C202JK type EPROMs. They are organized as two 32-bit wide banks
that support 8-, 16-, and 32- bit read access es. The EPROMs are mapped to
local bus address 0 following a local bus reset. This allows the MC68040
to access the stack pointer and execution address following a reset.
The EPROMs are controlled by the VMEchip2 ASIC. The map decoder,
the access time, and the time when they appear at address 0 are
programmable. For more detail, refer to the VMEchip2 description in the
MVME1X7P Single Board Computers Programmer’s Reference Guide.
5-6Computer Group Literature Center Web Site
Page 77
Battery-Backed-Up RAM and Clock
An M48T58 RAM and clock chip is used on the MVME167P. This chip
provides a time-of-day clock, oscillator, crystal, power fail detection,
memory write protection, 8KB of RAM, and a battery in one 28-pin
package. The clock provides seconds, minutes, hours, day, date, month,
and year in BCD 24- hour for mat. Cor recti ons f or 28- , 29- (lea p year ), and
30-day months are made automat ically. No interr upts are gener ated by the
clock. Although the M48T58 is an 8-bit devi ce, t he int erfa ce pr ovi ded by
the PCCchip2 ASIC supports 8-, 16-, and 32-bit accesses to the M48T58.
Refer to the PCCchip2 description i n the MVME1X7P Single Board Computers Pr ogrammer ’s Reference Guide and to the M48T58 dat a shee t
for detailed programming guidance and battery life information.
VMEbus Interface and VMEchip2
The VMEch ip2 ASIC prov ides the local-bus-to-VMEbus interface, the
VMEbus-to-local-bus interface, and the DMA controller functions of the
local VMEbus. The VMEchip2 also provides the VMEbus system
controller functions.
Battery-Backed-Up RAM and Clock
5
Refer to the VMEchip2 description in the MVME1X7P Single Board
Computers Programmer’s Reference Guide for detail ed progr ammin g
information.
I/O Interfaces
The MVME167P provides onboard I/O for many sys tem applications. The
I/O functions include serial ports, printer port, Ethernet transceiver
interface, and SCSI mass storage interface.
Serial Port Interface
The CD2401 serial controller chip (SCC) is used to implement the four
serial ports. The serial ports support standard baud rates (110 to 38.4K
http://www.motorola.com/computer/literature5-7
Page 78
Functional Descr iption
baud). The four serial ports differ functionally because of the limited
number of pins on the P2 I/O connector.
❏Se rial port 1 is a mini mum-function asyn chronous port. I t uses the
RXD, CTS, TXD, and RTS signals.
❏Se rial ports 2 and 3 are full-function async hronous ports. They us e
the RXD, CTS, DCD, TXD, RTS, and DTR signals.
❏Serial port 4 is a full-function synchronous or asynchronous port
5
All four serial ports use EIA-232-D drivers and receivers located on the
main board, and all t he signal lines are routed t o the P2 I/O conne ctor. The
configuration header s are located on the main bo ard and may be present on
some transition boards. An external I/O transition board is necessary to
convert the I/O connector pinout to industry-standard connectors. For
drawings of the seria l por t in ter face connec tions, r efe r to the MVME1X7P Single Board Computers Programmer’s Reference Guide.
which can operate at synchronous bit rates up to 64K bits per
second. It uses the RXD, CTS, DCD, TXD, RTS, and DTR
signals. It also interfaces to the synchronous clock signal lines.
NoteThe MVME167P board hardware ties the DTR signal from the
CD2401 to the pin labeled RTS at conne ctor P2. Li kewise, RTS
from the CD2401 is tied to DTR on P2. Therefore, when
programming the CD2401, asse rt DTR when you want RTS, an d
RTS when you want DTR.
The interface provide d by t he PCCchi p2 ASI C al lows the 16-b it CD2 401
to appear at contiguous addr esses; howev er , acces ses to the CD2401 must
be 8 or 16 bits. 32-bit access es are not permitted. Refe r to the CD2401 da ta
sheet and to the PCCchip2 description in the Programmer’s Reference Guide for detailed programming information.
The CD2401 supports DMA operations to local memory. Because the
CD2401 does not support a retry operation necessary to break VMEbus
lockup conditions, the CD2401 DMA controllers should not be
programmed to access the VMEbus. The hardware does not restrict the
CD2401 to onboard DRAM.
5-8Computer Group Literature Center Web Site
Page 79
Parallel Port Interface
The PCCchip2 ASIC provides an 8-bit bidirectional parall el port. All eight
bits of the port must be either inputs or outputs (no individual selection).
In addition to the 8 bits of data, there are two control pins and five status
pins. Each of the status pins can generate an interrupt to the MPU in any
of the following programmable conditions: high level, low level,
high-to-low transit ion, or low-to-h igh transi tion. This po rt may be used as
a Centronics-compatible parallel printer port or as a general parallel I/O
port.
When used as a para llel printer por t, the five stat us pins function as : Printer
Acknowledge (ACK), Printer Fault (FAULT∗), Printer Busy (BSY),
Printer Select (SELECT), and Printer Paper Error (PE); while the control
pins act as Printer Strobe (STROBE∗), and Input Prime (INP∗).
The PCCchip2 provides an auto-strobe feature similar to that of the
MVME147 PCC. In auto-strobe mode, after a write to the Printer Data
Register, the PCCchip2 automatically asserts the STROBE∗ pin for a
selected time specified by the Printer Fast Strob e control bit. In manual
mode, the Printer Strobe control bit directly controls the state of the
STROBE∗ pin.
I/O Interfaces
5
Refer to the MVME1X7P Single Board Computers Programmer’s
Reference Guide for drawings of the printer port interface connections.
Ethernet Interface
The MVME167P uses the Intel 82596CA LAN copro cessor to i mplement
the optional Ethernet transceiver interface. The 82596CA accesses local
RAM using DMA operations to perform its normal function s. Because the
82596CA has small internal buffers and the VMEbus has an undefined
latency period, buffer overrun may occur if the DMA is programmed to
access the VMEbus. Therefore, the 82596CA should not be programmed
to access the VMEbus.
Every MVME167P that is built with an Ethernet interface is assigned an
Ethernet Station Addre ss. The add ress i s $0001AFxxxxxx where x xxx xx is
the unique 6-nibble number assign ed to the boa rd (i.e., eve ry MVME167P
has a different value for xxxxxx).
http://www.motorola.com/computer/literature5-9
Page 80
Functional Descr iption
Each board has an Ethernet Station Address displayed on a label attached
to the VMEbus P2 connector. In addition, the six bytes including the
Ethernet address are stored in the BBRAM configuration area. That is,
0001AFxxxxxx is sto red in the BBRAM. The upp er four bytes ( 0001AFxx)
are read at $FFFC1F2C; the lower two bytes (xxxx) are read at
$FFFC1F30.
The MVME167P debugger has the capability to retrieve or set the Ethernet
address. If the data in BBRAM is lost, use the number on the label on
5
SCSI Interface
backplane connector P2 to restore it.
The Ethernet transceiver interface is located on the MV ME167P main
board, and the industry-standard DB15 connector is located on the
MVME712 series transition board.
Support functions fo r the 82596CA LAN co proc essor are p rovide d by th e
PCCchip2 ASIC. Refer to the 82596CA user’s guide and to the
MVME1X7P Single Boar d Comput ers Pr ogr ammer’s Reference Guide for
detailed programming information.
The MVME167P has provision for mass storage subsystems through the
industry-standard SCSI bus. These subsystems may include hard and
floppy disk drives, strea ming tape dr ives, and other mass stor age devic es.
The SCSI interface is implemented using the NCR 53C710 SCSI I/O
controller.
Support functions for the 53C710 are provided by the PCCchip2 ASIC.
Refer to the NCR 53C710 user ’s guide and to the PCCch ip2 descr iption i n
the MVME1X7P Single Board Computers Pro grammer’s Reference Guide
for detailed programming information .
SCSI Termination
It is important that the SCSI bus be properly terminated at both ends.
In the case of the MVME167P, sock ets are provided for t erminators on the
P2 or LCP2 adapter board. If the SCSI bus ends at the adapter board,
termination resistors must be installed on the adapter board. +5V power to
5-10Computer Group Literature Center Web Site
Page 81
the SCSI bus TERM power line and termination resistors is supplied
through a fuse located on the adapter board.
Local Resources
The MVME167P includes many resources for the local processor. These
include tick timers, software-programmable hardware interrupts, a
watchdog timer, and a local bus timeout.
Local Resources
Programmable Tick Timers
Four 32-bit programm able tick timers with 1ms resolution are available:
two in the VMEchip2 ASIC and two in the PCCchip2 ASIC. The tick
timers may be programmed to gene rate periodic inter rupts to the processor .
Refer to the VMEchip2 and PCCchip2 descriptions in the Programmer’s Reference Guide for detailed programming information.
Watchdog Timer
A watchdog timer function i s provided in the VMEchip2 ASIC. Wh en the
watchdog timer is enabled, it must be reset by software within the
programmed interval or it times out. The watchdog timer can be
programmed to generate a SYSRESET signal, a local reset signal, or a
board fail signal if it times out.
Refer to the VMEchip2 descri ptio n in t he Pr ogr ammer’s Reference Guide
for detailed programming information.
Software-Programmable Hardware Interr upts
The VMEchip2 ASIC supplies eight software-programmable hardware
interrupts. These interrupts allow software to create a hardware interrupt.
5
Refer to the VMEchip2 descri ptio n in t he Pr ogr ammer’s Reference Guide
for detailed programming information.
http://www.motorola.com/computer/literature5-11
Page 82
Functional Descr iption
Local Bus Timeout
The MVME167P provides a t im eo ut function in the VMEchi p2 ASIC for
the local bus. When the timer is enabled and a local bus access times out,
a Transf er Error Acknowledge (TEA) signal is sent to t he local bus master.
The timeout value is selectable by software for 8
or infinity. The local bus timer does not operate during VMEbus bound
cycles. VMEbus bou nd cycl es ar e ti med by the VM Ebus ac cess timer and
the VMEbus global timer.
µsec, 64 µsec, 256 µsec,
5
Refer to the VMEchip2 description in the MVME1X7P Single Board
Computers Programmer’s Reference Guide for detailed programming
information.
Local Bus Arbiter
The local b us arbiter im plements a fi xed priority. The order of priority is
shown in Table 5-1.
Table 5-1. Local Bus Arbitration Priority
DevicePriorityNote
LAN0Highest
Serial I/O1
SCSI2...
VMEbus3Next Lowest
MC68040 MPU4Lowest
Connectors
The MVME167P has two 96-posi tion DIN connectors : P1 and P2. P1 rows
A, B, C, and P2 row B provide the VMEbus interconnection. P2 rows A
and C provide the connection to the SCSI bus, serial ports, and Ethernet.
Pin assignments for the VME conn ector s on the M VME167P ar e list ed in
Chapter 6, Connector Pin Assignments.
5-12Computer Group Literature Center Web Site
Page 83
Remote Status and Control
The remote status and contr ol conn ector , J3, i s a 20- pin co nnector l ocate d
behind the front panel of the MVME167P. It provides system designers
with flexibility in accessing critical indicator and reset functions.
When the board is enclosed in a chassis and the front panel is not visible,
this connector allows the Reset , Abort, a nd LED funct ions to be extend ed
to the control panel of the system, where they are visible. Alternatively,
this allows a system designer to construct a RESET/ABORT/LED panel
that can be located remotely from the MVME167P.
Connectors
5
http://www.motorola.com/computer/literature5-13
Page 84
Page 85
6Connector Pin Assignments
MVME167P Connectors
This chapter summarizes the pin assignments for the following groups of
interconnect signals on the MVME167P:
The tables in this chapter furnish pin assi gnments only. For detailed
descriptions of the interconnect signals, consult the support information
for the MVME167P board (availa ble throug h your Motorol a sales of fice).
For the placement of the pr incip al conne ctors on the MVME167P (J1 and
P1/P2), see Figure 1-1.
6
6-1
Page 86
Connector Pin Assignments
Remote Reset Connector
The MVME167P has a 20-pin connector (J3) mounted behind the front
panel. When the MVME167P boar d is encl osed in a chassis and the front
panel is not visibl e, t hi s co nnector enables you to e xt end the Reset, Abort
and LED functions to the control panel of the system, where they remain
accessible. The pin assignments for J3 are listed in Table 6-1.
Two three-row 96-pin DIN type connectors, P1 and P2, supply the
interface between the bas e board and the VMEbus. P1 provides powe r and
VME signals for 24-bit addre ssing and 16-bit data. Its pin assi gnments are
set by the IEEE P1014-1987 VMEbus Specification. P2 Row B supplies
the base board with power, with the upper eight VMEbus address lines,
and with an additional 16 VMEbus data lines. P2 rows A and C are not
used in the MVME167P implementation.
6-2Computer Group Literature Center Web Site
Page 87
VMEbus Connectors
The pin assignments for P1and P2 are listed in Table 6-2 and Table 6-3
respectively.
Listed in the following table are the general specifications for the
MVME167P VME single-board computer. Subsequent sections detail
cooling requirement s and EMC regulatory compliance.
Board Specifications
Table A-1 lists the general specifications for the MVME167P family of
VME single-board comp uters. A d escri ption of t he boa rd fun ction alit y on
a block diagram level appears in Chapter 5, Functional Description.
Table A-1. MVME167P Specifications
CharacteristicsSpecifications
A
Power Requirements
MC68040 processor at 25MHz or
33MHz
Environmental Parameters
TemperatureOperating0° C to 55° C (32-130° F) at exit point of forced air
Non-operating−40° C to 85° C (−40-143° F)
AltitudeOperating−500 to 5,000 meters (−1640 to 16,405 feet)
Non-operating−500 to 15,000 meters (−1640 to 49,215 feet)
Relative humidityOperating10% to 80% (non-condensing)
Front panel width20 mm (0.8 in.)
Front panel height262 mm (10.3 in.)
Depth160 mm (6.3 in.)
Cooling Requirements
The Motorola MVME167P VME single-board computer is specified,
designed, and test ed to operate rel iably within an i ncoming air temperat ure
range of from 0 ° C to 55° C ( 32° t o 130° F) with forced air cooling of the
entire assembly (base board and mezzanine, if present) at a velocity
typically achievable by using a 100 CFM axial fan. Temperature
qualification was performed in a standard Motorola VME system chassis.
Twenty-five-watt load boards are inserted in two card slots, one on each
side, adjacent to the board under test, to simulate a high power density
system configuration. An assembly of three axial fans, rated at 100 CFM
per fan, is placed directly under the VME card cage. The incoming air
temperature is measured between the fan assembly and the card cage,
where the incoming airstream first encounters the module under test. Test
software is executed as the module is subjected to ambient temperature
variations. Case temperatures of critical, high power density integrated
circuits are monito red to ensure componen t vendors’ specifica tions are not
exceeded.
While the exact amount of airflow required for cooling depends on the
ambient air temperature and the type, number , and l ocat i on of boa rds and
other heat sources , adequate cool ing can usuall y be achieved with 10 CFM
(490 LFM) flowing over the module. Less airflow is required to cool the
module in environments having lower maximum ambients. Under more
favorable thermal conditions, it may be possible to operate the module
reliably at higher than 55° C with increased airflow. It is important to note
that there are s everal factor s, in addition t o the rated CFM o f the air mover ,
A-2Computer Group Literature Center Web Site
Page 93
which determine the actual volume and speed of air flowing over a
module.
EMC Compliance
The Motorola MVME167P family of VME single-board computers were
tested in a CE-mark ed EMC-complia nt chassi s and meet the require ments
for Class B equipment. Compliance was achieved under the following
conditions:
❏Shielded cables on all external I/O ports.
❏Cable shields connected to earth ground.
❏Conductive chassis rails connected to earth ground.
❏Front panel screws properly tightened.
For minimum RF emissions, it is essential that the conditions above be
implemented. Failure t o do so could comp romise the CE compliance of the
equipment containing the module.
EMC Compliance
A
http://www.motorola.com/computer/literatureA-3
Page 94
Page 95
BTroubleshooting
Solving Startup Problems
In the event of difficulty with your MVME167P VME single-board
computer, try the simple troubleshooting steps on the following pages
before calling for help or sending the board back for repair. Some of the
procedures will ret urn the board to the factor y debugger environment. (T he
board was tested und er these cond itions be fore it left the fact ory . ) The selftests may not run in all user-customized environments.
Table B-1. Troubleshooting MVME167P Boards
ConditionPossible ProblemTry This:
B
I. Nothing works,
no display on
the terminal.
A. If the RUN (or
+12V) LED is
not lit, the
board may not
be getting
correct power.
B. If the LEDs are
lit, the board
may be in the
wrong slot.
C. The “system
console”
terminal may
be configured
incorrectly.
1. Make sure the system is plugged in.
2. Check that the board is securely installed in its
backplane or chassis.
3. Check that all necessary cables are connected to
the board, per this manual.
4. Check for compliance with System
Considerations, as described in this manual .
5. Review the Installation and Startup procedures,
as described in this manual. They include a stepby-step powerup routine. Try it.
1. For VMEmodules, the processor module
(controller) should be in the first (leftmost) slot.
2. Also check that the “system controller” function
on the board is enabled, per this manual.
Configure the system console terminal as described in
this manual.
The tests take as long as 10 minutes, depend ing on
RAM size. They are complete when the prompt
returns. (The onboard self-test is a valuable tool in
isolating defects.)
8. The system may indicate that it has passed all the
self-tests. Or, it may indicate a test that failed. If
neither happens, enter:
de <CR>
Any errors should now be displayed. If there are
any errors, go to step VI. If there are no er rors, g o
to step V.
V . The de bugger is
in system
mode and the
board
autoboots, or
the board has
passed selftests.
A. No apparent
problems —
troubleshooting
is done.
No further troubleshooting steps are required.
VI. The board has
failed one or
more of the
tests listed
above, and
cannot be
corrected
using the steps
given.
B-4Computer Group Literature Center Web Site
A. There may be
some fault in
the board
hardware or the
on-board
debugging and
diagnostic
firmware.
TROUBLESHOOTING PROCEDURE COMPLETE.
1. Document the problem and return the board for
service.
2. Phone 1-800-222-5640.
Page 99
CNetwork Controller Data
Network Controller Modules Supported
The 167Bug firmware supports the foll owing VMEbus network controll er
modules. The default address for each module type and position is shown
to indicate where the controller must reside to be supported by 167Bug.
The controllers are accessed via the specified CLUN and DLUNs listed
here. The CLUN and DLUNs are used in conjunction with the debugger
commands NBH, NBO, NIOP, NIOC, NIOT, NPING, and NAB; they
are also used with the debugger system calls .NETRD, .NETWR,
.NETFOPN, .NETFRD, .NETCFIG, and .NETCTRL.