MVME187
RISC Single Board Computer
Installation Guide
MVME187IG/D4
Preface
This manual provides a general board level hardware description, hardware
preparation and installation instructions, debugger general information, and
information about using the debugger.
This manual applies to the following MVME187 RISC Single Board Computers:
Assembly Item
Board Description
MVME187-001B 25MHZ, 4MB Parity
MVME187-002B 25MHZ, 8MB Parity
MVME187-003B 25MHZ, 16MB Parity
MVME187-004B 25MHZ, 32MB Parity
MVME187-023B 33MHZ, 16MB ECC, 128
MVME187-024B 33MHZ, 32MB ECC, 128C
MVME187-031B 33MHZ, 4MB ECC
MVME187-032B 33MHZ, 8MB ECC
MVME187-033B 33MHZ, 16MB ECC
MVME187-034B 33MHZ, 32MB ECC
MVME187-035B 33MHZ, 64MB ECC
MVME187-036B 33MHZ, 128MB ECC
This manual is intended for anyone who wants to provide OEM systems, supply
additional capability to an existing compatible system, or work in a lab
environment for experimental purposes.
Anyone using this manual should have a basic knowledge of computers and
digital logic.
Safety Summary
Safety Depends OnYou
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 speciÞc warnings elsewhere in
this manual violates safety standards of design, manufacture, and intended use of the equipment.
Motorola, Inc. assumes no liability for the customer's failure to comply with these requirements.
The safety precautions listed below represent warnings of certain dangers of which Motorola is aware. 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 shock hazard, the equipment chassis and enclosure must be connected to an electrical ground.
The equipment is supplied with a three-conductor ac power cable. The power cable must be plugged into
an approved three-contact electrical outlet. The power jack and mating plug of the power cable meet
International Electrotechnical Commission (IEC) safety standards.
Do Not Operate in an Explosive Atmosphere.
Do not operate the equipment in the presence of ßammable gases or fumes. Operation of any electrical
equipment in such an environment constitutes a deÞnite safety hazard.
Keep Away From Live Circuits.
Operating personnel must not remove equipment covers. Only Factory Authorized Service Personnel or
other qualiÞed maintenance personnel may remove equipment covers for internal subassembly or
component replacement or any internal adjustment. Do not replace components with power cable
connected. Under certain conditions, dangerous voltages may exist even with the power cable removed. To
avoid injuries, always disconnect power and discharge circuits before touching them.
Do Not Service or Adjust Alone.
Do not attempt internal service or adjustment unless another person capable of rendering Þrst aid and
resuscitation is present.
Use Caution When Exposing or Handling the CRT.
Breakage of the Cathode-Ray Tube (CRT) causes a high-velocity scattering of glass fragments (implosion).
To prevent CRT implosion, avoid rough handling or jarring of the equipment. Handling of the CRT should
be done only by qualiÞed maintenance personnel using approved safety mask and gloves.
Do Not Substitute Parts or Modify Equipment.
Because of the danger of introducing additional hazards, do not install substitute parts or perform any
unauthorized modiÞcation of the equipment. Contact your local Motorola representative for service and
repair to ensure that safety features are maintained.
Dangerous Procedure Warnings.
Warnings, such as the example below, precede potentially dangerous procedures throughout this manual.
Instructions contained in the warnings must be followed. You should also employ all other safety
precautions which you deem necessary for the operation of the equipment in your operating environment.
Dangerous voltages, capable of causing death, are
!
present in this equipment. Use extreme caution when
handling, testing, and adjusting.
WARNING
All Motorola PWBs (printed wiring boards) are manufactured by UL-recognized
manufacturers, with a ßammability rating of 94V-0.
This equipment generates, uses, and can radiate electro-
!
magnetic energy. It may cause or be susceptible to
electro-magnetic interference (EMI) if not installed and
used in a cabinet with adequate EMI protection.
WARNING
European Notice: Board products with the CE marking comply with the
EMC Directive (89/336/EEC). Compliance with this directive implies
conformity to the following European Norms:
EN55022 (CISPR 22) Radio Frequency Interference
EN50082-1 (IEC801-2, IEC801-3, IEEC801-4) Electromagnetic Immunity
The product also fulÞlls EN60950 (product safety) which is essentially
the requirement for the Low Voltage Directive (73/23/EEC).
This board product was 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.
The computer programs stored in the Read Only Memory of this device contain
material copyrighted by Motorola Inc., 1995, and may be used only under a license
such as those contained in MotorolaÕs software licenses.
¨
Motorola and the Motorola symbol are registered trademarks of Motorola, Inc.
All other products mentioned in this document are trademarks or registered
trademarks of their respective holders.
©Copyright Motorola 1997
All Rights Reserved
Printed in the United States of America
March 1997
Data and Address Size DeÞnitions 1-3
Adapters 2-7
Transition Modules 2-8
ASICs 2-8
VMEchip2 ASIC 2-9
PCCchip2 ASIC 2-9
MEMC040 Memory Controller ASIC 2-10
Modifying ConÞguration before Installation 3-5
Option Modification 3-5
Checking the 187Bug EPROMs 3-7
EPROM Location 3-7
EPROM Orientation 3-7
User-programmed EPROMs 3-7
Trap #496 Routines 4-2
Debugger or Diagnostic Directories 4-3
Keyboard Control 4-3
Comparison with M68000-Based Firmware 4-4
187Bug Implementation 4-4
Memory Requirements 4-5
BOOTP Protocol Module 4-20
TFTP Protocol Module 4-20
Network Boot Control Module 4-20
Network I/O Error Codes 4-21
Multiprocessor Support 4-21
Multiprocessor Control Register (MPCR) Method 4-21
ScientiÞc Notation 5-14
The 187Bug Debugger Command Set 5-15
This Appendix Covers A-1
ConÞguring the Board Information Block A-1
Setting Environment to Bug/Operating System A-3
Disk/Tape Controller Modules Supported B-1
Disk/Tape Controller Default ConÞgurations B-2
IOT Command Parameters for Supported Floppy Types B-4
Network Controller Modules Supported C-1
Introduction E-1
Levels of Implementation E-3
Signal Adaptations E-4
Sample ConÞgurations E-4
Proper Grounding E-7
MVME187 General Block Diagram 2-7
MVME187 Switches, Headers, Connectors, Fuses, and LEDs 3-6
Typical Internal SCSI and Serial Port Connections 3-18
Using MVME712A/AM and MVME712B 3-22
Typical Transition Module Peripheral Port Connectors 3-23
MVME187 General SpeciÞcations 2-6
Bus Transfers 2-9
Front Panel Switches 2-11
Front Panel LEDs 2-11
Local Bus Memory Map 2-25
Startup Overview 3-2
Select Header 3-12
Settings for J7 and J8 Serial Port 4 Clock ConÞguration
Select Headers 3-13
MVME187 Preparation Procedure 3-14
Chassis Preparation/Slot Selection Procedure 3-15
MVME187 Installation Procedure 3-16
Peripheral Connections 3-19
Transition Module and Adapter Board Installation Overview 3-20
Peripheral Connection Procedures 3-21
Installation Completion Procedure 3-24
System Startup Overview 3-24
RTC Initialization Procedure 3-26
Diagnostic Monitor Commands/PreÞxes 4-25
Diagnostic Utilities 4-26
Diagnostic Test Groups 4-27
Debugger Commands 5-15
xiv
1Introduction to the MVME187
Installation Guide
1
This Chapter Covers
❏ Details about this manual
❏ Terminology, conventions, and definitions used
❏ Other publications relevant to the MVME187
About this Manual
This manual supports the setup, installation, and debugging of the
RISC-based MVME187 Single Board Computer; a high-
performance engine for VMEbus-based low- and mid-range OEM
and integrated systems, embedded controllers, and other single-
board computer applications.
This manual provides:
❏ A general Board Level Hardware Description in Chapter 2
❏ Hardware Preparation and Installation instructions in Chapter 3
❏ Debugger General Information in Chapter 4
❏ Debugger/monitor commands, and other information about
Using the 187Bug Debugger in Chapter 5
❏ Other information needed for start-up and troubleshooting of
the MVME187 RISC Single Board Computer, including
Ð Configure and Environment Commands in Appendix A
Ð Disk/Tape Controller Data in Appendix B for controller
modules supported by 187Bug
Ð Network Controller Data in Appendix C
Ð Procedures for Troubleshooting CPU Boards in Appendix D
Ð EIA-232-D Interconnections in Appendix E
1-1
Introduction to the MVME187 Installation Guide
1
Terminology, Conventions, and Definitions
Used in this Manual
Data and Address Parameter Numeric Formats
Throughout this manual, a character identifying the numeric
format precedes data and address parameters as follows:
$
dollar
speciÞes a hexadecimal character
speciÞes a binary number
%
&
percent
ampersand
speciÞes a decimal number
For example, Ò12Ó is the decimal number twelve, and Ò$12Ó is the
decimal number eighteen.
Unless otherwise specified, all address references are in
hexadecimal.
Signal Name Conventions
An asterisk (*) follows signal names for signals which are level or
edge significant:
Term
* Indicates
level
signiÞcant
The signal is true or valid when the signal is low.
edge
signiÞcant
The actions initiated by that signal occur on high
to low transition.
1-2
Terminology, Conventions, and Definitions Used in this Manual
1
Assertion and Negation Conventions
Assertion and negation are used to specify forcing a signal to a
particular state. These terms are used independently of the voltage
level (high or low) that they represent.
Term
Indicates
Assertion and assert The signal is active or true.
Negation and negate The signal is inactive or false.
Data and Address Size Definitions
Data and address sizes are defined as follows:
Name
Byte
Size
Numbered
SigniÞcance
Called
bit 0 is the
least
8 bits
0 through 7
signiÞcant
bit 0 is the
least
signiÞcant
half-
word
Two-byte
Four-byte
16 bits
32 bits
0 through 15
0 through 31
bit 0 is the
least
word
signiÞcant
Big-Endian Byte Ordering
This manual assumes that the MPU on the MVME187 always
programs the CMMUs with big-endian byte ordering, as shown
below. Any attempt to use little-endian byte ordering will
immediately render the MVME187Bug debugger unusable.
BIT
BIT
31
24
23
16
15
08
07
00
ADR0
ADR1
ADR2
ADR3
1-3
Introduction to the MVME187 Installation Guide
1
Control and Status Bit Definitions
The terms control bit and status bit are used extensively in this
document to describe certain bits in registers.
Term
Describes
Control bit
The bit can be set and cleared under software
control.
Status bit
The bit reflects a specific condition.
❏ The status bit can be read by software to determine
operational or exception conditions.
True/False Bit State Definitions
True and False indicate whether a bit enables or disables the
function it controls:
Term
True
False
Indicates
Enables the function it controls.
Disables the function it controls.
Bit Value Descriptions
In all tables, the terms 0 and 1 are used to describe the actual value
that should be written to the bit, or the value that it yields when
read.
1-4
Related Documentation
1
Related Documentation
The MVME187 ships with a start-up installation guide
(MVME187IG/D, the document you are presently reading) which
includes installation instructions, jumper configuration
information, memory maps, debugger/monitor commands, and
any other information needed for start-up of the board.
If you wish to develop your own applications or need more detailed
information about your MVME187 Single Board Computer, you
may purchase the additional documentation (listed on the
following pages) through your local Motorola sales office.
If any supplements have been issued for a manual or guide, they
will be furnished along with the particular document. Each
Motorola Computer Group manual publication number is suffixed
with characters which represent the revision level of the document,
such as Ò/D2Ó (the second revision of a manual); a supplement
bears the same number as a manual but has a suffix such as
Ò/D2A1Ó (the first supplement to the second edition of the
manual).
Document Set for MVME187-0xx Board
You may order the manuals in this list individually or as a set. The
manual set 68-M187SET includes:
Motorola
Publication Number
Description
MVME187/D
MVME187 RISC Single Board Computer UserÕs Manual
88KBUG1/D
88KBUG2/D
Debugging Package for Motorola 88K RISC CPUs UserÕs
Manual (Parts 1 and 2)
MVME187BUG
MVME187Bug Debugging Package UserÕs Manual
VMESBCA1/PG
VMESBCA2/PG
Single Board Computer ProgrammerÕs Reference Guide
(Parts 1 and 2)
1-5
Introduction to the MVME187 Installation Guide
1
Motorola
Publication Number
Description
Single Board Computers SCSI Software UserÕs Manual
SBCSCSI/D
Additional Manuals for this Board
Also available but not included in the set:
Motorola
Publication Number
Description
MVME187IG/D
SIMVME187/D
MVME187 RISC Single Board Computer Installation
Guide (this manual)
MVME187 RISC Single Board Computer Support
Information
The SIMVME187 manual contains the connector
interconnect signal information, parts lists, and the
schematics for the MVME187.
Other Applicable Motorola Publications
The following publications are applicable to the MVME187 and
may provide additional helpful information. They may be
purchased through your local Motorola sales office.
Motorola
Publication Number
Description
MVME712M
MVME712M Transition Module and P2 Adapter
Board User's Manual
MVME712A
MVME712-12, MVME712-13, MVME712A,
MVME712AM, and MVME712B Transition Modules
and LCP2 Adapter Board User's Manual
1-6
Related Documentation
1
Motorola
Publication Number
Description
MC88100UM
MC88200UM
MC88100 RISC Microprocessor User's Manual
MC88200 Cache/Memory Management Unit
(CMMU) User's Manual
MC88204
MC88204 64K-Byte Cache/Memory Management
Unit (CMMU) data sheet A
Non-Motorola Peripheral Controllers Publications Bundle
For your convenience, we have collected user's manuals for each of
the peripheral controllers used on the MVME187 from the
suppliers. This bundle, which can be ordered as part number 68-
1X7DS, includes the following manuals:
Part Number
NCR53C710DM
NCR53C710PG
CL-CD2400/2401
UM95SCC0100
Description
NCR 53C710 SCSI I/O Processor Data Manual
NCR 53C710 SCSI I/O Processor ProgrammerÕs Guide
Cirrus Logic CD2401 Serial Controller UserÕs Manual
Zilog Z85230 Serial Communications Controller
UserÕs Manual
290218
290435
290245
292095
292099
Intel Networking Components Data Manual
Intel i28F008 Flash Memory Data Sheet
Intel i28F020 Flash Memory Data Sheet
Intel i28F008SA Software Drivers Application Note
Intel i28F008SA Automation and Algorithms
Application Note
1-7
Introduction to the MVME187 Installation Guide
1
Part Number
Description
MK48T08/18B
SGS-THOMSON MK48T08 Time Clock/NVRAM
Data Sheet
MC68230/D
MC68230 Parallel Interface Timer (PI/T) Data Sheet
Customer Letter for Component Alternatives
SBCCOMPS/L
1-8
Related Documentation
1
Applicable Non-Motorola Publications
The following non-Motorola publications are also available from
the sources indicated.
Document Title
Source
Versatile Backplane Bus: VMEbus,
ANSI/IEEE Std 1014-1987
(VMEbus SpeciÞcation) (This is also
Microprocessor System Bus for 1 to 4 Byte
Data, IEC 821 BUS)
The Institute of Electrical and
Electronics Engineers, Inc.
345 East 47th St.
New York, NY 10017
Bureau Central de la Commission
Electrotechnique Internationale
3, rue de VarembŽ
Geneva, Switzerland
ANSI Small Computer System Interface-2
(SCSI-2), Draft Document X3.131-198X,
Revision 10c
Global Engineering Documents
15 Inverness Way East
Englewood, CO 80112-5704
CL-CD2400/2401 Four-Channel Multi-
Protocol Communications Controller Data
Sheet, order number 542400-003
Cirrus Logic, Inc.
3100 West Warren Ave.
Fremont, CA 94538
82596CA Local Area Network Coprocessor
Data Sheet, order number 290218; and
Intel Corporation, Literature Sales
P.O. Box 58130
82596 User's Manual, order number 296853 Santa Clara, CA 95052-8130
NCR 53C710 SCSI I/O Processor Data
Manual, order number NCR53C710DM
NCR Corporation
Microelectronics Products Division
1635 Aeroplaza Dr.
NCR 53C710 SCSI I/O Processor
ProgrammerÕs Guide, order number
NCR53C710PG
Colorado Springs, CO 80916
TM
MK48T08(B) Timekeeper
Zeropower
and 8Kx8
SGS-THOMSON Microelectronics
Group
TM
RAM data sheet in Static
RAMs Databook, order number DBSRAM71 Marketing Headquarters
1000 East Bell Rd.
Phoenix, AZ 85022-2699
1-9
Introduction to the MVME187 Installation Guide
1
1-10
2Board Level Hardware
Description
2
This Chapter Covers
❏ A general description of the MVME187 RISC Single Board
Computer
❏ Features and specifications
❏ A board-level hardware overview
❏ A detailed hardware functional description, including front
panel switches and indicators
❏ Memory maps
General Description
The MVME187 is a high functionality VMEbus RISC single board
computer designed around the M88000 chip set. It features:
❏ Onboard memory expansion mezzanine module with
4, 8, 16, 32, 64 or 128MB of onboard DRAM
❏ SCSI bus interface with DMA
❏ Four serial ports with EIA-232-D interface
❏ Centronics (parallel) printer port
❏ Ethernet transceiver interface with DMA
❏ 187Bug debug monitor firmware
2-1
Board Level Hardware Description
Onboard Memory Mezzanine Module
2
The MVME187 onboard DRAM mezzanine boards are available in
different sizes and with programmable parity protection or Error
Checking and Correction (ECC) protection.
❏ The main board and a single mezzanine board together take
one slot.
❏ Motorola software supports mixed parity and ECC memory
boards on the same main board.
❏ Mezzanine board sizes are 4, 8, 16, or 32 MB (parity), or 4, 8,
16, 32, 64, or 128 MB (ECC);
Ð Two mezzanine boards may be stacked to provide 256MB
of onboard RAM (ECC) or 64 MB (parity). The stacked
configuration requires two VMEbus slots.
❏ The DRAM is four-way interleaved to efficiently support
cache burst cycles.
❏ The parity mezzanines are only supported on 25 MHz main
boards.
A functional description of the Onboard DRAM starts on page 2-15.
SCSI Mass Storage Interface
The MVME187 provides for mass storage subsystems through the
industry-standard SCSI bus. These subsystems may include
❏ Hard and floppy disk drives
❏ Streaming tape drives
❏ Other mass storage devices.
A functional description of the SCSI Interface starts on page 2-22.
2-2
General Description
Serial Ports
2
The serial ports support standard baud rates of 110 to 38.4K baud.
Serial
Port
Synchronous/
Function
Signals
Bit Rates
Asynchronous
Minimum Asynchronous RXD, CTS, TXD, and RTS
1
2
and
3
Full
Full
Asynchronous RXD, CTS, DCD, TXD, RTS,
and DTR
4
Both
RXD, CTS, DCD, TXD, RTS, Synchronous up
and DTR
to 64 k bits per
second
All four serial ports use EIA-232-D drivers and receivers located on
the main board, and all the signal lines are routed to the I/O
connector.
A functional description of the Serial Port Interface starts on page
2-18.
The 8-bit bidirectional parallel port may be used as a Centronics-
compatible parallel printer port or as a general parallel I/O port.
A functional description of the Parallel Port Interface starts on page
2-20.
Ethernet Transceiver Interface
The Ethernet transceiver interface is located on the MVME187, and
the industry standard connector is located on the MVME712X
transition module.
A functional description of the Ethernet Interface starts on page
2-21.
2-3
Board Level Hardware Description
187Bug Firmware
2
The MVME187Bug debug monitor firmware (187Bug) is provided
in two of the four EPROM sockets on the MVME187.
It provides:
❏ Over 50 debug commands
❏ Up/down load commands
❏ Disk bootstrap load commands
❏ A full set of onboard diagnostics
❏ A one-line assembler/disassembler
The 187Bug user interface accepts commands from the system
console terminal.
187Bug can also operate in a System Mode, which includes choices
from a service menu.
Features
❏ M88000 Microprocessor (one MC88100 MPU and two
MC88200 or MC88204 CMMUs)
❏ 4/8/16/32/64MB of 32-bit DRAM with parity or
4/8/16/32/64/128/256MB of 32-bit DRAM with ECC
protection
❏ Four 44-pin PLCC ROM sockets (organized as two banks of
32 bits)
❏ 128KB Static RAM (with optional battery backup as a factory
build special request)
❏ Status LEDs for FAIL, STAT, RUN, SCON, LAN, +12V (LAN
power), SCSI, and VME.
❏ 8K by 8 static RAM and time of day clock with battery backup
2-4
Features
❏ RESET and ABORT switches
❏ Four 32-bit tick timers for periodic interrupts
❏ Watchdog timer
2
❏ Eight software interrupts
❏ I/O
Ð SCSI Bus interface with DMA
Ð Four serial ports with EIA-232-D buffers with DMA
Ð Centronics printer port
Ð Ethernet transceiver interface with DMA
❏ VMEbus interface
Ð VMEbus system controller functions
Ð VMEbus interface to local bus (A24/A32, D8/D16/D32
and D8/D16/D32/D64BLT) (BLT = Block Transfer)
Ð Local bus to VMEbus interface (A16/A24/A32,
D8/D16/D32)
Ð VMEbus interrupter
Ð VMEbus interrupt handler
Ð Global CSR for interprocessor communications
Ð DMA for fast local memory - VMEbus transfers
(A16/A24/A32, D16/D32 and D16/D32/D64BLT)
2-5
Board Level Hardware Description
Specifications
2
Table 2-1. MVME187 General Specifications
Characteristics
SpeciÞcations
Power requirements
+5 Vdc (+/-5%)
3.5 A (typical), 4.5 A (maximum)
(with all four EPROM sockets
populated and excluding
external LAN transceiver)
(at 25 MHz, with 32MB parity DRAM)
5.0 A (typical), 6.5 A (maximum)
(at 33 MHz, with 128MB ECC DRAM)
+12 Vdc (+/-5%)
-12 Vdc (+/- 5%)
100 mA (maximum)
(1.0 A (maximum) with offboard LAN
transceiver)
100 mA (maximum)
Operating temperature
0û to 55û C at point of entry of forced air
(approximately 490 LFM)
Storage temperature
Relative humidity
-40û to +85û C
5% to 90% (non-condensing)
Physical
dimensions
PC board with
mezzanine
module only
Height
9.187 inches (233.35 mm)
6.299 inches (160.00 mm)
0.662 inches (16.77 mm)
10.309 inches (261.85 mm)
7.4 inches (188 mm)
Depth
Double-high
VMEboard
Thickness
Height
PC board with
connectors and
front panel
Depth
Thickness
0.80 inches (20.32 mm)
Conformance to Requirements
These boards are designed to conform to the requirements of the
following specifications:
❏ VMEbus Specification (IEEE 1014-87)
❏ EIA-232-D Serial Interface Specification, EIA
❏ SCSI Specification
2-6
Board Level Overview
Board Level Overview
2
82596CA
LAN
ETHERNET
CD2401
SCC
SERIAL IO
53C710
SCSI
PRINTER
PORT
M88000
PCCchip2
MK48T08
BBRAM
& CLOCK
128KB
STATIC
RAM
DRAM
VMEchip2
EPROM
VMEbus
bd069 9211
Figure 2-1. MVME187 General Block Diagram
Connectors
The MVME187 has two 96-position 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, Ethernet, and printer.
Adapters
I/O on the MVME187 is connected to the VMEbus P2 connector.
The main board is connected to the transition modules through a P2
adapter board and cables.
2-7
Board Level Hardware Description
Transition Modules
2
MVME712X transition modules provide configuration headers and
provide industry standard connectors for the I/O devices. Refer to
Figure 3-3 on page 3-22.
❏ The MVME187 supports the transition modules MVME712-
12, MVME712-13, MVME712M, MVME712A, MVME712AM,
and MVME712B (referred to in this manual as MVME712X,
unless separately specified).
Transition modules and adapter boards are covered in
MVME712M, Transition Module and P2 Adapter Board User's Manual,
and MVME712A, MVME712-12, MVME712-13, MVME712A,
MVME712AM, and MVME712B Transition Modules and LCP2
Adapter Board User's Manual.
ASICs
The MVME187 board features several Application Specific
Integrated Circuits (ASICs) including:
❏ VMEchip2
❏ PCCchip2
❏ MEMC040
❏ MCECC
All programmable registers in the MVME187 that reside in ASICs
are covered in the Single Board Computers Programmer's Reference
Guide.
2-8
Board Level Overview
VMEchip2 ASIC
Provides the VMEbus interface. The VMEchip2 includes:
2
❏ Two tick timers
❏ Watchdog timer
❏ Programmable map decoders for the master and slave
interfaces, and a VMEbus to/from local bus DMA controller
❏ VMEbus to/from local bus non-DMA programmed access
interface
❏ VMEbus interrupter
❏ VMEbus system controller
❏ VMEbus interrupt handler
❏ VMEbus requester
Table 2-2. Bus Transfers
Transfer type
Can be...
D8, D16, or D32
Processor-to-VMEbus
VMEchip2 DMA to the
VMEbus
D16, D32, D16/BLT,
D32/BLT, or D64/MBLT
PCCchip2 ASIC
The PCCchip2 ASIC provides two tick timers and the interface to
the:
❏ LAN chip
❏ SCSI chip
❏ Serial port chip
❏ Printer port
❏ BBRAM
2-9
Board Level Hardware Description
MEMC040 Memory Controller ASIC
2
The MEMC040 memory controller ASIC provides the
programmable interface for the parity-protected DRAM mezzanine
board.
MCECC Memory Controller ASIC
The MCECC memory controller ASIC provides the programmable
interface for the ECC-protected DRAM mezzanine board.
Functional Description
The major functional blocks of the MVME187 covered in this
section are:
❏ Front panel switches and LED indicators
❏ Data bus structure
❏ M88000 MPU
❏ EPROM
❏ SRAM
❏ Onboard DRAM
❏ Battery backed up RAM and clock
❏ VMEbus interface
❏ I/O interfaces
❏ Local resources
2-10
Front Panel Switches and LEDs
2
There are two switches and eight LEDs on the boardÕs front panel
(refer to Table 2-3, Table 2-4, and Figure 3-1 on page 3-6).
Table 2-3. Front Panel Switches
Switch
Name
Description
The RESET switch resets all onboard devices and drives SYSRESET* if the
board is system controller. The RESET switch may be disabled by software.
RESET
When enabled by software, the ABORT switch generates an interrupt at a user-
programmable level. It is normally used to abort program execution and
return to the debugger.
ABORT
Table 2-4. Front Panel LEDs
LED
Name
Color
Description
FAIL
Red The FAIL LED lights when the BRDFAIL signal line is active.
STAT
Yellow The STAT LED is controlled by software on the MVME187.
The RUN LED lights when the local bus TIP* signal line is low. This
Green
RUN
indicates one of the local bus masters is executing a local bus cycle.
The SCON LED lights when the MVME187 is the VMEbus system
controller.
SCON
LAN
Green
Green The LAN LED lights when the LAN chip is local bus master.
The +12V LED lights when +12V power is available to the Ethernet
transceiver interface.
+12V
SCSI
Green
Green The SCSI LED lights when the SCSI chip is local bus master.
The VME LED lights when the board is using the VMEbus (VMEbus
Green AS* is asserted by the VMEchip2) or when the board is accessed by
the VMEbus (VMEchip2 is the local bus master).
VME
2-11
Board Level Hardware Description
Data Bus Structure
2
The local data bus on theMVME187 is a 32-bit synchronous bus
based on the MC68040 bus, and supports burst transfers and
snooping.
Local Bus Arbitration
The various local bus master and slave devices use the local bus to
communicate.
The local bus is arbitrated by priority type arbiter and the priority
of the local bus masters from highest to lowest is:
1. 82596CA LAN (highest)
2. CD2401 serial (through the PCCchip2)
3. 53C710 SCSI
4. VMEbus
5. MPU (lowest)
In general, any master can access any slave; however, not all
combinations pass the Òcommon sense test.Ó Refer to the Single
Board Computers Programmer's Reference Guide and to the user's
guide for each device to determine its port size, data bus
connection, and any restrictions that apply when accessing the
device.
M88000 MPU
The MVME187 is based on the M88000 family and uses one
MC88100 MPU and two MC88200 or MC88204 CMMUs.
One CMMU is used for the data cache and one is used for the
instruction cache.
More information is available in the MC88100 and MC88200 user's
manuals and the MC88204 data sheet.
2-12
Functional Description
EPROM
2
Four 44-pin PLCC/CLCC EPROM sockets for 27C102JK or
27C202JK type EPROMs. They are:
❏ Organized in two 32-bit wide banks supporting 8-, 16-, and
32-bit read accesses
❏ Controlled by the VMEchip2
❏ Mapped to local bus address 0 following a local bus reset
Ð This allows the MC88100 to start executing code at address
0 following a reset.
Programmable EPROM Features
❏ Map decoder
❏ Access time
❏ When accessible at address 0
Static RAM
The MVME187 includes 128KB of 32-bit wide 100 ns static RAM
(SRAM), which:
❏ Supports 8-, 16-, and 32-bit wide accesses.
❏ Allows debugger operation and execution of limited
diagnostics without the DRAM mezzanine.
❏ Is controlled by the VMEchip2; the access time is
programmable.
2-13
Board Level Hardware Description
Optional SRAM Battery Backup
2
SRAM battery backup is optionally available on the MVME187, but
only as a factory build and only by special request. (Contact your local
Motorola sales office for details). The battery backup function,
provided by a Dallas DS1210S nonvolatile controller chip and a
RAYOVAC FB1225 battery, supports primary and secondary
power sources.
The onboard power source is a RAYOVAC FB1225 battery which
has two BR1225-type lithium cells and is socketed for easy removal
and replacement. A small capacitor is provided to allow the battery
to be quickly replaced without data loss (i.e., the battery must be
replaced within 30 seconds).
If your MVME187 is equipped with SRAM battery backup, when
the main board power fails, the DS1210S selects the source with the
highest voltage.
If one source should fail, the DS1210S switches to the redundant
source.
Each time the board is powered, the DS1210S checks power sources,
allowing software to provide an early warning to avoid data loss:
❏ If the voltage of the backup sources is less than two volts, the
second memory access cycle is blocked.
software should do at least two accesses before relying on the
data.
With the optional battery backup, the MVME187 provides jumpers
(see Optional SRAM Backup Power Source Select Header J6 on page
3-11) that allow either power source of the DS1210S to be connected
to the VMEbus +5 V STDBY pin or to one cell of the onboard battery.
The power leads from the battery are exposed on the solder side of
the board, therefore the board should not be placed on a conductive
surface or stored in a conductive bag unless the battery is removed.
2-14
Functional Description
Lithium batteries incorporate inflammable materials
2
!
such as lithium and organic solvents. If lithium batteries
are mistreated or handled incorrectly, they may burst
open and ignite, possibly resulting in injury and/or fire.
Caution
When dealing with lithium batteries, carefully follow the
precautions listed below in order to prevent accidents.
❏ Do not short circuit.
❏ Do not disassemble, deform, or apply excessive pressure.
❏ Do not heat or incinerate.
❏ Do not apply solder directly.
❏ Do not use different models.
❏ Do not charge.
❏ Always check proper polarity.
To remove the battery from the module, carefully pull the battery
from the socket. (Data will be lost if a new battery is not installed
within 30 seconds.)
Before installing a new battery, ensure that the battery pins are
clean. Note the battery polarity and press the battery into the
socket.
Onboard DRAM
The MVME187 onboard DRAM is located on a mezzanine board.
The mezzanine boards are available in different sizes and with
parity protection or ECC protection.
Note Parity mezzanines are only supported on 25 MHz main
boards.
2-15
Board Level Hardware Description
Motorola software does support mixed parity and ECC memory
boards on the same main board.
2
The DRAM is four-way interleaved to efficiently support cache
burst cycles.
Onboard DRAM mezzanines are available in these configurations:
❏ 4, 8, 16, or 32MB with parity protection
❏ 4, 8, 16, 32, 64, or 128 MB with ECC protection
Stacking Mezzanines
Two mezzanine boards may be stacked to provide up to 256MB of
onboard RAM (ECC).
❏ The MVME187 board and a single mezzanine board together
take one slot.
❏ The stacked configuration requires two VMEboard slots.
DRAM Programming Considerations
❏ The DRAM map decoder can be programmed to
accommodate different base address(es) and sizes of
mezzanine boards.
❏ Onboard DRAM is disabled by a local bus reset and must be
programmed before the DRAM can be accessed.
❏ Most DRAM devices require some number of access cycles
before the DRAMs are fully operational.
Ð Normally this requirement is met by the onboard refresh
circuitry and normal DRAM installation. However,
software should insure a minimum of 10 initialization
cycles are performed to each bank of RAM.
Refer to the MEMC040 or the MCECC in the Single Board Computers
Programmer's Reference Guide for detailed programming
information.
2-16
Functional Description
Battery Backed Up RAM and Clock
2
The MK48T08 RAM and clock chip is a 28-pin package that
provides
❏ A time-of-day clock
❏ An oscillator
❏ A crystal
❏ Power fail detection
❏ Memory write protection
❏ 8KB of RAM
❏ A battery
The clock provides
❏ Seconds, minutes, hours, day, date, month, and year in BCD
24-hour format
❏ Automatic corrections for 28-, 29- (leap year), and 30-day
months
No interrupts are generated by the clock.
The MK48T08 is an 8 bit device; however, the interface provided by
the PCCchip2 supports 8-, 16-, and 32-bit accesses to the MK48T08.
Refer to the MK48T08 data sheet for detailed programming
information.
2-17
Board Level Hardware Description
VMEbus Interface
2
The VMEchip2 provides:
❏ Local bus to VMEbus interface
❏ VMEbus to local bus interface
❏ Local-VMEbus DMA controller functions
❏ VMEbus system controller functions
I/O Interfaces
The MVME187 provides onboard I/O for many system
applications.
❏ The I/O functions include:
Ð Serial ports
Ð Printer port
Ð Ethernet transceiver interface
Ð SCSI mass storage interface
❏ An external I/O transition board such as the MVME712X
should be used to convert the I/O connector pinout to
industry-standard connectors.
❏ The configuration headers are located on the MVME187 and
the MVME712X transition board.
The I/O on the MVME187 is connected to the VMEbus P2
connector. The MVME712X transition module is connected to the
MVME187 through cables and a P2 adapter board.
Serial Port Interface
The CD2401 serial controller chip (SCC) implements the four serial
ports. The serial ports support the standard baud rates (110 to 38.4K
baud). The four serial ports are different functionally because of the
limited number of pins on the P2 I/O connector.
2-18
Functional Description
All four serial ports use EIA-232-D drivers and receivers located on
the MVME187, and all the signal lines are routed to the I/O
connector.
2
❏ Serial port 1 is a minimum function asynchronous port. It
uses RXD, CTS, TXD, and RTS.
❏ Serial ports 2 and 3 are full function asynchronous ports.
They use RXD, CTS, DCD, TXD, RTS, and DTR.
❏ Serial port 4 is a full function asynchronous or synchronous
port. It can operate at synchronous bit rates up to 64 k bits per
second. It uses RXD, CTS, DCD, TXD, RTS, and DTR. It also
interfaces to the synchronous clock signal lines.
Serial Interface Programming Considerations
❏ The MVME187 board hardware ties the DTR signal from the
CD2401 to the pin labeled RTS at connector P2. Likewise, RTS
from the CD2401 is tied to DTR on P2. Therefore, when
programming the CD2401, assert DTR when you want RTS,
and RTS when you want DTR.
❏ The interface provided by the PCCchip2 allows the 16-bit
CD2401 to appear at contiguous addresses.
❏ Accesses to the CD2401 must be 8 or 16 bits: 32-bit accesses
are not permitted.
❏ 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.
Refer to the CD2401 data sheet for detailed programming
information.
2-19
Board Level Hardware Description
Parallel Port Interface
2
The PCCchip2 provides an 8-bit bidirectional parallel port. This
port may be used as a Centronics-compatible parallel printer port
or as a general parallel I/O port.
All eight bits of the port must be either inputs or outputs (no
individual bit selection).
In addition to the 8 bits of data, there are two control pins and five
status pins.
When used as a parallel printer port, these pins function as follows:
Status Pins
Printer Acknowledge (ACK*)
Printer Fault (FAULT*)
Printer Busy (BSY)
Printer Select (SELECT)
Printer Paper Error (PE)
Control Pins Printer Strobe (STROBE*)
Input Prime (INP*)
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 transition
❏ Low-to-high transition
2-20
Functional Description
The PCCchip2 provides an auto-strobe feature similar to that of the
MVME147 PCC.
2
❏ 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 Strobe control bit.
❏ In manual mode, the Printer Strobe control bit directly
controls the state of the STROBE* pin.
Ethernet Interface
The 82596CA implements the Ethernet transceiver interface. The
82596CA accesses local RAM using DMA operations to perform its
normal functions.
The Ethernet transceiver interface is located on the MVME187, and
the industry standard connector is located on the MVME712X
transition module.
Every MVME187 is assigned an Ethernet Station Address. The
address is $08003E2xxxxx where xxxxx is the unique 5-nibble
number assigned to the board (i.e., every MVME187 has a different
value for xxxxx).
Each module has the 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 configuration area
of the BBRAM. That is, 08003E2xxxxx is stored in the BBRAM.
❏ At an address of $FFFC1F2C, the upper four bytes (08003E2x)
can be read.
❏ At an address of $FFFC1F30, the lower two bytes (xxxx) can
be read.
The MVME187 debugger has the capability to retrieve or set the
Ethernet address.
If the data in the BBRAM is lost, the user should use the number on
the VMEbus P2 connector label to restore it.
2-21
Board Level Hardware Description
Buffer Overruns
2
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.
Support functions for the 82596CA are provided by the PCCchip2.
Refer to the 82596CA user's guide for detailed programming
information.
SCSI Interface
The MVME187 provides for mass storage subsystems through the
industry-standard SCSI bus. These subsystems may include hard
and floppy disk drives, streaming tape drives, and other mass
storage devices.
The SCSI interface is implemented using the NCR 53C710 SCSI I/O
controller.
Support functions for the 53C710 are provided by the PCCchip2.
Refer to the 53C710 user's guide for detailed programming
information.
SCSI Termination
Because this board has no provision for SCSI termination, you must
ensure that the SCSI bus is terminated properly.
❏ If the SCSI bus ends at the P2 Adapter, termination resistors
must be installed on the R1, R2, and R3 sockets using three 8-
pin SIP resistors. Note: +5V power to the SCSI bus TERM
power line and termination resistors is provided through a
fuse located on the P2 transition board.
❏ If there are additional SCSI mass storage devices in your
system, make sure that terminators are installed on the last
device in the SCSI chain.
2-22
Functional Description
Local Resources
2
The MVME187 includes many resources for the local processor.
These include tick timers, software programmable hardware
interrupts, watchdog timer, and local bus timeout.
Programmable Tick Timers
Four 32-bit programmable tick timers with 1 µs resolution are
provided, two in the VMEchip2 and two in the PCCchip2. The tick
timers can be programmed to generate periodic interrupts to the
processor.
Watchdog Timer
A watchdog timer function is provided in the VMEchip2. When the
watchdog timer is enabled, it must be reset by software within the
programmed time or it times out. The watchdog timer can be
programmed to generate a SYSRESET signal, local reset signal, or
board fail signal if it times out.
Software-Programmable Hardware Interrupts
Eight software-programmable hardware interrupts are provided
by the VMEchip2. These interrupts allow software to create a
hardware interrupt.
Local Bus Timeout
The MVME187 provides a timeout function for the local bus. When
the timer is enabled and a local bus access times out, a Transfer
Error Acknowledge (TEA) signal is sent to the local bus master. The
timeout value is selectable by software for 8 µsec, 64 µsec, 256 µsec,
or infinite. The local bus timer does not operate during VMEbus
bound cycles. VMEbus bound cycles are timed by the VMEbus
access timer and the VMEbus global timer.
2-23
Board Level Hardware Description
Memory Maps
2
There are two points of view for memory maps:
1. Local bus memory map
Ð the mapping of all resources as viewed by local bus
masters
2. VMEbus memory map
Ð the mapping of onboard resources as viewed by VMEbus
Masters
Local Bus Memory Map
The local bus memory map is split into different address spaces by
the transfer type (TT) signals. The local resources respond to the
normal access and interrupt acknowledge codes.
Normal Address Range Devices
The memory map of devices that respond to the normal address
defined by the Transfer Type (TT) signals on the local bus.
❏ On the MVME187, Transfer Types 0 and 1 define the normal
address range.
Table 2-5 on page 2-25 is the entire map from $00000000 to
$FFFFFFFF. Many areas of the map are user-programmable, and
❏ The cache inhibit function is programmable in the MMUs.
❏ The onboard I/O space must be marked cache inhibit and
serialized in its page table.
Table 2-6 on page 2-26 further defines the map for the local I/O
devices.
2-24
Memory Maps
Table 2-5. Local Bus Memory Map
2
Software
Address
Range
Devices Accessed
Port Size
D32
Size
DRAMSIZE
3GB
Cache
Inhibit
Notes
1, 2
3, 4
1
$00000000 - User programmable
DRAMSIZE (onboard DRAM)
N
?
DRAMSIZE User programmable
- $FF7FFFFF (VMEbus)
D32/D16
D32
$FF800000 - ROM
$FFBFFFFF
4MB
N
--
N
N
Y
?
$FFC00000 - Reserved
$FFDFFFFF
--
2MB
5
$FFE00000 - SRAM
$FFE1FFFF
D32
128KB
896KB
1MB
--
$FFE20000 - SRAM (repeated)
$FFEFFFFF
D32
--
$FFF00000 - Local I/O devices
$FFFEFFFF
D32-D8
D32/D16
3
(refer to next table)
$FFFF0000 - User programmable
64KB
2, 4
$FFFFFFFF
(VMEbus A16)
Notes
1. Onboard EPROM appears at $00000000 - $003FFFFF following a local bus
reset. The EPROM appears at 0 until the ROM0 bit is cleared in the
VMEchip2. The ROM0 bit is located at address $FFF40030 bit 20. The
EPROM must be disabled at 0 before the DRAM is enabled. The VMEchip2
and DRAM map decoders are disabled by a local bus reset.
2. This area is user-programmable. The suggested use is shown in the table.
The DRAM decoder is programmed in the MEMC040 or MCECC chip, and
the local-to-VMEbus decoders are programmed in the VMEchip2.
3. Size is approximate.
4. Cache inhibit depends on devices in area mapped.
5. This area is not decoded. If these locations are accessed and the local bus
timer is enabled, the cycle times out and is terminated by a TEA signal.
2-25
Board Level Hardware Description
The following table focuses on the Local I/O Devices portion of the
local bus Main Memory Map.
2
Table 2-6. Local I/O Devices Memory Map
Address Range
Devices Accessed
Port Size
Size
256KB
256B
256B
3.5KB
4KB
Notes
4
$FFF00000 - $FFF3FFFF Reserved
--
D32
D32-D8
--
$FFF40000 - $FFF400FF VMEchip2 (LCSR)
$FFF40100 - $FFF401FF VMEchip2 (GCSR)
$FFF40200 - $FFF40FFF Reserved
1,3
1,3
4,6
4
$FFF41000 - $FFF41FFF Reserved
--
$FFF42000 - $FFF42FFF PCCchip2
D32-D8
D8
4KB
1
$FFF43000 - $FFF430FF MEMC040/MCECC #1
$FFF43100 - $FFF431FF MEMC040/MCECC #2
256B
256B
3.5KB
1
D8
1
$FFF43200 - $FFF43FFF MEMC040s/MCECCs
(repeated)
--
1,6
$FFF44000 - $FFF44FFF reserved
--
4KB
4
1
$FFF45000 - $FFF451FF CD2401 (Serial Comm.
Cont.)
D16-D8
512B
$FFF45200 - $FFF45DFF Reserved
$FFF45E00 - $FFF45FFF Reserved
$FFF46000 - $FFF46FFF 82596CA (LAN)
$FFF47000 - $FFF47FFF 53C710 (SCSI)
$FFF48000 - $FFF4FFFF Reserved
$FFF50000 - $FFF6FFFF Reserved
$FFF70000 - $FFF76FFF Reserved
$FFF77000 - $FFF77FFF CODE CMMU
$FFF78000 - $FFF7EFFF Reserved
$FFF7F000 - $FFF7FFFF DATA CMMU
$FFF80000 - $FFF9FFFF Reserved
$FFFA0000 - $FFFBFFFF Reserved
--
3KB
512B
4KB
6,8
8
--
D32
1,7
1
D32/D8
4KB
--
32KB
128KB
28KB
4KB
4
--
--
4
5
D32
--
1
28KB
4KB
5
D32
--
1
128KB
128KB
64KB
5
--
4
$FFFC0000 - $FFFCFFFF MK48T08 (BBRAM,
TOD Clock)
D32-D8
1
$FFFD0000 - $FFFDFFFF Reserved
--
64KB
4
2
$FFFE0007
IACK LEVEL 1
D8
1 byte
2-26
Memory Maps
Table 2-6. Local I/O Devices Memory Map (Continued)
2
Address Range
$FFFE000B
Devices Accessed
IACK LEVEL 2
IACK LEVEL 3
IACK LEVEL 4
IACK LEVEL 5
IACK LEVEL 6
IACK LEVEL 7
Port Size
D8
Size
Notes
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
64KB
2
2
$FFFE000F
$FFFE0013
$FFFE0017
$FFFE001B
$FFFE001F
D8
D8
2
D8
2
D8
2
D8
2
$FFFE0020 - $FFFEFFFF IACK LEVELS
(repeated)
--
2,6
Notes
1. For a complete description of the register bits, refer to the Single Board
Computers Programmer's Reference Guide or to the data sheet for the specific
chip.
2. Byte reads should be used to read the interrupt vector. These locations do
not respond when an interrupt is not pending. If the local bus timer is
enabled, the access times out and is terminated by a TEA signal.
3. Writes to the LCSR in the VMEchip2 must be 32 bits. LCSR writes of 8 or 16
bits terminate with a TEA signal. Writes to the GCSR may be 8, 16 or 32 bits.
Reads to the LCSR and GCSR may be 8, 16 or 32 bits.
4. This area does not return an acknowledge signal. If the local bus timer is
enabled, the access times out and is terminated by a TEA signal.
5. This area does return an acknowledge signal.
6. Size is approximate.
7. Port commands to the 82596CA must be written as two 16-bit writes: upper
word first and lower word second.
8. The CD2401 appears repeatedly from $FFF45200 to $FFF45FFF. If the local
bus timer is enabled, the access times out and is terminated by a TEA signal.
2-27
Board Level Hardware Description
VMEbus Memory Map
2
This section describes the mapping of local resources as viewed by
VMEbus masters. Default addresses for the slave, master, and
GCSR address decoders are provided by the ENV command. Refer
to Appendix A.
VMEbus Accesses to the Local Bus
The VMEchip2 includes a user-programmable map decoder for the
VMEbus to local bus interface. The map decoder allows you to
program the starting and ending address and the modifiers the
MVME187 responds to.
VMEbus Short I/O Memory Map
The VMEchip2 includes a user-programmable map decoder for the
GCSR. The GCSR map decoder allows you to program the starting
address of the GCSR in the VMEbus short I/O space.
2-28
3Hardware Preparation and
Installation
3
This Chapter Covers
This chapter provides instructions on:
❏ Unpacking the equipment
❏ Preparing the hardware
❏ Installing the MVME187 RISC Single Board Computer
Note that hardware preparation instructions for the MVME712X
transition module are provided in separate userÕs manuals for each
model. Refer to the userÕs manual you received with your
MVME712X.
Unpacking the Equipment
Note If the shipping carton is damaged upon receipt, request
that the carrier's agent be present during unpacking
and inspection of the equipment.
Unpack the equipment from the shipping carton. Refer to the
packing list and verify that all items are present. Save the packing
material for storing and reshipping of the equipment.
Avoid touching areas of integrated circuitry; static
discharge can damage circuits.
!
Caution
3-1
Hardware Preparation and Installation
Overview of Startup Procedure
The following list identifies the things you will need to do before
you can use this board, and where to find the information you need
to perform each step. Be sure to read this chapter and all Caution
notes, and have the related documentation with you before you
begin.
3
Table 3-1. Startup Overview
page...
Stage
1
What you will need to do...
Prepare the MVME187.
Preparing the
Hardware
3-5
installed in their sockets.
187Bug EPROMs
ConÞgure adapters and MVME712X
transition modules.
The userÕs manual you
MVME712X module
Install/remove jumpers on headers.
Jumper Settings
3-7
2
Prepare the chassis.
Preparing the
MVME187 for
Installation
3-14
Turn power off to chassis and peripherals. The userÕs
3-16
received with
Disconnect AC power cable.
Remove chassis cover.
your chassis
Remove Þller panels from card slots.
Install your MVME187 in the chassis.
3
Installing the
Hardware
Remove IACK and BG jumpers from
backplane.
Slide the module into the chassis and
fasten it securely.
3-2
Overview of Startup Procedure
Table 3-1. Startup Overview (Continued)
On
page...
Stage
What you will need to do...
Refer to...
4
Install adapter boards and transition modules. Transition
Modules and
Overview
Installing
3-20
Transition
Modules and
Adapter Boards
Set jumpers on the transition module(s).
The userÕs manual you
MVME712X
Connect and install the MVME712X
transition module.
Connect and install the P2 adapter board.
5
Connect peripherals.
Connecting
Peripherals
3-20
Connect and install any optional SCSI
device cables.
obtain the Single Board
UserÕs Manual
Connect a console terminal to the
MVME712X.
Connect any other optional devices or
equipment you will be using, such as
serial or parallel printers, host computers,
etc.
EIA-232-D
Interconnections
E-1
Port Numbers
5-7
B-1
Disk/Tape
Controller Data
6
Complete the installation.
Reassemble chassis.
The userÕs
3-24
manual you
received with
your chassis
Reconnect AC power.
3-3
Hardware Preparation and Installation
Table 3-1. Startup Overview (Continued)
page...
Stage
7
What you will need to do...
Start up the system.
Refer to...
3
System
Power up the system.
LEDs
Initialize the real-time clock.
Real-Time Clock
3-25
3-25
4-6
Note that the debugger prompt appears.
Powering Up the
System
Starting Up
187Bug
You may also wish to
obtain the Debugging
RISC CPUs UserÕs Manual
and the 187Bug
Diagnostics UserÕs Manual
Examine and/or change environmental
parameters.
Examining
and/or Changing
Environmental
Parameters
Setting
A-3
Environment to
Bug/Operating
System
Program the PCCchip2 and VMEchip2.
Troubleshoot the system.
Memory Maps
2-24
D-1
Troubleshooting
the MVME187:
Solving Startup
Problems
Solve any startup problems
3-4
Preparing the Hardware
Preparing the Hardware
This section covers:
3
❏ Modifying hardware configurations before installation
❏ Checking the 187Bug EPROMs
❏ Factory jumper settings
❏ Preparing your MVME187
❏ Preparing the system chassis
Modifying Configuration before Installation
To select the desired configuration and ensure proper operation of
the MVME187, certain option modifications may be necessary
before installation.
The location of the switches, jumper headers, connectors, and LED
indicators on the MVME187 is illustrated in Figure 3-1.
Option Modification
The MVME187 has provisions for option modification via:
❏ Software control for most options
❏ Jumper settings on headers for some options
❏ Bit settings in control registers after installation for most
other options
Ð Control registers are described in the Single Board
Computer Programmer's Reference Guide as listed in Related
Documentation in Chapter 1 of this manual.
3-5
Preparing the Hardware
Checking the 187Bug EPROMs
Be sure that the two factory installed 128K x 16 187Bug EPROMs are
in the proper sockets.
3
EPROM Location
❏ Odd-numbered label (such as B01): EPROM in socket XU1
(for Least Significant Half-Words)
❏ Even-numbered label (such as B02): EPROM in XU2 (for Most
Significant Half-Words)
EPROM Orientation
Be sure that physical chip orientation is correct:
❏ The flatted corner of each EPROM aligns with the
corresponding portion of the EPROM socket on the
MVME187.
User-programmed EPROMs
There are two spare EPROM sockets, XU3 and XU4, available to
carry user-programmed EPROMs.
Jumper Settings
The MVME187 has been factory tested and is shipped with the
factory jumper settings described on the following pages. The
MVME187 operates with its required and factory-installed Debug
Monitor, 187Bug, with these factory jumper settings.
3-7
Hardware Preparation and Installation
Optional Jumper Settings
Most of the optional functions on your board can be changed
through software control or bit settings in control registers. If your
installation requires it, however, you may change jumper settings
on the following headers:
3
❏ Jumper pins 9 through 16 on header J1 are general purpose
software readable jumpers open to your application.
❏ Header J2 enables/disables the MVME187 as system
controller.
❏ Optional header J6 selects the SRAM backup power source
(this is only available as an optional factory build special
request).
❏ Headers J7 and J8 select serial port 4 to drive or receive
TRXC4 and RTXC4 clock signals.
General Purpose Software Readable Header J1
Each MVME187 may be configured with readable jumpers. They
bit values are read as a one when the jumper is off, and as a zero
when the jumper is on
Reserved/DeÞned Bits
Jumpers on header J1 affect 187Bug operation as listed in Table 3-2.
The factory (default) configuration is with all eight jumpers
installed (see Table 3-3).
The MVME187BUG reserves/defines the four lower order bits
(GPI3 to GPI0). Table 3-2 describes the bits reserved/defined by the
debugger:
3-8
Preparing the Hardware
Table 3-2. J1 Bit Descriptions
Bit
J1 Pins
Description
Bit #0 (GPI0)
1-2
When this bit is a one (high), it instructs the debugger to use
local Static RAM for its work page (i.e., variables, stack, vector
tables, etc.). This bit will be high when jumper is removed.
3
Bit #1 (GPI1)
3-4
When this bit is a one (high), it instructs the debugger to use
the default setup/operation parameters in ROM versus the
user setup/operation parameters in NVRAM. This is the same
as depressing the RESET and ABORT switches at the same
time. This feature can be used in the event the user setup is
corrupted or does not meet a sanity check. Refer to the ENV
command (Appendix A) for the ROM defaults. This bit will be
high when jumper is removed.
Bit #2 (GPI2)
Bit #3 (GPI3)
Bit #4 (GPI4)
5-6
7-8
Reserved for future use.
Reserved for future use.
Open to your application.
9-10
Bit #5 (GPI5) 11-12 Open to your application.
Bit #6 (GPI6) 13-14 Open to your application.
Bit #7 (GPI7) 15-16 Open to your application.
Table 3-3. Factory Settings for J1 General Purpose Readable Jumpers
Header
Number
Header
Description
ConÞguration
Jumpers
GPI0 - GPI3:
Reserved
General
purpose
software
readable
jumpers
15
16
1
2
7
8
GPI4 - GPI7:
User-deÞnable
J1
(Factory
conÞguration)
3-9
Hardware Preparation and Installation
System Controller Header J2
The MVME187 can be VMEbus system controller. The system
controller function is enabled by installing a jumper on header J2
(see Table 3-4). When the MVME187 is system controller, the SCON
LED is turned on.
3
Table 3-4. Settings for J2 System Controller Header
Header
Number
Header
Description
ConÞguration
Jumpers
System
J2
controller
1
2
2
(Factory
conÞguration)
System
controller
header
J2
J2
Not system
controller
1
3-10
Preparing the Hardware
Optional SRAM Backup Power Source Select Header J6
Header J6 is an optional header used to select the SRAM backup
power source on the MVME187, if the optional battery is present.
(The battery backup for SRAM is optionally available, but only as a
factory build and only by special request.)
3
backup, do not remove the jumpers from J6. This will
disable the SRAM. If your board contains optional
header J6, but the optional battery is removed, jumpers
must be installed between pins 1 and 3 and pins 2 and 4
for the factory configuration as shown in Table 3-5.
!
Caution
Serial Port 4 Clock Configuration Select Headers J7 and J8
Serial port 4 can be configured to use clock signals provided by the
TRXC4 and RTXC4 signal lines.
Headers J7 and J8 on the MVME187 configure serial port 4 to drive
or receive TRXC4 and RTXC4, respectively (see Table 3-6).
❏ Factory configuration sets port 4 to receive both signals.
❏ The alternative configuration sets port 4 to drive both signals
The remaining configuration of the clock lines is accomplished
using the Serial Port 4 Clock Configuration Select header on the
MVME712M transition module. Refer to the MVME712M
Transition Module and P2 Adapter Board User's Manual for
configuration of that header.
3-11
Hardware Preparation and Installation
Table 3-5. Settings for Optional J6 SRAM Backup Power Source
Select Header
Header
Number
Header
Description
ConÞguration
Jumpers
3
Primary source
VMEbus
J6
+5V STBY
1
3
5
2
4
6
Secondary source
VMEbus +5V STBY
(Factory
conÞguration)
J6
J6
J6
Primary source
optional battery
1
3
5
2
4
6
Secondary source
optional battery
SRAM backup
power source
select header
J6
Primary source
VMEbus +5V STBY
2
4
6
1
3
5
Secondary source
optional battery
Primary source
optional battery
1
3
5
2
4
6
Secondary source
VMEbus +5V STBY
3-12
Preparing the Hardware
Table 3-6. Settings for J7 and J8 Serial Port 4 Clock Configuration
Select Headers
Header
Number
Header
Description
ConÞguration
Jumpers
3
J7
Receive TRXC4
1
2
3
(Factory
conÞguration)
J7
J7
1
2
Drive TRXC4
3
Serial Port 4
clock
conÞguration
select headers
J8
Receive RTXC4
1
2
(Factory
conÞguration)
3
J8
J8
1
2
3
Drive RTXC4
3-13
Hardware Preparation and Installation
Preparing the MVME187 for Installation
Refer to the setup procedures in the manuals for your particular
chassis or system for additional details concerning the installation
of the MVME187 into a VME chassis.
3
Table 3-7. MVME187 Preparation Procedure
Step
1
Action
Install/remove jumpers on headers according to the Jumper Settings in this
chapter and as required for your particular application.
❏
❏
❏
Jumpers on header J1 affect 187Bug operation as listed in Jumper
Settings. The default condition is with all eight jumpers installed
A jumper installed/removed on header J2 enables/disables the
system controller function of the MVME187.
Install jumpers on headers J7 and J8 to configure serial port 4 to
use clock signals provided by the TRXC4 and RTXC4 signal lines.
2
3
ConÞgure adapters and transition modules according to the MVME712X
transition module user's manuals.
Ensure that EPROM devices are properly installed in their sockets.
❏
Factory configuration is with two EPROMs installed for the
MVME187Bug debug monitor, in sockets XU1 and XU2.
3-14
Preparing the Hardware
Preparing the System Chassis
Now that the MVME187 module is ready for installation, prepare
the system chassis and determine slot assignments (for peripherals,
transition modules, etc.) as follows:
3
Inserting or removing modules while power is applied
could result in damage to module components.
!
Caution
Dangerous voltages, capable of causing death, are
present in this equipment. Use extreme caution when
handling, testing, and adjusting.
!
Warning
Table 3-8. Chassis Preparation/Slot Selection Procedure
Step
Action
Turn all power OFF to chassis and peripherals.
Disconnect AC power cable from source.
1
2
3
Remove chassis cover as shown in the user's manual for your
particular chassis or system.
4
Remove the Þller panel(s) from the appropriate card slot(s) at the front
and rear of the chassis (if the chassis has a rear card cage).
If the MVME187 is conÞgured as If it is not conÞgured as system
system controller:
controller:
It must be installed in the
left-most card slot (slot 1) to
correctly initiate the bus-grant
daisy-chain and to have proper
operation of the IACK-daisy-chain
driver.
It may be installed in any double-
height unused card slot.
3-15
Hardware Preparation and Installation
Installing the Hardware
This section covers
3
❏ Installation of the MVME187 into a VME chassis
❏ Overview and installation of transition modules and adapter
boards
❏ Connection of peripheral equipment such as console
terminals, optional SCSI drives, and serial or parallel printers
Installing the MVME187 in the Chassis
Note that if the MVME187 is to be used as system controller, it must
installed in the left-most card slot (slot 1), otherwise it may be installed in
any unused double-height card slot.
Table 3-9. MVME187 Installation Procedure
Step
1
Action
Remove IACK and BG jumpers from backplane for the card slot that the
MVME187 is to be installed in.
2
Carefully slide the MVME187 into the card slot in the front of the chassis.
❏
The MVME187 requires power from both P1 and P2. Be sure the
module is seated properly into the P1 and P2 connectors on the
backplane.
❏
❏
Do not damage or bend connector pins.
Fasten the MVME187 in the chassis with screws provided,
making good contact with the transverse mounting rails to
minimize RFI emissions.
3-16
Installing the Hardware
Transition Modules and Adapter Boards Overview
The MVME187 supports the MVME712-12, MVME712-13,
MVME712M, MVME712A, MVME712AM, and MVME712B
transition modules (referred to in this manual as MVME712X,
unless separately specified).
3
Note Other modules in the system may have to be moved to
allow space for the MVME712M which has a double-
wide front panel.
MVME712X transition modules provide configuration headers and
The I/O on the MVME187 is connected to the VMEbus P2
connector.
❏ The MVME712X transition module is connected to the
MVME187 through cables and a P2 adapter board as shown
in Figure 3-2 on page 3-18.
Note Some cable(s) are not provided with the MVME712X
module(s), and therefore must be made or provided by
the user. (Motorola recommends using shielded cables
for all connections to peripherals to minimize
radiation.)
3-17
Installing the Hardware
Equipment Connections
Some connection diagrams are in the Single Board Computer
Programmer's Reference Guide.
3
The MVME712X transition modules and P2 adapter boards connect
peripheral equipment to the MVME187 as shown in Table 3-10.
Table 3-10. Peripheral Connections
Equipment Type
Connect Through...
Console terminals, host computer
systems, modems, or serial printers
EIA-232-D serial ports on the
transition module
Parallel printers
Centronics printer port on the
transition module
Optional internal modems (see the
userÕs manual for your transition
module for details)
Optional modem port, replacing serial
port 2 on the transition module
Internal SCSI drives
External SCSI drives
Adapter board and transition module
SCSI interface connector on the
transition module
Ethernet connections
Ethernet port on the transition module
3-19
Hardware Preparation and Installation
Installing Transition Modules and Adapter Boards
Table 3-11. Transition Module and Adapter Board Installation Overview
3
Stage
1
What you will need to do...
Refer to...
Set jumpers on the transition
module(s) and install SCSI
terminators (if needed) on the P2
adapter board.
Module Preparation in the userÕs
manual for your transition module
and adapter board, and
SCSI Bus Termination on page 3-29
2
3
Connect and install the MVME712X
transition module in the front or the manual for your transition module
rear of the chassis.
Installation Instructions in the userÕs
and adapter board
Connect and install
Installation Instructions in the userÕs
manual for your transition module
❏
❏
The P2 adapter board at the
P2 connector on the
backplane at the MVME187
slot.
Module Preparation in the userÕs
manual for your transition module
and adapter board, and SCSI Bus
Termination on page 3-29
SCSI cable(s) from the P2
adapter board to the
MVME712X transition
module and internal SCSI
devices.
Connecting Peripherals
The MVME187 mates with (optional) terminals or other peripherals
at the EIA-232-D serial ports (marked SERIAL PORTS 1, 2, 3, and 4
on the MVME712X transition module), parallel port, SCSI ports,
and LAN Ethernet port, as shown in Figure 3-3 on page 3-22.
Note Some cable(s) are not provided with the MVME712X
module(s), and therefore are made or provided by the
user. (Motorola recommends using shielded cables for
all connections to peripherals to minimize radiation.)
3-20
Installing the Hardware
Table 3-12. Peripheral Connection Procedures
Step
1
Connect and install any optional SCSI device
cables from J3 on the P2 Adapter to internal
The Single Board
Computer Programmer's
3
devices and/or the MVME712B or MVME712M to Reference Guide for some
external SCSI devices (typical conÞgurations possible connection
shown in Figure 3-2 on page 3-18 and Figure 3-3 on diagrams
page 3-22).
2
3
Connect the terminal to be used as the 187Bug system console to the default
debug EIA-232-D port at serial port 1 on the MVME712X transition module.
Set up the terminal as follows:
❏
❏
❏
❏
eight bits per character
one stop bit per character
parity disabled (no parity)
baud rate 9600 baud (default baud rate of MVME187 ports at
powerup)
After power-up, the baud rate of the debug port can be reconÞgured by using
the Port Format (PF) command of the 187Bug debugger.
4
Connect devices such as a host computer system and/or a serial printer to the
other EIA-232-D port connectors with the appropriate cables and conÞguration.
After power-up, these ports can be reconÞgured by programming the
MVME187 CD2401 Serial Controller Chip (SCC), or by using the 187Bug PF
command.
Set up the device serial ports as described in Step
3.
ConÞguring a Port under
the PF (Port Format)
command in the
Debugging Package for
88K RISC CPUs UserÕs
Manual
After powerup, the baud rate of the port can be
reconÞgured by using the Port Format (PF)
command of the 187Bug debugger.
5
Connect a parallel device, such as a printer, to the
printer port on the MVME712X transition module.
The Single Board
Computer Programmer's
Reference Guide for some
possible connection
diagrams
(You may also use a module such as the MVME335
for a parallel port connection.)
3-21
Hardware Preparation and Installation
Note In order for high-baud rate serial communication
between 187Bug and the terminal to work, the terminal
must do some form of handshaking. If the terminal
being used does not do hardware handshaking via the
CTS line, then it must do XON/XOFF handshaking. If
you get garbled messages and missing characters, you
should check the terminal to make sure XON/XOFF
handshaking is enabled. Refer to Configuring a Port
under the PF (Port Format) command in the Debugging
Package for 88K RISC CPUs UserÕs Manual.
3
MVME712B
MVME712X
J1
J3
MVME187
J2
J7
J4
J5
P1
J10
J11
P2 ADAPTER
J12
J2
J3
J15
P2
P2
ENCLOSURE BOUNDARY
Figure 3-3. Using MVME712A/AM and MVME712B
3-22
Hardware Preparation and Installation
Completing the Installation
Table 3-13. Installation Completion Procedure
3
Step
Action...
Reassemble the chassis.
Reconnect the AC power.
1
2
Starting the System
After completing the preparation and installation procedures, you
are ready to start up your system.
Table 3-14. System Startup Overview
Stage
1
What you will need to do...
Refer to...
debugger prompt appears.
4-6; and the MVME187Bug Debugging
2
3
Initialize the real-time clock.
Page 3-25.
Examine and/or change
Page 3-25 and ConÞgure and
environmental parameters.
Environment Commands on page A-1.
4
Program the PCCchip2 and
VMEchip2.
System Considerations on page 3-27,
Memory Maps on page 2-24, ASICs
on page 2-8, and the Single Board
Computer Programmer's Reference
Guide.
3-24
Installing the Hardware
Powering Up the System
The following table shows what takes place when you turn
equipment power ON (depending on whether 187Bug is in Board
Mode or in System Mode):
3
If 187Bug is in...
Board Mode
187Bug executes some self-checks and displays the debugger prompt
187-Bug>
System Mode The system performs a
selftest and tries to
when the Þrst fault occurs. If possible, an
appropriate message is displayed, and
control then returns to the menu (refer to
Chapter 4, Debugger General
autoboot.
Information, and Chapter 5, Using the
187Bug Debugger for ENV and MENU
commands).
Initializing the Real-Time Clock
The onboard real-time clock (RTC) is backed up with a self-
contained battery. Before shipment of this board, the clock of the
RTC device was stopped to preserve battery life.
The boardÕs ÒSelftestsÓ (ST) and operating systems require the clock
of the RTC to be operating. Table 3-15 shows the steps required to
initialize the RTC, depending on the mode.
Examining and/or Changing Environmental Parameters
Use the 187BugÕs ENV command to verify the NVRAM (BBRAM)
parameters, and optionally use ENV to make changes to the
Environmental parameters. Refer to Appendix A for the
Environment parameters.
3-25
Hardware Preparation and Installation
Table 3-15. RTC Initialization Procedure
Step
1
Action
Board Mode
System Mode
3
Allow 187Bug to boot up normally.
Stop the auto-boot sequence by
pressing the <BREAK> key. (If the
system has already started and failed
a conÞdence test in system mode, you
should be in the debugger menu).
2
3
At the 187-Bug>prompt, enter
TIME to display the current date and get the debugger prompt.
time of day.
Select (3)from the debugger menu to
At the 187-Bug>prompt, use the SET command to initialize the RTC and to
set the time and date. Use the following command line structure:
SET [<MMddyyhhmm>]|[<+/-CAL>;C]
For example:
187-Bug>SET 0522961037 <Return>
WED May 22 10:37:00.00 1996
187-Bug>
Where the arguments are: MM=month, dd=day of the month, yy=year,
hh=hour in ÒmilitaryÓ (24 hour) time, and mm=minutes.
Programming the PCCchip2 and VMEchip2
See System Considerations below, and refer to Memory Maps on
page 2-24, and the Single Board Computer Programmer's Reference
Guide for details of your particular system environment.
3-26
System Considerations
System Considerations
Backplane Power Connections
3
The MVME187 needs to draw power from both P1 and P2 of the
VMEbus backplane. P2 is also used for the upper 16 bits of data for
32-bit transfers, and for the upper 8 address lines for extended
addressing mode. The MVME187 may not operate properly
without its main board connected to P1 and P2 of the VMEbus
backplane.
Memory Address Ranges
Whether the MVME187 operates as a VMEbus master or as a
VMEbus slave, it is configured for 32 bits of address and for 32 bits
of data (A32/D32). However, it handles A16 or A24 devices in
certain address ranges. D8 and/or D16 devices in the system must
be handled by the MC88100 software. Refer to the memory maps in
the Single Board Computer Programmer's Reference Guide as listed in
Related Documentation in Chapter 1.
DRAM Addressing
The MVME187 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 $00000000, as programmed by the MVME187Bug
firmware. This may be changed, by software, to any other base
address. Refer to the Single Board Computer Programmer's Reference
Guide for details.
Global Bus Timeout
If the MVME187 tries to access offboard resources in a non-existent
location, and is not system controller, and if the system does not
have a global bus timeout, the MVME187 waits forever for the
VMEbus cycle to complete. This would cause the system to hang
up.
3-27
Hardware Preparation and Installation
Multiple Module Cage Configuration
Multiple MVME187s may be configured into a single VME card
cage. In general, hardware multiprocessor features are supported.
3
GCSR Location Monitor Register
Other MPUs on the VMEbus can interrupt, disable, communicate
with and determine the operational status of the RISC processor(s).
One register of the GCSR set includes four bits which function as
location monitors to allow one MVME187 processor to broadcast a
signal to other MVME187 processors, if any. All eight GCSR
registers are accessible from any local processor as well as from the
VMEbus.
Ethernet LAN (+12 Vdc) Fuse
The MVME187 provides +12 Vdc power to the Ethernet LAN
transceiver interface through a 1-amp fuse (F2) located on the
MVME187. The +12V LED lights when +12 Vdc is available. The
fuse is socketed and is located adjacent to diode CR1 near
connector P1. If the Ethernet transceiver fails to operate, check the
fuse. When using the MVME712M transition module, the yellow
LED (DS1) on the MVME712M front panel lights when LAN power
is available, indicating that the fuse is good.
3-28
System Considerations
SCSI Bus Termination
❏ The MVME187 provides SCSI terminator power through a 1-
amp fuse (F1) located on the P2 adapter board. The fuse is
socketed. If the fuse is blown, the SCSI devices may not
operate or may function erratically.
3
❏ When the P2 adapter board is used with an MVME712M and
the SCSI bus is connected to the MVME712M, the green LED
(DS2) on the MVME712M front panel lights when there is
SCSI terminator power. If the LED flickers during SCSI bus
operation, the fuse should be checked.
❏ Because this board has no provision for SCSI termination,
you must ensure that the SCSI bus is terminated properly. If
you use a P2 Adapter, the adapter has sockets (R1, R2, R3) for
terminating the SCSI lines using three 8-pin SIP resistor
networks.
Storage and the Real-Time Clock
For storage of this product, be sure the RTC is put into the
power save mode. This will extend the life of the battery
contained in this part. To put the part into the power save
mode, use the PS command of the debugger. For example:
187-Bug>ps <Return>
(Clock is in Battery Save mode)
187-Bug>
3-29
Hardware Preparation and Installation
3
3-30
4Debugger General
Information
4
This Chapter Covers
❏ An introduction to the MVME187Bug firmware package
❏ Booting and restarting 187Bug
❏ Disk input/output support capabilities
❏ Network support capabilities
Introduction to MVME187Bug
This section covers:
❏ Overview of M88000 firmware
❏ Description of 187Bug
❏ Comparison with M68000-based firmware
❏ 187Bug implementation
❏ Memory requirements
Overview of M88000 Firmware
The firmware for the M88000-based (88K) series of board and
system level products has a common genealogy, deriving from the
BUG firmware currently used on all Motorola M68000-based CPU
modules. The M88000 firmware family provides a high degree of
functionality and user friendliness, and yet stresses portability and
ease of maintenance. This member of the M88000 firmware family
is implemented on the MVME187 RISC Single Board Computer,
and is known as the MVME187Bug, or just 187Bug.
4-1
Debugger General Information
Description of 187Bug
The 187Bug package is a powerful evaluation and debugging tool
for systems built around the MVME187 RISC-based
microcomputers.
187Bug consists of three parts:
4
❏ The ÒdebuggerÓ or Ò187BugÒ; a command-driven user-
interactive software debugger, described in Chapter 5
❏ A command-driven diagnostic package for the MVME187
hardware
❏ A user interface which accepts commands from the system
console terminal
Command Facilities
Facilities are available for loading and executing user programs
under complete operator control for system evaluation.
187Bug includes commands for these tasks:
❏ Display and modification of memory
❏ Breakpoint and tracing capabilities
❏ A powerful assembler/disassembler useful for patching
programs
❏ A self-test at powerup feature which verifies the integrity of
the system
Trap #496 Routines
Various 187Bug routines that handle I/O, data conversion, and
string functions are available to user programs through the TRAP
#496 handler. The TRAP #496 handler is accessible through any of
the trap exception commands TB0, TB1, TBND, and TCND, with
trap vector #496.
4-2
Introduction to MVME187Bug
Debugger or Diagnostic Directories
When using 187Bug, you operate out of either the debugger
directory or the diagnostic directory.
With the
prompt...
If you are in...
You have available...
4
The debugger directory
187-Bug>
All of the debugger
commands
The diagnostic directory 187-Diag>
All of the diagnostic
commands as well as all
of the debugger
commands
You may switch between directories by using the Switch
Directories (SD) command.
You may examine the commands in the current directory by using
the Help (HE) command.
Keyboard Control
Because 187Bug is command-driven, it performs its various
operations in response to user commands entered at the keyboard.
When you enter a command, 187Bug executes the command and
the prompt reappears. However, if you enter a command that
causes execution of user target code (e.g., "GO"), then control may
or may not return to 187Bug, depending on the outcome of the user
program.
4-3
Debugger General Information
Comparison with M68000-Based Firmware
If you have used one or more of Motorola's other debugging
packages, you will find the RISC 187Bug very similar, after making
due allowances for the architectural differences between the
M68000 and M88000 CPU architectures. These differences are
primarily reflected as follows:
4
❏ Instruction mnemonics and addressing modes of the
assembler/disassembler differ somewhat in 187Bug.
❏ 187Bug uses registers instead of the stack for the passing of
arguments to or from the TRAP #496 handler.
❏ The interactive commands in 187Bug are more consistent. For
example, delimiters between commands and arguments may
now be commas or spaces interchangeably.
187Bug Implementation
MVME187Bug is written largely in the ÒCÓ programming
language, providing benefits of portability and maintainability.
Where necessary, assembler has been used in the form of separately
compiled modules containing only assembler code; no mixed
language modules are used.
Physically, 187Bug is contained in two of the four 44-pin
PLCC/CLCC EPROMs, providing 512KB (128K words) of storage.
Both EPROMs are necessary regardless of how much space is
actually occupied by the firmware, because of the 32-bit word-
oriented M88000 memory bus architecture.
The executable code is checksummed at every power-on or reset
firmware entry, and the result (which includes a pre-calculated
checksum contained in the EPROMs), is tested for an expected zero.
Thus, users are cautioned against modification of the EPROMs
unless re-checksum precautions are taken.
4-4
Booting and Restarting 187Bug
Memory Requirements
The program portion of 187Bug is approximately 512KB of code,
consisting of download, debugger, and diagnostic packages and
contained entirely in EPROM. The EPROM sockets on the
MVME187 are mapped starting at location $FF800000.
4
187Bug requires a minimum of 64KB of contiguous read/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 187Bug stack and static variable space and the rest is
reserved as user space.
Whenever the MVME187 is reset, the target IP 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 Pseudo Stack Pointer (R31) set to the top of
the user space.
At power up or reset, all 8KB of memory at addresses $FFE0C000
through $FFE0DFFF is completely changed by the 187Bug initial
stack.
Booting and Restarting 187Bug
This section covers the following tasks:
❏ Starting up 187Bug
❏ Autoboot
❏ ROMboot
❏ Network boot
❏ Restarting the system
4-5
Debugger General Information
Starting Up 187Bug
1. Verify that the MVME187 is properly installed and operating
as described in Table 3-1 on page 3-2.
2. Power up the system. 187Bug executes some self-checks and
displays the debugger prompt 187-Bug>(if 187Bug is in
Board Mode). However, if the ENV command (Appendix A)
has put 187Bug in System Mode, the system performs a
selftest and tries to autoboot. Refer to the ENV and MENU
commands listed in Table 5-1.
4
If the confidence test fails, the test is aborted when the first
fault is encountered. If possible, an appropriate message is
displayed, and control then returns to the menu.
Autoboot
Autoboot is a software routine that is contained in the 187Bug
EPROMs to provide an independent mechanism for booting an
operating system.
Autoboot Sequence
1. The autoboot routine automatically scans for controllers and
devices in a specified sequence until a valid bootable device
containing a boot media is found or the list is exhausted.
2. 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 B).
3. At powerup, Autoboot is enabled, and if the drive and
controller numbers encountered are valid, the system console
displays the following message:
"Autoboot in progress... To abort hit <BREAK>"
4-6
Booting and Restarting 187Bug
4. Following this message there is a delay to allow you an
opportunity to abort the Autoboot process if you wish. To
gain control without Autoboot, you can press the BREAK key
or the software ABORT or RESET switches.
5. Then the actual I/O begins: the program pointed to within
the volume ID of the media specified is loaded into RAM and
control passed to it.
4
Autoboot 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 in Appendix A for more details.
ROMboot
There are two spare EPROM sockets, XU3 and XU4, available to
carry user-programmed EPROMs. Therefore, you do not have to
reprogram the 187Bug EPROMs in order to implement the
ROMboot feature.
One use of ROMboot might be resetting SYSFAIL* on an
unintelligent controller module. The NORB command disables the
function.
ROMboot Sequence
1. ROMboot is configured/enabled and executed at powerup
(optionally also at reset) in one of two ways:
a. By the Environment (ENV) command (refer to
Appendix A)
b. By the RB command assuming there is valid code in the
EPROMs (or optionally elsewhere on the module or
VMEbus) to support it.
2. If ROMboot code is installed, a user-written routine is given
control (if the routine meets the format requirements).
4-7
Debugger General Information
For a user's ROMboot module to gain control through the
ROMboot linkage, four requirements must be met:
Requirement...
Optionally, with the ENV command...
Power must have just been
applied.
Change this to respond to any reset.
4
Your routine must be located
within the MVME187 ROM
memory map.
Change this to any other portion of the onboard
memory, or even offboard VMEbus memory.
The ASCII string ÒBOOTÓ must be located within the speciÞed memory range.
Your routine must pass a checksum test, which ensures that this routine was really
intended to receive control at powerup.
For complete details on how to use ROMboot, refer to the
Debugging Package for Motorola 88K RISC CPUs User's Manual.
Network Boot
Network Auto Boot is a software routine contained in the 187Bug
EPROMs that provides a mechanism for booting an operating
system using a network (local Ethernet interface) as the boot device.
Network Boot Sequence
1. The Network Auto Boot routine automatically scans for
controllers and devices in a specified sequence until a valid
bootable device containing a boot media is found or the list is
exhausted.
2. 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. (Refer to Appendix C for default
LUNs.)
4-8
Booting and Restarting 187Bug
3. At powerup, Network Boot is enabled, and providing the
drive and controller numbers encountered are valid, the
following message is displayed on the system console:
"Network Boot in progress... To abort hit <BREAK>"
Following this message there is a delay to allow you to abort
the Network Boot process if you wish. To gain control
without Network Boot, you can press the BREAK key or the
software ABORT or RESET switches.
4
4. Then the actual I/O begins: the program pointed to within
the volume ID of the media specified is loaded into RAM and
control passed to it.
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 files, and allow programming
of the Boot delay. Refer to the ENV command in Appendix A.
Restarting the System
You can initialize the system to a known state in three different
ways: reset, abort, and break. Each has characteristics which make
it more appropriate than the others in certain situations.
The debugger has a special feature which can be used in the event
your setup/operation parameters are corrupted or do not meet a
sanity check. This feature:
❏ Is activated by pressing the RESET and ABORT switches at the
same time, and releasing the RESET switch before the ABORT
switch.
❏ Instructs 187Bug to use the default setup/operation
parameters in ROM instead of your setup/operation
parameters in NVRAM.
Refer to the ENV command (Appendix A) for the ROM defaults.
4-9
Debugger General Information
Reset
Pressing and releasing the MVME187 front panel RESET switch
initiates a system reset.
Reset must be used if the processor ever halts, or if the 187Bug
environment is ever lost (vector table is destroyed, stack corrupted,
etc.).
4
❏ COLD and WARM reset modes are available.
❏ By default, 187Bug is in COLD mode.
During COLD reset:
1. A total system initialization takes place, as if the MVME187
had just been powered up.
2. All static variables (including disk device and controller
parameters) are restored to their default states.
3. The breakpoint table and offset registers are cleared.
4. The target registers are invalidated.
5. Input and output character queues are cleared.
6. Onboard devices (timer, serial ports, etc.) are reset, and
7. The first two serial ports are reconfigured to their default
state.
During WARM reset:
1. The 187Bug variables and tables are preserved, as well as the
target state registers and breakpoints.
Abort
Abort is invoked by pressing and releasing the ABORT switch on the
MVME187 front panel.
Abort should be used to regain control if the program gets caught
in a loop, etc.
4-10
Booting and Restarting 187Bug
Whenever abort is invoked while running target code (a user
program), a ÒsnapshotÓ of the processor state is captured and
stored in the target registers. For this reason, abort is most
appropriate when terminating a user program that is being
debugged. The target IP, register contents, etc., help to pinpoint the
malfunction.
4
Abort Sequence
Pressing and releasing the ABORT switch does the following:
1. Generates a local board condition which may interrupt the
processor if enabled.
2. Displays the target registers on the screen, reflecting the
machine state at the time the ABORT switch was pressed.
3. Removes any breakpoints installed in the user code and
keeps the breakpoint table intact.
4. Returns control to the debugger.
Break
A ÒBreakÓ is generated by pressing and releasing the BREAK key on
the console terminal keyboard.
❏ Break does not generate an interrupt.
❏ The only time break is recognized is when characters are sent
or received by the console port.
Many times it may be desirable to terminate a debugger command
prior to its completion; for example, during the display of a large
block of memory. Break allows you to terminate the command.
4-11
Debugger General Information
Break Sequence
1. Removes any breakpoints in your code and keeps the
breakpoint table intact.
2. Takes a snapshot of the machine state if the function was
entered using SYSCALL. This machine state is then accessible
to you for diagnostic purposes.
4
SYSFAIL* Assertion/Negation
Upon a reset/powerup condition the debugger asserts the VMEbus
SYSFAIL* line (refer to the VMEbus specification). SYSFAIL* stays
asserted if any of the following has occurred:
❏ Confidence test failure
❏ NVRAM checksum error
❏ NVRAM low battery condition
❏ Local memory configuration status
❏ Self test (if System Mode) has completed with error
❏ MPU clock speed calculation failure
After debugger initialization is done and none of the above
situations have occurred, the SYSFAIL* line is negated. This
indicates to the user or VMEbus masters the state of the debugger.
In a multi-computer configuration, other VMEbus masters could
view the pertinent control and status registers to determine which
CPU is asserting SYSFAIL*. SYSFAIL* assertion/negation is also
affected by the ENV command. Refer to Appendix A.
MPU Clock Speed Calculation
The clock speed of the microprocessor is calculated and checked
against a user definable parameter contained in NVRAM (refer to
the CNFG command in Appendix A). If the check fails, a warning
message is displayed.
4-12
Disk I/O Support
Disk I/O Support
187Bug can initiate disk input/output by communicating with
intelligent disk controller modules over the VMEbus.
This section covers:
4
❏ Blocks Versus Sectors
❏ Device Probe Function
❏ Disk I/O via 187Bug Commands
❏ Disk I/O via 187Bug System Calls
❏ Default 187Bug Controller and Device Parameters
❏ Disk I/O Error Codes
Disk Support Facilities
Disk support facilities built into 187Bug consist of the following:
❏ Command-level disk operations
❏ Disk I/O system calls (only via one of the TRAP #496
instructions) for use by user programs
❏ Defined data structures for disk parameters
Parameter Tables
Parameters such as the address where the module is mapped and
the type and number of devices attached to the controller module
are kept in tables by 187Bug. Default values for these parameters
are assigned at powerup and cold-start reset, but may be altered as
described in the section on default parameters, later in this chapter.
Supported Controllers
Appendix B contains a list of the controllers presently supported, as
well as a list of the default configurations for each controller.
4-13
Debugger General Information
Blocks Versus Sectors
The logical block defines the unit of information for disk devices. A
disk is viewed by 187Bug as a storage area divided into logical
blocks. By default, the logical block size is set to 256 bytes for every
block device in the system. The block size can be changed on a per
device basis with the IOT command.
4
The sector defines the unit of information for the media itself, as
viewed by the controller. The sector size varies for different
controllers, and the value for a specific device can be displayed and
changed with the IOT command.
When a disk transfer is requested, the start and size of the transfer
is specified in blocks. 187Bug translates this into an equivalent
sector specification, which is then passed on to the controller to
initiate the transfer. If the conversion from blocks to sectors yields
a fractional sector count, an error is returned and no data is
transferred.
Device Probe Function
A device probe with entry into the device descriptor table is done
whenever a specified device is accessed; i.e., when system calls
.DSKRD, .DSKWR, .DSKCFIG, .DSKFMT, and .DSKCTRL, and
debugger commands BH, BO, IOC, IOP, IOT, MAR, and MAW
are used.
The device probe mechanism utilizes the SCSI commands "Inquiry"
and "Mode Sense". If the specified controller is non-SCSI, the probe
simply returns a status of "device present and unknown". The
device probe makes an entry into the device descriptor table with
the pertinent data. After an entry has been made, the next time a
probe is done it simply returns with "device present" status (pointer
to the device descriptor).
4-14
Disk I/O Support
Disk I/O via 187Bug Commands
These following 187Bug commands are provided for disk I/O.
Detailed instructions for their use are found in the Debugging
Package for Motorola 88K RISC CPUs User's Manual. When a
command is issued to a particular controller LUN and device LUN,
these LUNs are remembered by 187Bug so that the next disk
command defaults to use the same controller and device.
4
IOI (Input/Output Inquiry)
This command is used to probe the system for all possible
CLUN/DLUN combinations and display inquiry data for devices
which support it. The device descriptor table only has space for 16
device descriptors; with the IOI command, you can view the table
and clear it if necessary.
IOP (Physical I/O to Disk)
IOP allows you to read or write blocks of data, or to format the
specified device in a certain way. IOP creates a command packet
from the arguments you have specified, and then invokes the
proper system call function to carry out the operation.
IOT (I/O Teach)
IOT allows you to change any configurable parameters and
attributes of the device. In addition, it allows you to see the
controllers available in the system.
IOC (I/O Control)
IOC allows you to send command packets as defined by the
particular controller directly. IOC can also be used to look at the
resultant device packet after using the IOP command.
BO (Bootstrap Operating System)
BO reads an operating system or control program from the
specified device into memory, and then transfers control to it.
4-15
Debugger General Information
BH (Bootstrap and Halt)
BH reads an operating system or control program from a specified
device into memory, and then returns control to 187Bug. It is used
as a debugging tool.
4
Disk I/O via 187Bug System Calls
All operations that actually access the disk are done directly or
indirectly by 187Bug TRAP #496 system calls. (The command-level
disk operations provide a convenient way of using these system
calls without writing and executing a program.)
The following system calls are provided to allow user programs to
do disk I/O:
.DSKRD
.DSKWR
Disk read. System call to read blocks from a disk into
memory.
Disk write. System call to write blocks from memory onto a
disk.
.DSKCFIG Disk conÞgure. This function allows you to change the
conÞguration of the speciÞed device.
.DSKFMT Disk format. This function allows you to send a format
command to the speciÞed device.
.DSKCTRL Disk control. This function is used to implement any
special device control functions that cannot be
accommodated easily with any of the other disk functions.
Refer to the Debugging Package for Motorola 88K RISC CPUs User's
Manual for information on using these and other system calls.
Controller Command Packets
To perform a disk operation, 187Bug must eventually present a
particular disk controller module with a controller command
packet which has been especially prepared for that type of
controller module. (This is accomplished in the respective
controller driver module.)
4-16
Disk I/O Support
A command packet for one type of controller module usually does
not have the same format as a command packet for a different type
of module. The system call facilities which do disk I/O accept a
generalized (controller-independent) packet format as an
argument, and translate it into a controller-specific packet, which is
then sent to the specified device.
4
Refer to the system call descriptions in the Debugging Package for
Motorola 88K RISC CPUs User's Manual for details on the format and
construction of these standardized "user" packets.
The packets which a controller module expects to be given vary
from controller to controller. The disk driver module for the
particular hardware module (board) must take the standardized
packet given to a trap function and create a new packet which is
specifically tailored for the disk drive controller it is sent to. Refer
to documentation on the particular controller module for the
format of its packets, and for using the IOC command.
Default 187Bug Controller and Device Parameters
187Bug initializes the parameter tables for a default configuration
of controllers and devices (refer to Appendix B). If the system needs
to be configured differently than this default configuration (for
example, to use a 70MB Winchester drive where the default is a
40MB Winchester drive), then these tables must be changed.
4-17
Debugger General Information
There are three ways to change the parameter tables:
When you invoke one of Change
these commands... status is...
Using...
If a cold-start reset occurs...
Command
BO or BH
The conÞguration area of Temporary
the disk is read and the
parameters
The default parameter
information is written back
into the tables.
4
corresponding to that
device are rewritten
according to the
parameter information
contained in the
conÞguration area.
Command
IOT
You can use this
Temporary
The default parameter
information is written back
into the tables.
command to reconÞgure
the parameter table
manually for any
controller and/or device
that is different from the
default.
The
source
code
In the source code, you
may change the
permanent conÞguration
Þles and rebuild 187Bug
so that it has different
defaults.
Permanent until changed again.
Disk I/O Error Codes
187Bug returns an error code if an attempted disk operation is
unsuccessful.
4-18
Network I/O Support
Network I/O Support
The Network Boot Firmware provides the capability to boot the
CPU through the ROM debugger using a network (local Ethernet
interface) as the boot device.
The booting process is executed in two distinct phases.
4
❏ The first phase allows the diskless remote node to discover its
network identify and the name of the file to be booted.
❏ The second phase has the diskless remote node reading the
boot file across the network into its memory.
The various modules and the dependencies of these modules that
support the overall network boot function are described in the
following paragraphs.
Intel 82596 LAN Coprocessor Ethernet Driver
This driver manages/surrounds the Intel 82596 LAN Coprocessor.
Management is in the scope of the reception of packets, the
transmission of packets, receive buffer flushing, and interface
initialization.
This module ensures that the packaging and unpackaging of
Ethernet packets is done correctly in the Boot PROM.
UDP/IP Protocol Modules
The Internet Protocol (IP) is designed for use in interconnected
systems of packet-switched computer communication networks.
The Internet Protocol provides for transmitting of blocks of data
called datagrams (hence User Datagram Protocol, or UDP) from
sources to destinations, where sources and destinations are hosts
identified by fixed length addresses.
The UDP/IP protocols are necessary for the TFTP and BOOTP
protocols; TFTP and BOOTP require a UDP/IP connection.
4-19
Debugger General Information
RARP/ARP Protocol Modules
The Reverse Address Resolution Protocol (RARP) basically consists
of an identity-less node broadcasting a "whoami" packet onto the
Ethernet, and waiting for an answer. The RARP server fills an
Ethernet reply packet up with the target's Internet Address and
sends it.
4
The Address Resolution Protocol (ARP) basically provides a
method of converting protocol addresses (e.g., IP addresses) to
local area network addresses (e.g., Ethernet addresses). The RARP
protocol module supports systems which do not support the
BOOTP protocol.
BOOTP Protocol Module
The Bootstrap Protocol (BOOTP) basically allows a diskless client
machine to discover its own IP address, the address of a server host,
and the name of a file to be loaded into memory and executed.
TFTP Protocol Module
The Trivial File Transfer Protocol (TFTP) is a simple protocol to
transfer files. It is implemented on top of the Internet User
Datagram Protocol (UDP or Datagram) so it may be used to move
files between machines on different networks implementing UDP.
The only thing it can do is read and write files from/to a remote
server.
Network Boot Control Module
The "control" capability of the Network Boot Control Module is
needed to tie together all the necessary modules and to sequence
the booting process. The booting sequence consists of two phases:
the first phase is labeled "address determination and bootfile
selection" and the second phase is labeled "file transfer". The first
phase will utilize the RARP/BOOTP capability and the second
phase will utilize the TFTP capability.
4-20
Multiprocessor Support
Network I/O Error Codes
187Bug returns an error code if an attempted network operation is
unsuccessful.
4
Multiprocessor Support
The MVME187 dual-port RAM feature makes the shared RAM
available to remote processors as well as to the local processor. This
can be done by either of the following two methods:
❏ The Multiprocessor Control Register (MPCR) Method
❏ The Global Control and Status Register (GCSR) Method
Either method can be enabled/disabled by the ENV command as
its Remote Start Switch Method (refer to Appendix A).
Multiprocessor Control Register (MPCR) Method
A remote processor can initiate program execution in the local
MVME187 dual-port RAM by issuing a remote GO command
using the Multiprocessor Control Register (MPCR).
The MPCR, located at shared RAM location of $3000 offset from the
base address the debugger loads it at, contains one of two words
used to control communication between processors. The MPCR
contents are organized as follows:
Base Address + $3000
*
N/A N/A N/A (MPCR)
4-21
Debugger General Information
MPCR Status Codes
The status codes stored in the MPCR are of two types:
❏ Status returned (from 187Bug)
❏ Command set by the bus master (job requested by some
processor)
4
The status codes that may be returned from 187Bug are:
HEX
0
R
E
(HEX 00) -- Wait. Initialization not yet complete.
ASCII
ASCII
(HEX 52) -- Ready. The Þrmware monitor is watching for a change.
(HEX 45) -- Code pointed to by the MPAR is executing.
The command code that may be set by the bus master is:
ASCII
ASCII
G
(HEX 47) -- Use Go Direct (GD) logic specifying the MPAR address.
B
(HEX 42) -- Recognize breakpoints using the Go (G) logic.
Multiprocessor Address Register (MPAR)
The Multiprocessor Address Register (MPAR), located in shared
RAM location of $3004 offset from the base address the debugger
loads it at, contains the second of two words used to control
communication between processors. The MPAR contents specify
the physical address (as viewed from the local processor) at which
execution for this processor is to begin if the MPCR contains a G or
B. The MPAR is organized as follows:
Base Address + $3004
*
*
*
*
(MPAR)
MPCR Powerup Sequence
1. At powerup, the debug monitor self-test routines initialize
RAM, including the memory locations used for multi-
processor support ($3000 through $3007).
2. The MPCR contains $00 at powerup, indicating that
initialization is not yet complete.
4-22
Multiprocessor Support
3. As the initialization proceeds, the execution path comes to the
"prompt" routine.
Before sending the prompt, this routine places an R in the
MPCR to indicate that initialization is complete. Then the
prompt is sent.
Ð If no terminal is connected to the port, the MPCR is still
polled to see whether an external processor requires
control to be passed to the dual-port RAM.
4
Ð If a terminal does respond, the MPCR is polled for the
same purpose while the serial port is being polled for user
input.
Ð An ASCII G placed in the MPCR by a remote processor
indicates that the Go Direct type of transfer is requested.
Ð An ASCII B in the MPCR indicates that breakpoints are to
be armed before control is transferred (as with the GO
command).
In either sequence, an E is placed in the MPCR to indicate
that execution is underway just before control is passed to
RAM. (Any remote processor could examine the MPCR
contents.)
4. If the code being executed in dual-port RAM is to reenter the
debug monitor, a TRAP #496 call using function $0063
(SYSCALL .RETURN) returns control to the monitor with a
new display prompt.
Note that every time the debug monitor returns to the
prompt, an R is moved into the MPCR to indicate that control
can be transferred once again to a specified RAM location.
4-23
Debugger General Information
Global Control and Status Register (GCSR) Method
A remote processor can initiate program execution in the local
MVME187 dual-port RAM by issuing a remote GO command
using the VMEchip2 Global Control and Status Registers (GCSR).
1. The remote processor places the MVME187 execution
address in general purpose registers 0 and 1 (GPCSR0 and
GPCSR1).
4
2. The remote processor then sets bit 8 (SIG0) of the VMEchip2
LM/SIG register.
3. This causes the MVME187 to install breakpoints and begin
execution. The result is identical to the MPCR method (with
status code B) described in the previous section.
The GCSR registers are accessed in the VMEbus short I/O space.
Each general purpose register is two bytes wide, occurring at an
even address.
The general purpose register number 0 is at an offset of $8 (local
bus) or $4 (VMEbus) from the start of the GCSR registers. The local
bus base address for the GCSR is $FFF40100. The VMEbus base
address for the GCSR depends on the group select value and the
board select value programmed in the Local Control and Status
Registers (LCSR) of the MVME187. The execution address is
formed by reading the GCSR general purpose registers in the
following manner:
GPCSR0
GPCSR1
used as the upper 16 bits of the address
used as the lower 16 bits of the address
The address appears as:
GPCSR0 GPCSR1
4-24
Diagnostic Facilities
Diagnostic Facilities
Included in the 187Bug package is a complete set of hardware
diagnostics intended for testing and troubleshooting of the
MVME187. These diagnostics are completely described in the
MVME187Bug Debugging Package User's Manual.
4
❏ In order to use the diagnostics, you must switch directories to
the diagnostic directory.
❏ If you are in the debugger directory, you can switch to the
diagnostic directory by entering the debugger command
Switch Directories (SD). The diagnostic prompt
187-Diag>
should appear.
Table 4-1. Diagnostic Monitor Commands/Prefixes
Command/
Description
PreÞx
AEM
CEM
CF
Append Error Messages Mode
Clear Error Messages
Test Group ConÞguration Parameters Editor
Display Errors
DE
DEM
DP
Display Error Messages
Display Pass Count
HE
Help
HEX
LA
Help Extended
Loop Always Mode
LC
Loop Continuous Mode
Loop on Error Mode
LE
LF
Line Feed Suppression Mode
Loop Non-Verbose Mode
Display/Revise Self Test Mask
LN
MASK
4-25
Debugger General Information
Table 4-1. Diagnostic Monitor Commands/Prefixes
Command/
PreÞx
Description
Non-Verbose Mode
NV
SD
SE
ST
ZE
ZP
Switch Directories
Stop on Error Mode
Selftest
4
Clear (Zero) Error Counters
Zero Pass Count
Table 4-2. Diagnostic Utilities
Command
Description
Write loop enable
WL
RL
Read loop enable
4-26
Diagnostic Facilities
187Bug Diagnostic Test Groups
Refer to the MVME187Bug Debugging Package 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. Refer to the documentation on a particular diagnostic for the
correct mode.
4
Table 4-3. Diagnostic Test Groups
Test Set
RAM
Description
Local RAM Tests
Static RAM Tests
SRAM
RTC
MK48T0x Real-Time Clock Tests
Peripheral Channel Controller Tests
Memory Board Tests
PCC2
MCECC
MEMC1
MEMC2
ST2401
CMMU
VME2
LAN
MC040 Memory Controller 1 ASIC Tests
MC040 Memory Controller 2 ASIC Tests
CD2401 Serial Port Tests
Memory Management Unit Tests
VME Interface ASIC VMEchip2 Tests
LAN Coprocessor (Intel 82596) Tests
NCR 53C710 SCSI I/O Processor Tests
NCR
4-27
Debugger General Information
4
4-28
5 Using the 187Bug
Debugger
5
This Chapter Covers
❏ Entering debugger command lines
❏ Entering and debugging programs
❏ Calling system utilities from user programs
❏ Preserving the debugger operating environment
❏ Floating point support
❏ The 187Bug debugger command set
Entering Debugger Command Lines
187Bug is command-driven and performs its various operations in
response to user commands entered at the keyboard. When the
debugger prompt
187-Bug>
appears on the terminal screen, then the debugger is ready to accept
commands.
Terminal Input/Output Control
As the command line is entered, it is stored in an internal buffer.
Execution begins only after the carriage return is entered, so that
you can correct entry errors, if necessary, using the control
characters described below.
5-1
Using the 187Bug Debugger
Note The presence of the upward caret ( ^ ) before a
character indicates that the Control (CTRL) key must
be held down while striking the character key.
^X
(cancel line) The cursor is backspaced to the beginning of the line.
(backspace) The cursor is moved back one position.
^H
Delete (delete)
key
Performs the same function as ^H.
5
^D
(redisplay)
The entire command line as entered so far is
redisplayed on the following line.
^A
(repeat)
Repeats the previous line. This happens only at the
command line. The last line entered is redisplayed
but not executed. The cursor is positioned at the end
of the line. You may enter the line as is or you can add
more characters to it. You can edit the line by
backspacing and typing over old characters.
When observing output from any 167Bug command, the XON and
XOFF characters which are in effect for the terminal port may be
entered to control the output, if the XON/XOFF protocol is enabled
(default). These characters are initialized to ^S and ^Q respectively
by 167Bug, but you may change them with the PF command. In the
initialized (default) mode, operation is as follows:
^S
(wait)
Console output is halted.
^Q
(resume) Console output is resumed.
When a command is entered, the debugger executes the command
and the prompt reappears. However, if the command entered
causes execution of user target code, for example GO, then control
may or may not return to the debugger, depending on what the
user program does.
For example, if a breakpoint has been specified, then control returns
to the debugger when the breakpoint is encountered during
execution of the user program. Alternately, the user program could
return to the debugger by means of the TRAP #496 function
5-2
Entering Debugger Command Lines
Ò.RETURNÓ.
Debugger Command Syntax
In general, a debugger command is made up of the following parts:
❏ The command identifier (i.e., MD or md for the Memory
Display command). Note that either upper- or lowercase is
allowed.
5
❏ A port number if the command is set up to work with more
than one port.
❏ At least one intervening space before the first argument.
❏ Any required arguments, as specified by the command.
❏ An option field, set off by a semicolon (;) to specify conditions
other than the default conditions of the command.
The commands are shown using a modified Backus-Naur form
syntax. The metasymbols used are:
boldface strings A boldface string is a literal such as a command or a
program name, and is to be typed just as it appears.
italic strings
An italic string is a Òsyntactic variableÓ and is to be
replaced by one of a class of items it represents.
|
A vertical bar separating two or more items
indicates that a choice is to be made; only one of the
items separated by this symbol should be selected.
[ ]
{ }
Square brackets enclose an item that is optional. The
item may appear zero or one time.
Braces enclose an optional symbol that may occur
zero or more times.
5-3
Using the 187Bug Debugger
Syntactic Variables
The syntactic variables shown below are encountered in the
command descriptions on the following pages. In addition, other
syntactic variables may be used and are defined in the particular
command description in which they occur.
del
Delimiter; either a comma or a space.
exp
Expression (described in detail in a following section).
Address (described in detail in a following section).
Count; the syntax is the same as for exp.
5
addr
count
range
A range of memory addresses which may be speciÞed
either by addr del addr or by addr: count.
text
An ASCII string of up to 255 characters, delimited at
each end by the single quote mark (').
Expression as a Parameter
An expression can be one or more numeric values separated by the
arithmetic operators: plus (+), minus (-), multiplied by (*), divided
by (/), logical AND (&), shift left (<<), or shift right (>>).
Numeric values may be expressed in either hexadecimal, decimal,
octal, or binary by immediately preceding them with the proper
base identifier.
Base
Hexadecimal
Decimal
Octal
IdentiÞer
Examples
$FFFFFFFF
$
&
@
%
&1974, &10-&4
@456
Binary
%1000110
If no base identifier is specified, then the numeric value is assumed
to be hexadecimal.
5-4
Entering Debugger Command Lines
A numeric value may also be expressed as a string literal of up to
four characters. The string literal must begin and end with the
single quote mark ('). The numeric value is interpreted as the
concatenation of the ASCII values of the characters. This value is
right-justified, as any other numeric value would be.
String
Numeric Value
Literal (In Hexadecimal)
'A'
41
5
'ABC'
414243
54455354
'TEST'
Evaluation of an expression is always from left to right unless
parentheses are used to group part of the expression. There is no
operator precedence. Subexpressions within parentheses are
evaluated first. Nested parenthetical subexpressions are evaluated
from the inside out.
Valid expression examples:
Expression
FF0011
Result (In Hex)
Notes
FF0011
DE
45+99
&45+&99
@35+@67+@10
%10011110+%1001
88<<4
90
5C
A7
880
A0
shift left
AA&F0
logical AND
The total value of the expression must be between 0 and
$FFFFFFFF.
Address as a Parameter
Many commands use addr as a parameter. The syntax accepted by
187Bug is similar to the one accepted by the M88000 one-line
assembler. All control addressing modes are allowed. An Òaddress
+ offset registerÓ mode is also provided.
5-5
Using the 187Bug Debugger
Address Formats
Addresses are entered as a hexadecimal number, e.g., 20000 would
correspond to address $00020000. The address, or starting address
of a range, can be qualified by a suffix of the form ^S, ^s, ^U, or ^u
where S or s defines Supervisor address space, and U or u defines
user address space. The default, when the qualifier is not specified,
is Supervisor.
Once a qualifier has been entered, it remains valid for all addresses
entered for that command sequence, until the 187Bug is reentered
or another qualifier is provided.
5
An alternate form of Address is Rnn, which tells the bug to use the
address contained in CPU Register Rnn, where nn=00 thru 31 (i.e.,
00, 01,..., or 31).
Hence addr:= Hex Number{[^S]|[^s]|[^U]|[^u]} | Rnn
Note In commands with range specified as addr del addr, and
with size option H or W chosen, data at the second
(ending) address is acted on only if the second address
is a proper boundary for a half-word or word,
respectively. Otherwise, the range is truncated so that
the last byte acted upon is at an address that is a proper
boundary.
5-6
Entering Debugger Command Lines
Offset Registers
Eight pseudo-registers (Z0 through Z7) called offset registers are
used to simplify the debugging of relocatable and position-
independent modules. The listing files in these types of programs
usually start at an address (normally 0) that is not the one at which
they are loaded, so it is harder to correlate addresses in the listing
with addresses in the loaded program. The offset registers solve
this problem by taking into account this difference and forcing the
display of addresses in a relative address+offset format. Offset
registers have adjustable ranges and may even have overlapping
ranges. The range for each offset register is set by two addresses:
base and top. Specifying the base and top addresses for an offset
register sets its range. In the event that an address falls in two or
more offset registers' ranges, the one that yields the least offset is
chosen.
5
Note Relative addresses are limited to 1MB (5 digits),
regardless of the range of the closest offset register.
Port Numbers
Some 187Bug commands give the user the option to choose the port
to be used to input or output. Valid port numbers which may be
used for these commands are:
1. MVME187 EIA-232-D Debug (Terminal Port 0 or 00) (PORT 1
on the MVME187 P2 connector). Sometimes known as the
Òconsole portÓ, it is used for interactive user input/output by
default.
2. MVME187 EIA-232-D (Terminal Port 1 or 01) (PORT 2 on the
MVME187 P2 connector). Sometimes known as the Òhost
portÓ, this is the default for downloading, uploading,
concurrent mode, and transparent modes.
5-7
Using the 187Bug Debugger
Note These logical port numbers (0 and 1) are shown in the
pinouts of the MVME187 as ÒSERIAL PORT 1" and
ÒSERIAL PORT 2", respectively. Physically, they are all
part of connector P2.
Entering and Debugging Programs
There are various ways to enter a user program into system
memory for execution:
5
❏ Create the program with the assembler/disassembler
❏ Download an S-record object file
❏ Read the program from disk
Creating a Program with the Assembler/Disassembler
You can create a program using the Memory Modify (MM)
command with the assembler/disassembler option.
1. Enter the program one source line at a time.
2. After each source line is entered, it is assembled and the
object code is loaded to memory.
Refer to the Debugging Package for Motorola 88K RISC CPUs User's
Manual for complete details of the 187Bug
Assembler/Disassembler.
Downloading an S-Record Object File
Another way to enter a program is to download an object file from
a host system.
The program must be in S-record format (described in the
Debugging Package for Motorola 88K RISC CPUs User's Manual) and
may have been assembled or compiled on the host system.
5-8
Calling System Utilities from User Programs
the 187Bug MM command as outlined above and stored to the host
using the Dump (DU) command.
A communication link must exist between the host system and the
MVME187 port 1. (Hardware configuration details are provided in
Connecting Peripherals on page 3-20.) The file is downloaded from
the host to MVME187 memory by the Load (LO) command.
5
Read the Program from Disk
Another way to enter a program is by reading the program from
disk, using one of the disk commands (BO, BH, IOP). Once the
object code has been loaded into memory, you can set breakpoints
if desired and run the code or trace through it.
Calling System Utilities from User Programs
A convenient way of doing character input/output and many other
useful operations has been provided so that you do not have to
write these routines into the target code. You can access various
187Bug routines via one of the MC88100 TRAP instructions, using
vector #496. Refer to the Debugging Package for Motorola 88K RISC
CPUs User's Manual for details on the various TRAP #496 utilities
available and how to invoke them from within a user program.
5-9
Using the 187Bug Debugger
Preserving the Debugger Operating
Environment
This section explains how to avoid contaminating the operating
environment of the debugger. Topics covered include:
❏ 187Bug Vector Table and workspace
❏ Hardware functions
5
❏ Exception vectors used by 187Bug
❏ CPU/MPU registers
187Bug uses certain of the MVME187 onboard resources and may
also use offboard system memory to contain temporary variables,
exception vectors, etc. If you disturb resources upon which 187Bug
depends, then the debugger may function unreliably or not at all.
If your application enables translation through the Memory
Management Units (MMUs), and utilizes resources of the debugger
(e.g., system calls), your application must create the necessary
translation tables for the debugger to have access to its various
resources. The debugger honors the enabling of the MMUs; it does
not disable translation.
187Bug Vector Table and Workspace
The debugger and diagnostic firmware resides in the EPROMs. The
first 64KB of RAM are also used by the debugger for storage of the
Vector Table, executable code, variables, and stack.
5-10
Floating Point Support
Hardware Functions
The only hardware resources used by the debugger are the EIA-
232-D ports, which are initialized to interface to the debug terminal
and a host. If these ports are reprogrammed, the terminal
characteristics must be modified to suit, or the ports should be
restored to the debugger-set characteristics prior to reinvoking the
debugger.
5
Note Although the 187Bug does not explicitly manage the
MC88200 or MC88204 CMMUs, hardware prevents
caching of I/O space on the MVME187, i.e.,
$FFFXXXXX. Furthermore, the code cache must not be
operative for code pages which are being traced or
breakpointed.
Exception Vectors Used by 187Bug
The top 16 MC88100 exception vectors (i.e., #496 to 511 inclusive)
are reserved for use by the debugger.
CPU/MPU Registers
MPU register CR20 is reserved for usage by the debugger. If CR20
is to be used by the user program, it must be restored prior to
utilizing debugger resources (system calls).
Floating Point Support
The floating point Special Function Unit (SFU) of the MC88100
microprocessor chip is supported in 187Bug. For MVME187BUG,
the commands MD, MM, RM, and RS have been extended to allow
display and modification of floating point data in registers and in
memory. Floating point instructions can be assembled and
disassembled with the DI option of the MD and MM commands.
5-11
Using the 187Bug Debugger
Valid data types that can be used when modifying a floating point
data register or a floating point memory location:
Integer Data Types
12
Byte
1234
Half-Word
Word
12345678
5
Floating Point Data Types
1_FF_7FFFFF
Single Precision Real Format
1_7FF_FFFFFFFFFFFFF
Double Precision Real Format
ScientiÞc Notation Format (decimal)
-3.12345678901234501_E+123
When entering data in single or double precision format, the
following rules must be observed:
1. The sign field is the first field and is a binary field.
2. The exponent field is the second field and is a hexadecimal
field.
3. The mantissa field is the last field and is a hexadecimal field.
4. The sign field, the exponent field, and at least the first digit of
the mantissa field must be present (any unspecified digits in
the mantissa field are set to zero).
5. Each field must be separated from adjacent fields by an
underscore.
6. All the digit positions in the sign and exponent fields must be
present.
5-12
Floating Point Support
Single Precision Real
This format would appear in memory as:
1-bit sign Þeld
8-bit biased exponent Þeld (2 hex digits. Bias = $7F)
23-bit fraction Þeld (6 hex digits)
(1 binary digit)
A single precision number takes 4 bytes in memory.
5
Double Precision Real
This format would appear in memory as:
1-bit sign Þeld
11-bit biased exponent Þeld (3 hex digits. Bias = $3FF)
52-bit fraction Þeld (13 hex digits)
(1 binary digit)
A double precision number takes 8 bytes in memory.
Note The single and double precision formats have an
implied integer bit (always 1).
5-13
Using the 187Bug Debugger
Scientific Notation
This format provides a convenient way to enter and display a
floating point decimal number. Internally, the number is assembled
into a packed decimal number and then converted into a number of
the specified data type.
Entering data in this format requires the following fields:
5
An optional sign bit (+ or -).
One decimal digit followed by a decimal point.
Up to 17 decimal digits (at least one must be entered).
An optional Exponent Þeld that consists of:
An optional underscore.
The Exponent Þeld identiÞer, letter ÒEÓ.
An optional Exponent sign (+, -).
From 1 to 3 decimal digits.
For more information about the floating point SFU, refer to the
MC88100 RISC Microprocessor User's Manual.
5-14
The 187Bug Debugger Command Set
The 187Bug Debugger Command Set
The 187Bug debugger commands are summarized in Table 5-1. The
command syntax is shown using the symbols explained earlier in
this chapter. The CNFG and ENV commands are explained in
Appendix A. Controllers, devices, and their LUNs are listed in
Appendix B or Appendix C. All other command details are
explained in the MVME187Bug Debugging Package User's Manual.
5
Table 5-1. Debugger Commands
Command
Mnemonic
Title
Command Line Syntax
AB
Automatic Bootstrap
Operating System
AB [;V]
NOAB
AS
No Auto Boot
NOAB
One Line Assembler
AS addr
BC
Block of Memory Compare BC range del addr [; B|H|W]
BF
Block of Memory Fill
BF range del data [del increment]
[; B|H|W]
BH
Bootstrap Operating
System and Halt
BH [del controller LUN] [del device LUN] [del
string]
BI
Block of Memory Initialize BI range [; B|H|W]
BM
BO
Block of Memory Move
BM range del addr [; B|H|W]
Bootstrap Operating
System
BO [del controller LUN]
[del device LUN] [del string]
BR
Breakpoint Insert
BR [addr [: count]]
NOBR
BS
Breakpoint Delete
NOBR [addr]
Block of Memory Search
BS range del text [; B|H|W]
or BS range del data [del mask]
[; B|H|W [,N][,V]]
BV
CB
CD
Block of Memory Verify
Cache Bit Test
BV range del data [del increment] [; B|H|W]
CB {CMMU-ID}
Cache Display
CD CMMU-ID [del set-start [: count | del set-
end]]
CM
Concurrent Mode
CM [[port] [del ID-string] [del baud] [del phone-
number]] [;[A|H]]
NOCM
No Concurrent Mode
NOCM
5-15
Using the 187Bug Debugger
Table 5-1. Debugger Commands (Continued)
Command
Mnemonic
Title
Command Line Syntax
CNFG [; [I] [M]]
CNFG
ConÞgure Board
Information Block
CS
Checksum
CS range [; B|H|W]
DC
Data Conversion
DC exp | addr [; [B] [O] [A]]
DMA
DMA Block of Memory
Move
DMA range del addr del vdir del am del blk [;
B|H|W]
5
DS
One Line Disassembler
Dump S-records
DS addr [:count | del addr]
DU
DU [port] del range [del text]
[del addr] [del offset ] [; B|H|W]
ECHO
ENV
Echo String
ECHO [port] del {hexadecimal number} {'string'}
Set Environment to
ENV [; [D]]
Bug/Operating System
GD
Go Direct (Ignore
Breakpoints)
GD [addr]
GN
GO
GT
Go to Next Instruction
GN
Go Execute User Program GO [addr]
Go to Temporary
Breakpoint
GT addr
HE
Help
HE [command]
IOC
IOC
IOI
I/O Control for Disk
I/O Inquiry
IOI [; [C|L]]
IOP
I/O Physical (Direct Disk IOP
Access)
IOT
I/O ÒTEACHÓ for
ConÞguring
IOT [; [A|F|H|T]]
Disk Controller
IRQM
LO
Interrupt Request Mask
IRQM [mask]
Load S-records from Host LO [port] [addr] [; [X][C][T]] [=text]
MA
Macro DeÞne/Display
Macro Delete
MA [name|; L]
NOMA
MAE
MAL
NOMA [name]
Macro Edit
MAE name del line# [del string]
MAL
Enable Macro Expansion
Listing
5-16
The 187Bug Debugger Command Set
Table 5-1. Debugger Commands (Continued)
Command
Mnemonic
Title
Command Line Syntax
NOMAL
MAW
MAR
Disable Macro Expansion NOMAL
Listing
Save Macros
MAW [controller LUN]
[del [device LUN] [del block #]]
Load Macros
Memory Display
MAR [controller LUN] [del [device LUN]
[del block #]]
5
MD
MD[S] addr [:count |del addr]
[; [B|H|W|S|D|DI]]
MENU
MM
Menu
MENU
Memory Modify
Memory Map Diagnostic
Memory Set
MM addr [; [[B|H|W|S|D][A][N]]|[DI]]
MMD range del increment [; B|H|W]
MS addr {Hexadecimal number} {'string'}
MW addr data [; B|H|W]
MMD
MS
MW
Memory Write
NAB
Automatic Network Boot NAB
Operating System
NBH
NBO
Network Boot Operating
System and Halt
NBH [controller LUN] [device LUN]
[client IP Address] [server IP Address] [string]
Network Boot Operating
System
NBO [controller LUN] [device LUN]
[client IP Address] [server IP Address][string]
NIOC
NIOP
NIOT
NPING
Network I/O Control
Network I/O Physical
Network I/O Teach
Network Ping
NIOC
NIOP
NIOT [; [H]|[A]]
NPING controller-LUN del device-LUN del
source-IP del destination-IP [del n-packets]
OF
Offset Registers
Display/Modify
OF [Zn [; A]]
PA
Printer Attach
Printer Detach
Port Format
Port Detach
PA [port]
NOPA
PF
NOPA [port]
PF [port]
NOPF
PS
NOPF [port]
Put RTC Into Power Save PS
Mode for Storage
RB
ROMboot Enable
ROMboot Disable
RB [; V]
NORB
NORB
5-17
Using the 187Bug Debugger
Table 5-1. Debugger Commands (Continued)
Command
Mnemonic
Title
Command Line Syntax
RD
Register Display
RD {[+|-|=] [dname] [/]} {[+|-|=]
[reg1 [-reg2]] [/]} [; E]
REMOTE
Connect the Remote
Modem to CSO
REMOTE
RESET
RL
Cold/Warm Reset
Read Loop
RESET
RL addr [; [B|H|W]]
RM [reg] [; [S|D]]
RS reg [del exp | del addr] [; [S|D]]
SD
5
RM
Register Modify
Register Set
RS
SD
Switch Directories
Set Time and Date
Symbol Table Attach
Symbol Table Detach
SET
SET mmddyyhhmm | n; C
SYM [addr]
SYM
NOSYM
SYMS
NOSYM
Symbol Table
SYMS [symbol-name]|[; S]
Display/Search
T
Trace
T [count]
TA [port]
TC [count]
TA
TC
Terminal Attach
Trace on Change of
Control Flow
TIME
TM
Display Time and Date
Transparent Mode
TIME [; [C|L|O]]
TM [port] [del ESCAPE]
TT addr
TT
Trace to Temporary
Breakpoint
VE
Verify S-Records Against
Memory
VE [port] [del addr] [; [X] [C]] [=text]
VER
WL
Revision/Version Display VER [; E]
Write Loop WL addr del data [; B|H|W]
5-18
AConfigure and Environment
Commands
A
This Appendix Covers
❏ Configuring the board information block
❏ Setting the environment to Bug/Operating System
❏ Environment command parameters
Configuring the Board Information Block
CNFG [;[I][M]]
This command is used to display and configure the board
information block. This block is resident within the Non-Volatile
RAM (NVRAM). Refer to the MVME187 RISC Single Board
Computer User's Manual for the actual location.
The information block contains various elements detailing specific
operation parameters of the hardware. The MVME187 RISC Single
Board Computer User's Manual describes the elements within the
board information block, and lists the size and logical offset of each
element. The CNFG command does not describe the elements and
their use. The board information block contents are checksummed
for validation purposes. This checksum is the last element of the
block.
A-1
Configure and Environment Commands
A
Example: Display the current contents of the board information
block.
187-Bug>cnfg
Board (PWA) Serial Number = "000000061050"
Board Identifier
= "MVME187-03
"
"
Artwork (PWA) Identifier = "01-W3827B03A
MPU Clock Speed
= "2500"
Ethernet Address
Local SCSI Identifier
= 08003E20A867
= "07"
Optional Board 1 Artwork (PWA) Identifier = "
Optional Board 1 (PWA) Serial Number = "
Optional Board 2 Artwork (PWA) Identifier = "
"
"
"
"
Optional Board 2 (PWA) Serial Number
187-Bug>
= "
Note that the parameters that are quoted are left-justified character
(ASCII) strings 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 zeroes if the length is not
met.
In the event of corruption of the board information block, the
command displays a question mark "?" for nondisplayable
characters. A warning message (WARNING: Board Information Block
Checksum Error) is also displayed in the event of a checksum failure.
Using the I option initializes the unused area of the board
information block to zero.
Modification is permitted by using the M option of the command.
At the end of the modification session, you are prompted for the
update to Non-Volatile RAM (NVRAM). A Y response must be
made for the update to occur; any other response terminates the
update (disregards all changes). The update also recalculates the
checksum.
Be cautious when modifying parameters. These parameters are
initialized by the factory, and correct board operation relies upon
these parameters.
A-2
Setting Environment to Bug/Operating System
A
Once modification and update are complete, you can now display
the current contents as described earlier.
Setting Environment to Bug/Operating System
ENV [;[D]]
The ENV command allows you to interactively view and configure
all Bug operational parameters that are kept in Battery Backed Up
RAM (BBRAM), also known as Non-Volatile RAM (NVRAM). The
operational parameters are saved in NVRAM and used whenever
power is lost.
Any time the Bug uses a parameter from NVRAM, the NVRAM
contents are first tested by checksum to insure the integrity of the
NVRAM contents. In the instance of BBRAM checksum failure,
certain default values are assumed as stated below.
The bug operational parameters (which are kept in NVRAM) are
not initialized automatically on power-up/warm reset. It is up to
the Bug user to invoke the ENV command. Once the ENV command
is invoked and executed without error, Bug default and/or user
modified parameters are loaded into NVRAM along with
checksum data. The operational parameters that have been
modified will not be in effect until a reset/power-up condition.
If the ENV command is invoked with no options on the command
line, you are prompted to configure all operational parameters. If
the ENV command is invoked with the option D, ROM defaults will
be loaded into NVRAM.
A-3
Configure and Environment Commands
A
The parameters to be configured are listed in the following table:
Table A-1. ENV Command Parameters
ENV Parameter and Options
Default
Meaning of Default
Bug or System environment [B/S]
Field Service Menu Enable [Y/N]
S
Y
B
System Mode
Display Þeld service menu.
Remote Start Method Switch
[G/M/B/N]
Use both the Global Control and
Status Register (GCSR) in the
VMEchip2, and the Multiprocessor
Control Register (MPCR) in shared
RAM, methods to pass and start
execution of cross-loaded program.
Probe System for Supported I/O
Controllers [Y/N]
Y
Accesses will be made to VMEbus to
determine presence of supported
controllers.
Negate VMEbus SYSFAIL*
Always [Y/N]
N
Negate VMEbus SYSFAIL after
successful completion or entrance into
the bug command monitor.
Local SCSI Bus Reset on Debugger
Startup [Y/N]
N
A
Y
Local SCSI bus is not reset on
debugger startup.
Local SCSI Bus Negotiations Type
[A/S/N]
Asynchronous.
Ignore CFGA Block on a Hard
Disk Boot [Y/N]
Enable the ignorance of the
ConÞguration Area (CFGA) Block on
a hard disk.
Auto Boot Enable [Y/N]
N
Y
Auto Boot function is disabled.
Auto Boot at power-up only
[Y/N]
Auto Boot is attempted at power-up
reset only.
Auto Boot Controller LUN
00
00
LUN of a disk/tape controller module
currently supported by the Bug.
Default is 00.
Auto Boot Device LUN
LUN of a disk/tape device currently
supported by the Bug. Default is 00.
A-4
Setting Environment to Bug/Operating System
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Auto Boot Abort Delay
15
This is the time in seconds that the
Auto Boot sequence will delay before
starting the boot. The purpose for the
delay is to allow you the option of
stopping the boot by use of the Break
key. The time value is from 0 through
255 seconds.
Auto Boot Default String [NULL
for an empty string]
Null
You may specify a string (Þlename)
which is passed on to the code being
booted. Maximum length is 16
characters. Default is the null string.
ROM Boot Enable [Y/N]
N
Y
ROMboot function is disabled.
ROM Boot at power-up only
[Y/N]
ROMboot is attempted at powerup
only.
ROM Boot Enable search of
VMEbus [Y/N]
N
0
VMEbus address space will not be
accessed by ROMboot.
ROM Boot Abort Delay
This is the time in seconds that the
ROMboot sequence will delay before
starting the boot. The purpose for the
delay is to allow you the option of
stopping the boot by use of the Break
key. The time value is from 0 through
255 seconds.
ROM Boot Direct Starting
Address
FF800000 First location tested when the Bug
searches for a ROMboot Module.
ROM Boot Direct Ending Address FFBFFFFC Last location tested when the Bug
searches for a ROMboot Module.
Network Auto Boot Enable [Y/N]
N
Network Auto Boot function is
disabled.
Network Auto Boot at power-up
only [Y/N]
Y
Network Auto Boot is attempted at
power-up reset only.
A-5
Configure and Environment Commands
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Network Auto Boot Controller
LUN
00
LUN of a network controller module
currently supported by the Bug.
Default is 00.
Network Auto Boot Device LUN
Network Auto Boot Abort Delay
00
5
LUN of a network device currently
supported by the Bug. Default is 00.
This is the time in seconds that the
Network Boot sequence will delay
before starting the boot. The purpose
for the delay is to allow you the option
of stopping the boot by use of the
Break key. The time value is from 0
through 255 seconds.
A-6
Setting Environment to Bug/Operating System
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Network Auto Boot ConÞguration
Parameters Pointer (NVRAM)
00000000 This is the address where the network
interface conÞguration parameters
are to be saved in NVRAM; these
parameters are the necessary
parameters to perform an unattended
network boot.
If you use the NIOT
debuggercommand,these
parameters need to be
!
Caution
saved in the NVRAM,
somewhere in the address
range $FFFC0000 through
$FFFC0FFF. The NIOT
parameters do not exceed
128 bytes in size. The
location for these
parameters is determined
by setting this ENV
pointer. If you have used
the exact same space for
your own program
information or
commands, they will be
overwritten and lost.
Memory Search Starting Address
00000000 Where the Bug begins to search for a
work page (a 64KB block of memory)
to use for vector table, stack, and
variables. This must be a multiple of
the debugger work page, modulo
$10000 (64KB). In a multi-187
environment, each MVME187 board
could be set to start its work page at a
unique address to allow multiple
debuggers to operate simultaneously
from the same memory.
A-7
Configure and Environment Commands
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Memory Search Ending Address
02000000 Top limit of the Bug's search for a
work page. If a contiguous block of
memory, 64KB in size, is not found in
the range speciÞed by Memory Search
Starting Address and Memory Search
Ending Address parameters, then the
bug will place its work page in the
onboard static RAM on the
MVME187. Default Memory Search
Ending Address is the calculated size
of local memory.
Memory Search Increment Size
00010000 This multi-CPU feature is used to
offset the location of the Bug work
page. This must be a multiple of the
debugger work page, modulo $10000
(64KB). Typically, Memory Search
Increment Size is the product of CPU
number and size of the Bug work
page. Example: Þrst CPU $0 (0 x
$10000), second CPU $10000 (1 x
$10000), etc.
Memory Search Delay
Enable [Y/N]
N
There will be no delay before the Bug
begins its search for a work page.
Memory Search Delay Address
FFFFCE0F The process of using the Memory
Search Delay Address was
implemented on the MVME188. It has
not been used on the MVME187.
Memory Size Enable [Y/N]
Y
Memory will be sized for Self Test
diagnostics.
Memory Size Starting Address
Memory Size Ending Address
00000000 Default Starting Address is $0.
02000000 Default Ending Address is the
calculated size of local memory.
A-8
Setting Environment to Bug/Operating System
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Base Address of Local Memory
00000000 Beginning address of Local Memory. It
must be a multiple of the Local
Memory board size, starting with 0.
The Bug will set up hardware address
decoders so that Local Memory
resides as one contiguous block at this
address. Default is $0.
Size of Local Memory Board #0
Size of Local Memory Board #1
02000000 You are prompted twice, once for each
00000000 possible MVME187 memory
mezzanine board. Default is the
calculated size of the memory board.
Slave address decoders setup.
The slave address decoders are used to allow another VMEbus master to access a local
resource of the MVME187. There are two slave address decoders. They are set up as
follows.
Slave Enable #1 [Y/N]
Y
Yes, Setup and enable the Slave
Address Decoder #1.
Slave Starting Address #1
00000000 Base address of the local resource that
is accessible by the VMEbus, as
viewed by the VMEbus. Default is the
base of local memory, $0.
Slave Ending Address #1
01FFFFFF Ending address of the local resource
that is accessible by the VMEbus, as
viewed by the VMEbus. Default is the
end of calculated memory.
Slave Address Translation
Address #1
00000000 This register will allow the VMEbus
address and the local address to be
different. 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.
A-9
Configure and Environment Commands
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Slave Address Translation
Select #1
00000000 This register deÞnes which bits of the
Translation Address are signiÞcant. A
logical one "1" indicates signiÞcant
address bits, logical zero "0" is non-
signiÞcant. The non-signiÞcant bits
will come from the VMEbus address
that accesses the local resource.
Normally, MS bits will be set, down to
the size of memory to be accessed.
Default is $0.
Slave Control #1
01FF
DeÞnes the access restriction for the
address space deÞned with this slave
address decoder. Default is $01FF. See
description of VMEchip2 bits in Single
Board Computer ProgrammerÕs Reference
Guide.
Slave Enable #2 [Y/N]
Y
Yes, Setup and enable the Slave
Address Decoder #2.
Slave Starting Address #2
FFE00000 Base address of the local resource that
is accessible by the VMEbus, as
viewed by the VMEbus. Default is the
base address of static RAM,
$FFE00000.
Slave Ending Address #2
FFE1FFFF Ending address of the local resource
that is accessible by the VMEbus, as
viewed by the VMEbus. Default is the
end of static RAM, $FFE1FFFF.
Slave Address Translation
Address #2
00000000 Works the same as Slave Address
Translation Address #1. Default is $0.
Slave Address Translation
Select #2
00000000 Works the same as Slave Address
Translation Select #1. Default is $0.
Slave Control #2
01EF
Works the same as Slave Control #1.
Default is $01EF.
A-10
Setting Environment to Bug/Operating System
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Master Enable #1 [Y/N]
Y
Yes, Setup and enable the Master
Address Decoder #1.
Master Starting Address #1
Master Ending Address #1
02000000 Base address of the VMEbus resource
that is accessible from the local bus.
Default is the end of calculated local
memory.
EFFFFFFF Ending address of the VMEbus
resource that is accessible from the
local bus. Default is the end of
calculated memory.
Master Control #1
0D
Works the same as Slave Control #1.
Default is $0D.
Master Enable #2 [Y/N]
Master Starting Address #2
N
Do not set up and enable the Master
Address Decoder #2.
00000000 Base address of the VMEbus resource
that is accessible from the local bus.
Default is $0.
Master Ending Address #2
00000000 Ending address of the VMEbus
resource that is accessible from the
local bus. Default is $0.
Master Control #2
00
Works the same as Slave Control #1.
Default is $00.
Master Enable #3 [Y/N]
Master Starting Address #3
N
Do not set up and enable the Master
Address Decoder #3.
00000000 Base address of the VMEbus resource
that is accessible from the local bus.
Default is $0.
Master Ending Address #3
Master Control #3
00000000 Ending address of the VMEbus
resource that is accessible from the
local bus. Default is $0.
00
Works the same as Slave Control #1.
Default is $00.
A-11
Configure and Environment Commands
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
Master Enable #4 [Y/N]
N
Do not set up and enable the Master
Address Decoder #4.
Master Starting Address #4
Master Ending Address #4
00000000 Base address of the VMEbus resource
that is accessible from the local bus.
This will be the local bus address.
Default is $0.
00000000 Ending address of the VMEbus
resource that is accessible from the
local bus. This will be the local bus
address. Default is $0.
Master Address Translation
Address #4
00000000 This register will allow the VMEbus
address and the local address to be
different. 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.
Master Address Translation Select
#4
00000000 This register deÞnes which bits of the
Translation Address are signiÞcant. A
logical one "1" indicates signiÞcant
address bits, logical zero "0" is non-
signiÞcant. The non-signiÞcant bits
will come from the local bus address
that accesses the VMEbus. Normally
MS bits will be set, down to the size of
memory to be accessed.Default is $0.
Master Control #4
00
Works the same as Slave Control #1.
Default is $00.
Short I/O (VMEbus A16) Enable
[Y/N]
Y
Yes, Enable the Short I/O Address
Decoder.
Short I/O (VMEbus A16) Control
01
Works the same as Slave Control #1.
Default is $01.
A-12
Setting Environment to Bug/Operating System
A
Table A-1. ENV Command Parameters (Continued)
ENV Parameter and Options
Default
Meaning of Default
F-Page (VMEbus A24) Enable
[Y/N]
Y
Yes, Enable the F-Page Address
Decoder.
F-Page (VMEbus A24) Control
02
Works the same as Slave Control #1.
Default is $02.
ROM Speed Bank A Code
ROM Speed Bank B Code
05
05
Used to set up the ROM speed.
Default is $05 = 165 ns (25 MHz
MVME187) or $04=145 ns (33 MHz
MVME187).
Static RAM Speed Code
01
Used to set up the SRAM speed.
Default is $01 = 125 ns (25 MHz
MVME187) or $00=115 ns (33 MHz
MVME187).
PCC2 Vector Base
VMEC2 Vector Base #1
VMEC2 Vector Base #2
05
06
07
Base interrupt vector for the
component speciÞed. Default:
PCCchip2 = $05, VMEchip2 Vector 1 =
$06, VMEchip2 Vector 2 = $07.
VMEC2 GCSR Group
Base Address
CE
00
SpeciÞes the group address
($FFFFXX00) in Short I/O for this
board. Default = $CE.
VMEC2 GCSR Board Base
Address
SpeciÞes the base address
($FFFFCEX0) in Short I/O for this
board. Default = $00.
VMEbus Global Time Out Code
01
This controls the VMEbus timeout
when this MVME187 is the system
controller. Default $01 = 64 µs.
Local Bus Time Out Code
00
02
This controls the local bus timeout.
Default $00 = 8 µs.
VMEbus Access Time Out Code
This controls the local bus to VMEbus
access timeout. Default $02 = 32 ms.
A-13
Configure and Environment Commands
A
A-14
BDisk/Tape Controller
Data
B
Disk/Tape Controller Modules Supported
The following VMEbus disk/tape controller modules are
supported by the 187Bug. The default address for each controller
type is First Address and the controller can be addressed by First
CLUN during commands BH, BO, or IOP, or during TRAP #496
calls .DSKRD or .DSKWR.
Note that if another controller of the same type is used, the second
one must have its address changed by its onboard jumpers and/or
switches, so that it matches Second Address and can be called up by
Second CLUN.
First
CLUN
First
Address
Second
CLUN
Second
Address
Controller Type
RISC Single Board Computer
(MVME187)
$00
$11
$08
--
--
--
MVME320 - Winchester/Floppy
Controller
$FFFFB000
$FFFFA000
$12
$09
$FFFFAC00
$FFFFA200
MVME323 - ESDI Winchester
Controller
MVME327A - SCSI Controller
MVME328 - SCSI Controller
MVME328 - SCSI Controller
MVME328 - SCSI Controller
$02
$06
$16
$18
$FFFFA600
$FFFF9000
$FFFF4800
$FFFF7000
$03
$07
$17
$19
$FFFFA700
$FFFF9800
$FFFF5800
$FFFF7800
MVME350 - Streaming Tape
Controller
$04
$FFFF5000
$05
$FFFF5100
B-1
Disk/Tape Controller Data
Disk/Tape Controller Default Configurations
B
Note SCSI Common Command Set (CCS) devices are only
the ones tested by Motorola Computer Group.
RISC Single Board Computers -- 7 Devices
Controller LUN
Address
Device LUN
Device Type
SCSI Common Command Set
(CCS), which may be any of these:
- Fixed direct access
0
$XXXXXXXX
00
10
20
30
40
50
60
- Removable ßexible direct access
(TEAC style)
- CD-ROM
- Sequential access
MVME320 -- 4 Devices
Device LUN
Controller LUN
Address
Device Type
11
$FFFFB000
0
1
2
3
Winchester hard drive
Winchester hard drive
5-1/4" DS/DD 96 TPI ßoppy drive
5-1/4" DS/DD 96 TPI ßoppy drive
12
$FFFFAC00
MVME323 -- 4 Devices
Device LUN
Controller LUN
Address
Device Type
8
$FFFFA000
0
1
2
3
ESDI Winchester hard drive
ESDI Winchester hard drive
ESDI Winchester hard drive
ESDI Winchester hard drive
9
$FFFFA200
B-2
Disk/Tape Controller Default Configurations
MVME327A -- 9 Devices
B
Controller LUN
Address
Device LUN
Device Type
SCSI Common Command Set
(CCS), which may be any of these:
- Fixed direct access
2
$FFFFA600
00
10
20
30
40
50
60
80
81
3
$FFFFA700
- Removable ßexible direct access
(TEAC style)
- CD-ROM
- Sequential access
Local ßoppy drive
Local ßoppy drive
MVME328 -- 14 Devices
Controller LUN
Address
Device LUN
Device Type
6
$FFFF9000
00
08
10
18
20
28
30
40
48
50
58
60
68
70
SCSI Common Command Set
(CCS), which may be any of these:
- Removable ßexible direct access
(TEAC style)
7
$FFFF9800
- CD-ROM
- Sequential access
16
17
18
$FFFF4800
$FFFF5800
$FFFF7000
Same as above, but these
will only be available if
the daughter card for the
second SCSI channel is present.
19
$FFFF7800
B-3
Disk/Tape Controller Data
MVME350 -- 1 Device
B
Controller LUN
Address
$FFFF5000
$FFFF5100
Device LUN
Device Type
4
5
0
QIC-02 streaming tape drive
IOT Command Parameters for Supported
Floppy Types
The following table lists the proper IOT command parameters for
floppies used with boards such as the MVME328, MVME167, and
MVME187.
Floppy Types and Formats
IOT Parameter
DSDD5 PCXT8 PCXT9 PCXT9_3 PCAT
PS2
SHD
Sector Size:
0-128 1-256 2-512
3-1024 4-2048 5-4096
1
1
2
1
2
1
2
1
2
1
2
2
Block Size:
0-128 1-256 2-512
3-1024 4-2048 5-4096
1
1
Sectors/Track
10
2
8
2
9
2
9
2
F
2
12
2
24
2
Number of Heads
Number of
Cylinders
50
50
50
0
28
28
28
0
28
28
28
0
50
50
50
0
50
50
50
0
50
50
50
0
50
50
50
0
Precomp. Cylinder
Reduced Write
Current Cylinder
Step Rate Code
Single/Double
DATA Density
D
D
D
D
D
D
D
Single/Double
TRACK Density
D
D
D
D
D
D
D
B-4
IOT Command Parameters for Supported Floppy Types
Floppy Types and Formats
B
IOT Parameter
DSDD5 PCXT8 PCXT9 PCXT9_3 PCAT
PS2
E
SHD
Single/Equal_in_all
Track Zero Density
S
S
E
E
E
E
F
E
F
Slow/Fast Data Rate
S
S
S
F
Other Characteristics
Number of Physical
Sectors
0A00
09F8
0280
0500
02D0
05A0
05A0
0B40
0960
0B40
1680
1680
Number of Logical
Blocks (100 in size)
12C0
2D00
Number of Bytes in
Decimal
653312
327680
368460
737280 1228800 1474560 2949120
Media Size/Density 5.25/DD 5.25/DD 5.25/DD 3.5/DD 5.25/HD 3.5/HD 3.5/ED
Notes
1. All numerical parameters are in hexadecimal unless otherwise noted.
2. The DSDD5-type ßoppy is the default setting for the debugger.
B-5
Disk/Tape Controller Data
B
B-6
CNetwork Controller
Data
C
Network Controller Modules Supported
The VMEbus network controller modules supported by
MVME187Bug are shown in Table C-1. The default address for each
type and position is shown to indicate where the controller must
reside to be supported by MVME187Bug.
The CLUNs and DLUNs are used in conjunction with the following
debugger commands and debugger system calls:
Debugger Commands Debugger System Calls
NBH
.NETRD
NBO
.NETWR
.NETFOPN
.NETFRD
.NETCFIG
NIOC
NIOP
NIOT
NPING
NAB
.NETCTRL
The controllers are accessed via the CLUNs and DLUNs specified
in the following table.
Table C-1. Network Controller Access Data
Controller
Type
Interface
Type
CLUN DLUN Address
MVME187
MVME376
MVME376
MVME376
MVME376
MVME376
$00
$02
$03
$04
$05
$06
$00
$00
$00
$00
$00
$00
$FFF46000 Ethernet
$FFFF1200 Ethernet
$FFFF1400 Ethernet
$FFFF1600 Ethernet
$FFFF5400 Ethernet
$FFFF5600 Ethernet
C-1
Network Controller Data
Table C-1. Network Controller Access Data (Continued)
Controller
Interface
Type
CLUN DLUN Address
Type
C
MVME376
MVME374
MVME374
MVME374
MVME374
MVME374
MVME374
$07
$10
$11
$12
$13
$14
$15
$00
$00
$00
$00
$00
$00
$00
$FFFFA400 Ethernet
$FF000000 Ethernet
$FF100000 Ethernet
$FF200000 Ethernet
$FF300000 Ethernet
$FF400000 Ethernet
$FF500000 Ethernet
C-2
DTroubleshooting the MVME187:
Solving Startup Problems
D
❏ Try these simple troubleshooting steps before calling for help
or sending your CPU board back for repair.
❏ Some of the procedures will return the board to the factory
debugger environment. (The board was tested under these
conditions before it left the factory.)
❏ Selftest may not run in all user-customized environments.
Table D-1. Troubleshooting Steps
Possible
Try This:
Problem
Condition
I. Nothing
A. If the RUN or 1. Make sure the system is plugged in.
works, no
display on the
terminal.
+12V LED is not
lit, the board
may not be
getting correct
power.
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, in Chapter 3.
5. Review the Installation and Startup procedures,
in Chapter 3. The step-by-step powerup routine
for your board is on page 3-17. Try it.
B. If the LEDs
are lit, the board
may be in the
wrong slot.
1. The CPU board should be in the Þrst (leftmost)
slot if it is to be the system controller.
2. The Òsystem controllerÓ function requires that
header J2 be set properly. See Chapter 3.
C. The system
console
ConÞgure the system console terminal according to
the instructions in Chapter 3.
terminal may be
conÞgured
wrong.
D-1
Troubleshooting the MVME187: Solving Startup Problems
Table D-1. Troubleshooting Steps (Continued)
Possible
Problem
Condition
Try This:
II. There is a
display on the
terminal, but
input from the
keyboard has no
effect.
A. The
Recheck the keyboard connections and power.
keyboard may
be connected
incorrectly.
D
B. Board
Check the board jumpers per this manual.
jumpers may be
conÞgured
incorrectly.
C. You may have Press the HOLD or PAUSE key again.
invoked ßow
control by
If this does not free up the keyboard, type in
^Q
pressing a HOLD
or PAUSE key, or
by typing
(Hold down the CONTROL key and type a ÒQÓ)
^S
Also, a HOLD
LED may be lit
on the keyboard.
D-2
Table D-1. Troubleshooting Steps (Continued)
Possible
Try This:
Problem
Condition
III. Debug
A. Debugger
EPROM may be
missing.
1. Disconnect all power from your system.
prompt
2. Check that the proper debugger EPROM is
installed per this manual.
187-Bug>
D
B. The board
may need to be
reset.
does not appear
at powerup, and
the board does
not auto boot.
3. Reconnect power.
Performing the next
step will change some
parameters that may
affect your system
operation.
!
Caution
4. Restart the system by Òdouble-button resetÓ:
press the RESET and ABORT switches at the same
time; release RESET Þrst, wait Þve seconds, then
release ABORT.
5. If the debug prompt appears, go to step IV or step
V, as indicated. If the debug prompt does not
appear, go to step VI.
D-3
Troubleshooting the MVME187: Solving Startup Problems
Table D-1. Troubleshooting Steps (Continued)
Possible
Problem
Condition
IV. Debug
Try This:
A. The initial
debugger
1. Start the onboard calendar clock and timer. Type
prompt
in
environment
parameters may
be set wrong.
set mmddyyhhmm <Return>
187-Bug>
D
where the characters indicate the month, day,
year, hour, and minute. The date and time will be
displayed.
appears at
powerup, but
the board does
not auto boot.
B. There may be
some fault in
the board
Performing the next
hardware.
step will change some
parameters that may
affect your system
operation.
!
Caution
2. Type in
env;d <Return>
This sets up the default parameters for the
debugger environment.
3. When prompted to Update Non-Volatile
RAM, type in
y <Return>
4. When prompted to Reset Local System,
type in
y <Return>
5. After clock speed is displayed, immediately
(within Þve seconds) press the RETURN key
<Return> or
BREAK
to exit to System Menu. Then enter a 3 “Go to
System Debugger”and press the RETURN key
3 <Return>
Now the prompt should be
187-Diag>
D-4
Table D-1. Troubleshooting Steps (Continued)
Possible
Try This:
Problem
Condition
6. You may need to use the cnfg command (see
Appendix A) to change clock speed and/or
Ethernet Address, and then later return to
D
env <Return>
and step 3.
7. Run selftest by typing in
st <Return>
The tests take as much as 10 minutes, depending
on RAM size. They are complete when the
prompt returns. (The onboard selftest is a
valuable tool in isolating defects.)
8. The system may indicate that it has passed all the
selftests. Or, it may indicate a test that failed. If
neither happens, enter
de <Return>
Any errors should now be displayed. If there are
any errors, go to step VI. If there are no errors, go
to step V.
V. The debugger A. No problems. No further troubleshooting steps are required.
is in system
mode and the
board auto
boots, or the
board has
Troubleshooting
is done.
Even if the board passes all tests, it may
still be bad. Selftest does not try out all
functions in the board (for example,
SCSI, or VMEbus tests).
Note
passed selftests.
VI. The board
A. There may be 1. Document the problem and return the board for
has failed one or some fault in
more of the tests the board
listed above, and hardware or the
service.
2. Phone 1-800-222-5640.
can not be
on-board
corrected using debugging and
the steps given. diagnostic
Þrmware.
YOU ARE FINISHED (DONE) WITH THIS TROUBLESHOOTING PROCEDURE.
D-5
Troubleshooting the MVME187: Solving Startup Problems
D
D-6
EEIA-232-D
Interconnections
E
Introduction
The EIA-232-D standard is the most common terminal/computer
and terminal/modem interface, and yet it is not fully understood.
This may be because not all the lines are clearly defined, and many
users do not see the need to follow the standard in their
applications. Often designers think only of their own equipment,
but the state of the art is computer-to-computer or computer-to-
modem operation. A system should easily connect to any other
system.
System to connect terminals via modems. Several handshaking
lines were included for that purpose. Although handshaking is
unnecessary in many applications, the lines themselves remain part
of many designs because they facilitate troubleshooting.
Table E-1 lists the standard EIA-232-D interconnections. To
interpret this information correctly, remember that EIA-232-D was
intended to connect a terminal to a modem. When computers are
connected to each other without modems, one of them must be
configured as a terminal (data terminal equipment: DTE) and the
other as a modem (data circuit-terminating equipment: DCE). Since
computers are normally configured to work with terminals, they
are said to be configured as a modem in most cases.
Signal levels must lie between +3 and +15 volts for a high level, and
between -3 and -15 volts for a low level. Connecting units in parallel
may produce out-of-range voltages and is contrary to EIA-232-D
specifications.
E-1
EIA-232-D Interconnections
Table E-1. EIA-232-D Interconnections
Pin
Signal
Signal Name and Description
Number Mnemonic
1
CHASSIS GROUND. Not always used. See section Proper
Grounding.
2
3
4
TxD
RxD
RTS
TRANSMIT DATA. Data to be transmitted; input to the modem
from the terminal.
RECEIVE DATA. Data which is demodulated from the receive
line; output from the modem to the terminal.
E
REQUEST TO SEND. Input to the modem from the terminal
when required to transmit a message. With RTS off, the modem
carrier remains off. When RTS is turned on, the modem
immediately turns on the carrier.
5
CTS
DSR
CLEAR TO SEND. Output from the modem to the terminal to
indicate that message transmission can begin. When a modem is
used, CTS follows the off-to-on transition of RTS after a time
delay.
6
7
8
DATA SET READY. Output from the modem to the terminal to
indicate that the modem is ready to transmit data.
SIG-GND SIGNAL GROUND. Common return line for all signals at the
modem interface.
DCD
TxC
RxC
DTR
DATA CARRIER DETECT. Output from the modem to the
terminal to indicate that a valid carrier is being received.
9-14
15
Not used.
TRANSMIT CLOCK (DCE). Output from the modem to the
terminal; clocks data from the terminal to the modem.
16
17
Not used.
RECEIVE CLOCK. Output from the modem to the terminal;
clocks data from the modem to the terminal.
18, 19
20
Not used.
DATA TERMINAL READY. Input to the modem from the
terminal; indicates that the terminal is ready to send or receive
data.
21
Not used.
E-2
Levels of Implementation
Table E-1. EIA-232-D Interconnections (Continued)
Pin
Signal
Signal Name and Description
Number Mnemonic
22
RI
RING INDICATOR. Output from the modem to the terminal;
indicates to the terminal that an incoming call is present. The
terminal causes the modem to answer the phone by carrying
DTR true while RI is active.
23
24
Not used.
TxC
BSY
TRANSMIT CLOCK (DTE). Input to modem from terminal;
same function as TxC on pin 15.
E
25
BUSY. Input to modem from terminal. A positive EIA signal
applied to this pin causes the modem to go off-hook and make
the associated phone busy.
Levels of Implementation
There are several levels of conformance that may be appropriate for
typical EIA-232-D interconnections. The bare minimum
requirement is the two data lines and a ground. The full
implementation of EIA-232-D requires 12 lines; it accommodates:
❏ Automatic dialing
❏ Automatic answering
❏ Synchronous transmission
A middle-of-the-road approach is illustrated in Figure E-1.
E-3
EIA-232-D Interconnections
Signal Adaptations
One set of handshaking signals frequently implemented are RTS
and CTS. CTS is used in many systems to inhibit transmission until
the signal is high. In the modem application, RTS is turned around
and returned as CTS after 150 microseconds. RTS is programmable
in some systems to work with the older type 202 modem (half
duplex). CTS is used in some systems to provide flow control to
avoid buffer overflow. This is not possible if modems are used. It is
usually necessary to make CTS high by connecting it to RTS or to
some source of +12 volts such as the resistors shown in Figure E-1.
CTS is also frequently jumpered to an MC1488 gate which has its
inputs grounded (the gate is provided for this purpose).
E
Another signal used in many systems is DCD. The original purpose
of this signal was to inform the system that the carrier tone from the
distant modem was being received. This signal is frequently used
by the software to display a message such as CARRIER NOT PRESENTto
help the user diagnose failure to communicate. Obviously, if the
system is designed properly to use this signal and is not connected
to a modem, the signal must be provided by a pullup resistor or
gate as described above (see Figure E-1).
Many modems expect a DTR high signal and issue a DSR response.
These signals are used by software to help prompt the operator
about possible causes of trouble. The DTR signal is sometimes used
to disconnect the phone circuit in preparation for another automatic
possible modems (see Figure E-1).
Sample Configurations
Figure E-1 is a good middle-of-the-road configuration that almost
always works. If the CTS and DCD signals are not received from the
modem, the jumpers can be moved to artificially provide the
needed signal.
E-4
Levels of Implementation
SERIAL PORT
TXD
1488
RXD
3
1489A
TXD
2
RXD
39kΩ
-12V
NC
1
RTS
CTS
DCD
CONNECTOR
TO
TERMINAL
+12V
E
LS08
470Ω
470Ω
470Ω
CTS
DSR
5
6
OPTIONAL
HARDWARE
TRANSPARENT
MODE
DCD
8
7
SIG GND
TXC
RXC
CHASSIS GND
LOGIC
GND
LS08
+12V
SIG GND
7
1
470Ω
NC
DTR
20
2
1488
SERIAL PORT
TXD
TXD
RXD
1489A
3
RXD
RTS
CTS
CONNECTOR
TO
MODEM
OR
39kΩ
-12V
1488
RTS
4
5
HOST SYSTEM
470Ω
+12V
-12V
1489A
CTS
DCD
39kΩ
470Ω
1489A
+12V
DCD
6
39kΩ
TXC
RXC
-12V
cb181 9210
Figure E-1. Middle-of-the-Road EIA-232-D Configuration
E-5
EIA-232-D Interconnections
Figure E-2 shows a way of wiring an EIA-232-D connector to enable
a computer to connect to a basic terminal with only three lines. This
is feasible because most terminals have DTR and RTS signals that
are ON, and which can be used to pull up the CTS, DCD, and DSR
signals.
Two of these connectors wired back-to-back can be used. In this
implementation, however, diagnostic messages that might
otherwise be generated do not occur because all the handshaking is
bypassed. In addition, the TX and RX lines may have to be crossed
since TX from a terminal is outgoing but the TX line on a modem is
an incoming signal.
E
EIA-232-D
CONNECTOR
CHASSIS GND
TxD
1
2
3
4
5
6
7
8
RxD
RTS
CTS
DSR
SIGNAL GND
DCD
.
DTR 20
Figure E-2. Minimum EIA-232-D Connection
E-6
Levels of Implementation
Proper Grounding
Another subject to consider is the use of ground pins. There are two
pins labeled GND. Pin 7 is the SIGNAL GROUND and must be
connected to the distant device to complete the circuit. Pin 1 is the
CHASSIS GROUND, but it must be used with care. The chassis is
connected to the power ground through the green wire in the
power cord and must be connected to the chassis to be in
compliance with the electrical code.
E
The problem is that when units are connected to different electrical
outlets, there may be several volts of difference in ground potential.
If pin 1 of each device is interconnected with the others via cable,
several amperes of current could result. This condition may not
only be dangerous for the small wires in a typical cable, but may
also produce electrical noise that causes errors in data transmission.
That is why Figure E-1 shows no connection for pin 1.
Normally, pin 7 should only be connected to the CHASSIS
GROUND at one point; if several terminals are used with one
computer, the logical place for that point is at the computer. The
terminals should not have a connection between the logic ground
return and the chassis.
E-7
EIA-232-D Interconnections
E
E-8
Index
1-9
Symbols
Numerics
100 ns SRAMs 2-13
arithmetic operators 5-4
187Bug
see also debug monitor and
big-endian byte ordering 1-3
44-pin PLCC/CLCC EPROM 2-13
5-1/4 DS/DD 96 TPI floppy drive B-2
see also Ethernet and LAN
96-position DIN connectors 2-7
A
abort 4-10
adapters 2-7
additional manuals for the MVME187
board 1-6
level hardware description 2-1
level overview 2-7
select value 4-24
address 5-4
boldface string 5-3
as a parameter 5-5
formats 5-6
Boot PROM 4-19
booting 187Bug 4-5
IN-9
BOOTP
Bootstrap
Operating System (BO) 4-15
commands
braces 5-3
break 4-11
confidence test failure 4-12
breakpoint during execution of the user
program 5-2
byte
ordering 1-3
C
CCS
CR20 5-11
creating a program with the assem-
bler/disassembler 5-8
CTS (Clear To Send) 3-22
CTS/RTS E-4
precautions 4-4
I
CLCC (EPROM) 2-13
Clear To Send (CTS) 3-22
clock speed calculation failure 4-12
CLUN (controller LUN) B-2, C-1
CLUN/DLUN combinations 4-15
command
N
D
E
X
IN-10
D
support 4-13
parameter numeric format 1-2
disk/tape
default configurations B-2
1-5
see also 187Bug and MVME187Bug
debug port 5-7
directories 4-3
general information 4-1
default
mezzanine boards 2-2
device
diagnostic directories 4-3
diagnostic facilities 4-25
diagnostics
monitor commands/prefixes 4-25
utilities 4-26
direct access device B-2, B-3
disk
E
minimum connection E-6
standard E-1
N
D
E
X
entering and debugging programs 5-8
entering debugger command lines 5-1
ENV command parameters A-4
Environment (ENV) and Configure (CN-
FG) commands A-1
I/O
error codes 4-18
IN-11
header J1 3-8
interface 2-21
see also 82596CA and LAN
group select value 4-24
exception vectors used by 187Bug 5-11
exponent field 5-12
external connections 3-22
F
support 5-11
Integer Data Types 5-12
Intel 82596 LAN Coprocessor Ethernet
driver 4-19
I
command parameters B-4
floppy drive B-2, B-3
flow control D-2
four-byte 1-3
front panel
N
D
E
X
interconnections
EIA-232-D E-1
implementation E-3
LEDs 2-11
IN-12
internal
Internet User Datagram Protocol (UDP)
interrupt(s) 2-23
to VMEbus interface 2-18
IOT
command parameters B-4
command parameters for supported
M
memory
J
J1 3-8, 3-9
J2 3-8, 3-10
J7 3-11, 3-13
J8 3-11, 3-13
K
L
mezzanines, stacking 2-16
mixed parity 2-16
see also 82596CA and Ethernet
ters) 3-8
LEDs 2-11
N
D
E
X
loading and executing user programs 4-2
local
modem(s) E-1
modifying memory 4-2
Motorola-style byte ordering 1-3
bus arbitration 2-12
floppy drive B-3
IN-13
MPCR (Multiprocessor Control Register)
status codes 4-22
4-21
method 4-21
MVME187 2-1, C-1
see also 187Bug and debug monitor
MVME712-13 2-8, 3-17
MVME712A 2-8, 3-17
MVME712B 2-8, 3-17
I
P1 2-7
P2 2-7
N
D
E
X
MVME712M 2-8, 3-11, 3-17
MVME712X 2-8, 3-17
P2 adapter board 2-7, 3-20, 3-29
packed decimal number 5-14
parallel (printer) port 2-3
N
negation 1-3
IN-14
parallel port interface 2-20
peripheral
connection procedures 3-21
port 0 or 00 5-7
port number(s) 5-3, 5-7
priority
power save mode 3-29
programmable tick timers 2-23
Pseudo Stack Pointer (R31) 4-5
pseudo-registers 5-7
SCSI
Non-Motorola 1-9
not included in the set 1-6
Q
internal connections 3-18
LED 2-11
mass storage interface 2-2
specification 1-9
termination 2-22
N
D
E
X
R
RAM 5-10
range 5-4
RARP 4-20
RARP/ARP protocol modules 4-20
terminator power 3-29
IN-15
SCSI commands
selftest error 4-12
see also CD2401
serial port 1 5-8
serial port 4 clock configuration select
headers J7 and J8 3-11
Set Environment to Bug/Operating Sys-
settings for
3-9
J2 system controller header 3-10
default
controller function 3-14
controller header J2 3-8
signal
adaptations E-4
ground E-7
name conventions 1-2
I
startup overview 3-24
system calls
see also disk I/O via 187Bug system
calls
system calls <singlepage> 4-16
N
D
E
X
edge significant 1-2
level significant 1-2
Single Board Computer (SBC)
see also RISC Single Board Computer
single precision real 5-13
IN-16
VMEbus
T
terminal(s) E-1
tracing capabilities 4-2
VMEchip2
MVME187 2-8
write files from/to a remote server 4-20
troubleshooting steps D-1
true/false bit state definitions 1-4
X
two-byte 1-3
U
byte ordering 1-3
user address space 5-6
using local SRAM for work space J6 3-9
using the 187Bug debugger 5-1
N
D
E
X
V
vector table 5-10
verify the NVRAM (BBRAM) parameters
3-25
IN-17
|