MVME2400 Series Processor Manual
MVME2400 Series Processor Manual
V2400A/IH3
August 2001
© Copyright 1999, 2000, 2001 Motorola, Inc.
All rights reserved.
Printed in the United States of America.
Motorola® and the Motorola symbol are registered trademarks of Motorola, Inc.
PowerStackTM, VMEmoduleTM, and VMEsystemTM are trademarks of Motorola, Inc.
PowerPC® is a registered trademark and AIXTM, PowerPC 603TM, and PowerPC 604TM are
trademarks of International Business Machines Corporation and are used by Motorola, Inc.
under license from International Business Machines Corporation.
SNAPHAT®, TIMEKEEPER®, and ZEROPOWER® are registered trademarks of
STMicroelectronics.
All other products mentioned in this document are trademarks or registered trademarks of
their respective holders.
Safety Summary
The following general safety precautions must be observed during all phases of operation, service, and repair of this
equipment. Failure to comply with these precautions or with specific warnings elsewhere in this manual could result
in personal injury or damage to the equipment.
The safety precautions listed below represent warnings of certain dangers of which Motorola is aware. You, as the
user of the product, should follow these warnings and all other safety precautions necessary for the safe operation of
the equipment in your operating environment.
EMI Caution
Notice
While reasonable efforts have been made to assure the accuracy of this document,
Motorola, Inc. assumes no liability resulting from any omissions in this document, or from
the use of the information obtained therein. Motorola reserves the right to revise this
document and to make changes from time to time in the content hereof without obligation
of Motorola to notify any person of such revision or changes.
Electronic versions of this material may be read online, downloaded for personal use, or
referenced in another document as a URL to the Motorola Computer Group web site. The
text itself may not be published commercially in print or electronic form, edited, translated,
or otherwise altered without the permission of Motorola, Inc.
It is possible that this publication may contain reference to or information about Motorola
products (machines and programs), programming, or services that are not available in your
country. Such references or information must not be construed to mean that Motorola
intends to announce such Motorola products, programming, or services in your country.
Limited and Restricted Rights Legend
If the documentation contained herein is supplied, directly or indirectly, to the U.S.
Government, the following notice shall apply unless otherwise agreed to in writing by
Motorola, Inc.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
subparagraph (b)(3) of the Rights in Technical Data clause at DFARS 252.227-7013 (Nov.
1995) and of the Rights in Noncommercial Computer Software and Documentation clause
at DFARS 252.227-7014 (Jun. 1995).
Motorola, Inc.
Computer Group
2900 South Diablo Way
Tempe, Arizona 85282
Contents
vii
Switches.............................................................................................................. 2-3
ABT (S1) ..................................................................................................... 2-3
RST (S2)...................................................................................................... 2-3
Front Panel Indicators (DS1 – DS4)................................................................... 2-4
BFL (DS1)................................................................................................... 2-4
CPU (DS2) .................................................................................................. 2-4
PMC2 (DS3)................................................................................................ 2-4
PMC1 (DS4)................................................................................................ 2-4
10/100BaseT Port ............................................................................................... 2-5
DEBUG Port....................................................................................................... 2-5
PMC Slots........................................................................................................... 2-7
PCI MEZZANINE CARD (PMC Slot 1).................................................... 2-7
PCI MEZZANINE CARD (PMC Slot 2).................................................... 2-7
PMCspan ................................................................................................................... 2-8
viii
Asynchronous Debug Port ................................................................................3-23
PCI-ISA Bridge (PIB) Controller .....................................................................3-23
Real-Time Clock/NVRAM/Timer Function .....................................................3-24
PCI Host Bridge (PHB) ....................................................................................3-25
Interrupt Controller (MPIC)..............................................................................3-25
Programmable Timers.......................................................................................3-26
Interval Timers ..........................................................................................3-26
16/32-Bit Timers........................................................................................3-26
CHAPTER 5 PPCBug
PPCBug Overview .....................................................................................................5-1
PPCBug Basics ..........................................................................................................5-1
Memory Requirements .......................................................................................5-3
PPCBug Implementation ....................................................................................5-3
MPU, Hardware, and Firmware Initialization ...........................................................5-3
Using PPCBug ...........................................................................................................5-5
Debugger Commands .........................................................................................5-6
Diagnostic Tests ................................................................................................5-11
ix
CNFG – Configure Board Information Block ........................................................... 6-2
ENV – Set Environment ............................................................................................ 6-3
Configuring the PPCBug Parameters ................................................................. 6-3
Configuring the VMEbus Interface .................................................................. 6-13
APPENDIX A Specifications
Specifications............................................................................................................ A-1
Cooling Requirements .............................................................................................. A-3
EMC Regulatory Compliance .................................................................................. A-4
APPENDIX C Troubleshooting
Solving Startup Problems ......................................................................................... C-1
x
List of Figures
xi
List of Tables
Table 1-1. PMCspan Models......................................................................................1-3
Table 1-2. Start-Up Overview....................................................................................1-4
Table 1-3. Jumper Settings.........................................................................................1-7
Table 3-1. MVME240x Features ...............................................................................3-1
Table 3-2. Power Requirements .................................................................................3-5
Table 3-3. PCI Originated Latency Matrix ................................................................3-7
Table 3-4. PCI Originated Bandwidth Matrix............................................................3-8
Table 3-5. PPC60x Originated Latency Matrix .........................................................3-9
Table 3-6. PPC60x Originated Bandwidth Matrix...................................................3-10
Table 3-7. Clock Ratios and Operating Frequencies................................................3-11
Table 3-8. 60x Bus to SDRAM Access Timing (100 MHz/PC100 SDRAMs) .......3-13
Table 3-9. PPC Bus to ROM/Flash Access Timing (120ns @ 100 MHz) ...............3-17
Table 3-10. PPC Bus to ROM/Flash Access Timing (80ns @ 100 MHz) ...............3-18
Table 3-11. PPC Bus to ROM/Flash Access Timing (50ns @ 100MHz) ................3-18
Table 3-12. PPC Bus to ROM/Flash Access Timing (30ns @ 100 MHz) ...............3-19
Table 4-1. Processor Default View of the Memory Map ...........................................4-2
Table 4-2. PCI Arbitration Assignments....................................................................4-6
Table 4-3. Classes of Reset and Effectiveness ...........................................................4-9
Table 5-1. Debugger Commands ...............................................................................5-7
Table 5-2. Diagnostic Test Groups...........................................................................5-12
Table A-1. Specifications .........................................................................................A-1
Table B-1. P1 VMEbus Connector Pin Assignments .............................................. B-2
Table B-2. P2 Connector Pin Assignment ............................................................... B-3
Table B-3. DEBUG (J2)Connector Pin Assignments .............................................. B-5
Table B-4. 10/100 BASET (J3) Connector Pin Assignments .................................. B-5
Table B-5. Debug Connector Pin Assignments ....................................................... B-6
Table B-6. J6 - PCI Expansion Connector Pin Assignments ................................. B-11
Table B-7. J11 - J12 PMC1 Connector Pin Assignments ...................................... B-14
Table B-8. J13 - J14 PMC1 Connector Pin Assignments ...................................... B-15
Table B-9. J21 and J22 PMC2 Connector Pin Assignments ................................. B-17
Table B-10. J23 and J24 PMC2 Connector Pin Assignments ............................... B-18
Table C-1. Troubleshooting MVME240x Modules ................................................. C-1
Table D-1. Motorola Computer Group Documents .................................................D-1
Table D-2. Manufacturers’ Documents ...................................................................D-2
Table D-3. Related Specifications ...........................................................................D-4
xiii
About This Manual
The MVME2400 Series VME Processor Modules Installation and Use
manual provides information to install and use your MVME2400 Series
VME Processor Modules.
As of the publication date, the information presented in this manual applies
to the following MVME2400 series models:
xv
Summary of Changes
This is the third edition of the Installation and Use manual. It supersedes
the March 2000 edition and incorporates the following updates.
Date Changes
August 2001 All data referring to the VME CSR Bit Set Register
(VCSR_SET) and VME CSR Bit Clear Register
(VCSR_CLR) has been deleted. These registers of the
Universe II are unavailable for implementation as
intended by the MVME materials and the Universe II
User Manual.
March 2000 Addition of the 450 MHz product configurations and a
general review of the manual’s accuracy and content.
Overview of Contents
Chapter 1, Hardware Preparation and Installation, provides a brief
description of the MVME2400 Series VME Processor Module along with
instructions for preparing and installing the hardware.
Chapter 2, Operating Instructions, provides operating instructions for the
MVME2400, including information about powering up the system, and
functionality of the switches, status indicators, and I/O ports on the front
panels of the MVME2400 and PMCspan modules.
Chapter 3, Functional Description, provides a functional description of the
MVME2400, including an overview of the product and a detailed
description of several blocks of circuitry.
Chapter 4, Programming Details, provides information useful in
programming the MVME2400, including a description of memory maps,
control and status registers, PCI arbitration, interrupt handling, sources of
reset, and big/little-endian issues.
Chapter 5, PPCBug, describes the basics of the PPCBug and its
architecture, along with the monitor (interactive command portion of the
firmware), and gives information on using the PPCBug and the special
commands.
xvi
Chapter 6, Environment Modification, contains information about the
CNFG and ENV commands. These two commands are used to change
configuration information and command parameters interactively.
Appendix A, Specifications, lists the general specifications for the
MVME2400 VME processor module.
Appendix B, Connector Pin Assignments, provides the pin assignments for
the interconnect signals for the MVME2400.
Appendix C, Troubleshooting, provides simple troubleshooting tips for
your MVME2400 VME Processor Modules.
Appendix D, Related Documentation, includes all documentation related
to the MVME2400.
xvii
Conventions Used in This Manual
The following typographical conventions are used in this document:
Unless otherwise specified, all address references are in hexadecimal. An
asterisk (*) following the signal name for signals which are level
significant denotes that the signal is true or valid when the signal is low.
An asterisk (*) following the signal name for signals which are edge
significant denotes that the actions initiated by that signal occur on high to
low transition.
bold
is used for user input that you type just as it appears; it is also used for
commands, options and arguments to commands, and names of
programs, directories and files.
italic
is used for names of variables to which you assign values. Italic is also
used for comments in screen displays and examples, and to introduce
new terms.
courier
is used for system output (for example, screen displays, reports),
examples, and system prompts.
<Enter>, <Return> or <CR>
<CR> represents the carriage return or Enter key.
CTRL
represents the Control key. Execute control characters by pressing the
Ctrl key and the letter simultaneously, for example, Ctrl-d.
xviii
In this manual, assertion and negation are used to specify forcing a signal
to a particular state. In particular, assertion and assert refer to a signal that
is active or true; negation and negate indicate a signal that is inactive or
false. These terms are used independently of the voltage level (high or low)
that they represent.
Data and address sizes are defined as follows:
❏ A byte is eight bits, numbered 0 through 7, with bit 0 being the least
significant.
❏ A word is 16 bits, numbered 0 through 15, with bit 0 being the least
significant.
❏ A longword is 32 bits, numbered 0 through 31, with bit 0 being the
least significant.
The terms control bit, status bit, true, and false are used extensively in this
document. The term control bit is used to describe a bit in a register that
can be set and cleared under software control. The term true is used to
indicate that a bit is in the state that enables the function it controls. The
term false is used to indicate that the bit is in the state that disables the
function it controls. In all tables, the terms 0 and 1 are used to describe the
actual value that should be written to the bit, or the value that it yields when
read. The term status bit is used to describe a bit in a register that reflects
a specific condition. The status bit can be read by software to determine
operational or exception conditions.
xix
1Hardware Preparation and
Installation 1
Introduction
This chapter provides a brief description of the MVME2400 Series VME
Processor Module. It also provides instructions for preparing and installing
the [Link] otherwise specified, the designation “MVME240x”
refers to all models of the MVME2400 series modules.
Description
The MVME240x is a PCI Mezzanine Card (PMC) carrier board. It is based
on the PowerPC™ 750 microprocessor, MPC750.
Two front panel cutouts provide access to PMC I/O. One double-width or
two single-width PMCs can be installed directly on the MVME240x.
Optionally, one or two PMCspan PCI expansion mezzanine modules can
be added to provide the capability of up to four additional PMC modules.
Two RJ-45 connectors on the front panel provide the interface to
10/100BaseT Ethernet, and to a debug serial port.
The following list is of equipment that is appropriate for use in an
MVME240x system:
❏ PMCspan PCI expansion mezzanine module
❏ Peripheral Component Interconnect (PCI) Mezzanine Cards
(PMC)s
❏ VMEsystem enclosure
❏ System console terminal
❏ Disk drives (and/or other I/O) and controllers
❏ Operating system (and/or application software)
1-1
Hardware Preparation and Installation
1
MVME240x Module
The MVME240x is a powerful, low-cost embedded VME controller and
intelligent PMC carrier board. It includes support circuitry such as ECC
SDRAM, PROM/Flash memory, and bridges to the Industry Standard
Architecture (ISA) bus and the VMEbus. The unit’s PMC carrier
architecture allows flexible configuration options and easy upgrades. It is
also designed to support one or two PMCs, plus one or two optional PCI
expansion mezzanine modules that each support up to two PMCs. The unit
occupies a single VMEmodule slot (except when optional PCI expansion
mezzanine modules are also used).
The MVME240x interfaces to the VMEbus via the P1 and P2 connectors,
which use the new 5-row 160-pin connectors as specified in the proposed
VME64 Extension Standard. It also draws +5V, +12V, and –12V power
from the VMEbus backplane through these two connectors. The +3.3V and
2.5V power, used for the PCI bridge chip and possibly for the PMC
mezzanine, is derived onboard from the +5V power.
Support for two IEEE P1386.1 PCI mezzanine cards is provided via eight
64-pin SMT connectors. Front panel openings are provided on the board
for the two PMC slots.
In addition, there are 64 pins of I/O from PMC slot 1 and 46 pins of I/O
from PMC slot 2 that are routed to P2. The two PMC slots may contain two
single-wide PMCs or one double-wide PMC. There are also two RJ-45
connectors on the front panel: one for the Ethernet 10BaseT/100BaseTX
interface, and one for the async serial debug port. The front panel also
includes reset and abort switches and status LEDs.
PMC slots, for a total of six slots including the two onboard the
MVME240x. The following table lists the PMCspan models that are
available for use with the MVME240x.
Table 1-1. PMCspan Models
Expansion Module Description
PMCSPAN-002 Primary PCI expansion mezzanine module. Allows two PMC
modules for the MVME240x. Includes 32-bit PCI bridge.
PMCSPAN-010 Secondary PCI expansion mezzanine module. Allows two
additional PMC modules for the MVME240x. Does not include
32-bit PCI bridge; requires a PMCSPAN-002.
VMEsystem Enclosure
Your MVME240x board must be installed in a VMEsystem chassis with
both P1 and P2 backplane connections. It requires a single slot, except
when PMCspan carrier boards are used. Allow one extra slot for each
PMCspan.
[Link] 1-3
Hardware Preparation and Installation
1
[Link] 1-5
Hardware Preparation and Installation
1
Unpacking Instructions
Note If the shipping carton is damaged upon receipt, request that the
carrier’s agent be present during the 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 equipment.
Hardware Configuration
To produce the desired configuration and ensure proper operation of the
MVME2400, you may need to carry out certain hardware modifications
before installing the module.
The MVME2400 provides software control over most options: by setting
bits in control registers after installing the module in a system, you can
modify its configuration. The MVME2400 control registers are described
in Chapter 3, Functional Description, and/or in the MVME2400 Series
VME Processor Module Programmer’s Reference Guide listed under
Appendix D, Related Documentation.
Some options, however, are not software-programmable. Such options are
controlled through manual installation or removal of header jumpers or
interface modules on the base board.
The MVME240x has been factory tested and is shipped with the
configurations described in the following sections. The MVME240x
factory-installed debug monitor, PPCBug, operates with those factory
settings.
[Link] 1-7
Computer Group Literature Center Web Site
VME BUS
12345678
U16 U21
U9
S3
189 190 U15 U20
J9
3 1
DS DS DS DS
1 2 3 4 3
8
U19 J8
1
DEBUG ETHERNET J5
Hardware Preparation and Installation
ABORT RESET
PORT SWITCH SWITCH PORT
1
S1 S2
J2 J3
PMC
CPU
BFL
MVME
240x
RST
ABT
DEBUG 10/100 BASET PCI MEZZANINE CARD PCI MEZZANINE CARD
2427 9812
1-8
1
MVME2400 Base Board Preparation
1
1 1
2 2
3 3
[Link] 1-9
Hardware Preparation and Installation
1
J9 J9 J9
1 1 1
2 2 2
3 3 3
1 16 1 16
ON ON
1
SRH0 = 0 SRH0 = 1
1
2
SRH1 = 0 SRH1 = 1
2
SRH2 = 0 SRH2 = 1
3
SRH3 = 0 SRH3 = 1
4
SRH4 = 0 SRH4 = 1
5
SRH5 = 0 SRH5 = 1
6
SRH6 = 0 SRH6 = 1
7
SRH7 = 0 SRH7 = 1
8
PMC Preparation
For a discussion of any configurable items on the PMCs, refer to the user’s
manual for the particular PMCs.
PMCspan Preparation
You will need to use an additional slot in the VME chassis for each
PMCspan expansion module you plan to use. Before installing a PMCspan
on the MVME240x, you must install the selected PMCs on the PMCspan.
Refer to the PMCspan PMCAdapter Carrier Module Installation and Use
manual for instructions.
[Link] 1-11
Hardware Preparation and Installation
1
Hardware Installation
The following paragraphs discuss installing PMCs onto the MVME240x,
installing PMCspan modules onto the MVME240x, installing the
MVME240x into a VME chassis, and connecting an optional system
console terminal.
Motorola strongly recommends that you use an antistatic wrist strap and a
Use ESD
conductive foam pad when installing or upgrading a system. Electronic
components, such as disk drives, computer boards, and memory modules,
can be extremely sensitive to electrostatic discharge (ESD). After
Wrist Strap
removing the component from its protective wrapper or from the system,
place the component flat on a grounded, static-free surface (and, in the case
of a board, component side up). Do not slide the component over any
surface.
If an ESD station is not available, you can avoid damage resulting from
ESD by wearing an antistatic wrist strap (available at electronics stores)
that is attached to an active electrical ground. Note that a system chassis
may not be grounded if it is unplugged.
Note This procedure assumes that you have read the user’s manual that
came with your PMCs.
1. Attach an ESD strap to your wrist. Attach the other end of the ESD
strap to the chassis as a ground. The ESD strap must be secured to
your wrist and to ground throughout the procedure.
2. Perform an operating system shutdown. Turn the AC or DC power
off and remove the AC cord or DC power lines from the system.
Remove chassis or system cover(s) as necessary for access to the
VME modules.
[Link] 1-13
Hardware Preparation and Installation
1
6. Insert the two short Phillips screws through the holes at the forward
corners of the PMC module, into the standoffs on the MVME240x.
Tighten the screws.
7. If installing two single-width PMCs, repeat the above procedure for
the second PMC.
Note This procedure assumes that you have read the user’s manual that
was furnished with the PMCspan, and that you have installed the
selected PMCs on the PMCspan according to the instructions
given in the PMCspan and PMC manuals.
1. Attach an ESD strap to your wrist. Attach the other end of the ESD
strap to the chassis as a ground. The ESD strap must be secured to
your wrist and to ground throughout the procedure.
2. Perform an operating system shutdown. Turn the AC or DC power
off and remove the AC cord or DC power lines from the system.
Remove chassis or system cover(s) as necessary for access to the
VME modules.
[Link] 1-15
Hardware Preparation and Installation
1
P4
J6
2081 9708
Note The screws have two different head diameters. Use the screws
with the smaller heads on the standoffs next to VMEbus
connectors P1 and P2.
Note This procedure assumes that you have read the user’s manual that
was furnished with the PMCspan, and that you have installed the
selected PMCs on the PMCspan according to the instructions
given in the PMCspan and PMC manuals.
1. Attach an ESD strap to your wrist. Attach the other end of the ESD
strap to the chassis as a ground. The ESD strap must be secured to
your wrist and to ground throughout the procedure.
2. Perform an operating system shutdown. Turn the AC or DC power
off and remove the AC cord or DC power lines from the system.
Remove chassis or system cover(s) as necessary for access to the
VME modules.
[Link] 1-17
Hardware Preparation and Installation
1
P3
J3
2065 9708
Note The screws have two different head diameters. Use the screws
with the smaller heads on the standoffs next to VMEbus
connectors P1 and P2.
[Link] 1-19
Hardware Preparation and Installation
1
MVME240x Installation
Before installing the MVME240x into your VME chassis, ensure that the
jumpers on the MVME240x J8, J9, and S3 switch are configured, as
previously described. This procedure assumes that you have already
installed the PMCspan(s) if desired, and any PMCs that you have selected.
Proceed as follows to install the MVME240x in the VME chassis:
1. Attach an ESD strap to your wrist. Attach the other end of the ESD
strap to the chassis as a ground. The ESD strap must be secured to
your wrist and to ground throughout the procedure.
2. Perform an operating system shutdown. Turn the AC or DC power
off and remove the AC cord or DC power lines from the system.
Remove chassis or system cover(s) as necessary for access to the
VME modules.
[Link] 1-21
Hardware Preparation and Installation
1
System Considerations
The MVME240x draws power from the VMEbus backplane connectors P1
and P2. P2 is also used for the upper 16 bits of data in 32-bit transfers, and
for the upper eight address lines in extended addressing mode. The
MVME240x may not function properly without its main board connected
to VMEbus backplane connectors P1 and P2.
Whether the MVME240x operates as a VMEbus master or as a VMEbus
slave, it is configured for 32 bits of address and 32 bits of data (A32/D32).
However, it handles A16 or A24 devices in the address ranges indicated in
Chapter 4, Programming Details. D8 and/or D16 devices in the system
must be handled by the PowerPC processor software. Refer to the memory
maps in Chapter 4, Programming Details.
The MVME240x contains shared onboard DRAM whose base address is
software-selectable. Both the onboard processor and off-board VMEbus
devices see this local DRAM at base physical address $00000000, as
programmed by the PPCBug firmware. This may be changed via software
to any other base address. Refer to the MVME240x Programmer’s
Reference Guide for more information.
If the MVME240x tries to access off-board resources in a nonexistent
location and is not system controller, and if the system does not have a
global bus timeout, the MVME240x waits forever for the VMEbus cycle
to complete. This will cause the system to lock up. There is only one
situation in which the system might lack this global bus timeout: when the
MVME240x is not the system controller and there is no global bus timeout
elsewhere in the system.
Multiple MVME240x boards may be installed in a single VME chassis.
Each must have a unique Universe address, selected by setting jumpers on
its J17 header, as described in MVME2400 Base Board Preparation. In
general, hardware multiprocessor features are supported.
Other MPUs on the VMEbus can interrupt, disable, communicate with,
and determine the operational status of the processor(s). One register of the
Universe set includes four bits that function as location monitors to allow
[Link] 1-23
2Operating Instructions
2
Overview
This chapter provides operating instructions for the MVME240x. This
includes information about powering up the system, and functionality of
the switches, status indicators, and I/O ports on the front panels of the
MVME240x and PMCspan modules.
Applying Power
After you have verified that all necessary hardware preparation has been
done, that all connections have been made correctly, and that the
installation is complete, you can power up the system. The MPU,
hardware, and firmware initialization process is performed by the PPCBug
firmware power-up or system reset. The firmware initializes the devices on
the MVME240x module in preparation for booting the operating system.
The firmware is shipped from the factory with an appropriate set of
defaults. In most cases there is no need to modify the firmware
configuration before you boot the operating system. Refer to Chapter 6,
Environment Modification for further information about modifying
defaults.
The following flowchart in Figure 2-1 shows the basic initialization
process that takes place during MVME240x system start-ups.
For further information on PPCbug, refer to the following items:
❏ Chapter 5, PPCBug
❏ Appendix C, Troubleshooting
❏ PPCBug documentation listed in Appendix D, Related
Documentation.
2-1
Operating Instructions
Switches 2
There are two switches (ABT and RST) located on the MVME240x front
panel.
ABT (S1)
When activated by software, the Abort switch, ABT, can generate an
interrupt signal from the base board to the processor at a user-
programmable level. The interrupt is normally used to abort program
execution and return control to the debugger firmware located in the
MVME240x Flash memory. The interrupt signal reaches the processor
module via ISA bus interrupt line IRQ8∗. The signal is also available from
the general purpose I/O port, which allows software to poll the Abort switch after
an IRQ8* interrupt and verify that it has been pressed.
The interrupter connected to the ABT switch is an edge-sensitive circuit,
filtered to remove switch bounce.
RST (S2)
The Reset switch, RST, resets all onboard devices and causes HRESET* to
be asserted in the MPC603 or MPC604. It also drives a SYSRESET*
signal if the MVME240x VME processor module is the system controller.
The Universe ASIC includes both a global and a local reset driver. When
the Universe operates as the VMEbus system controller, the reset driver
provides a global system reset by asserting the VMEbus signal
SYSRESET*. A SYSRESET* signal may be generated by the RESET
switch, a power-up reset, a watchdog timeout, or by a control bit in the
Miscellaneous Control Register (MISC_CTL) in the Universe ASIC.
SYSRESET* remains asserted for at least 200 ms, as required by the
VMEbus specification.
[Link] 2-3
Operating Instructions
DEBUG
BFL (DS1)
ABT
BFL
The yellow BFL LED indicates board failure; lights when RST
CPU
10/100 BASET
CPU (DS2)
The green CPU LED indicates CPU activity; lights when
the DBB* (Data Bus Busy) signal line on the processor
bus is active.
PMC1 (DS4)
The bottom green PMC LED indicates PCI activity; lights
when the PCI bus grant to PMC1 signal line on the PCI
PCI MEZZANINE CARD
10/100BaseT Port 2
The RJ-45 port on the front panel of the MVME240x labeled 10/100 BASET
supplies the Ethernet LAN 10BaseT/100Base TX interface, implemented
with a DEC 21140/21143 device.
Similarly, the Universe ASIC supplies an input signal and a control bit to
initiate a local reset operation. By setting a control bit, software can
maintain a board in a reset state, disabling a faulty board from participating
in normal system operation. The local reset driver is enabled even when
the Universe ASIC is not system controller. Local resets may be generated
by the RST switch, a power-up reset, a watchdog timeout, a VMEbus
SYSRESET*, or a control bit in the MISC_CTL register.
DEBUG Port
The RJ-45 port labeled DEBUG on the front panel of the MVME240x
supplies the MVME240x serial communications interface, implemented
via a UART PC16550 controller chip from National Semiconductor. It is
asynchronous only. This serial port is configured for EIA-232-D DTE, as
shown in Figure 2-2.
The DEBUG port may be used for connecting a terminal to the MVME240x
to serve as the firmware console for the factory installed debugger,
PPCBug. The port is configured as follows:
❏ 8 bits per character
❏ 1 stop bit per character
❏ Parity disabled (no parity)
❏ Baud rate = 9600 baud (default baud rate at power-up)
After power-up, the baud rate of the DEBUG port can be reconfigured by
using the debugger’s Port Format (PF) command. Refer to Chapter 5,
PPCBug and Chapter 6, Environment Modification for information about
the PPCBug.
[Link] 2-5
Operating Instructions
SOUT 4
RTS* 2
DTR* 8
SIN 5
CTS* 7
DCD* 1
3
6
PMC Slots 2
Two openings located on the front panel provide I/O
expansion by allowing access to one or two 4-port single-
wide or one 8-port double-wide PCI Mezzanine Card
(PMC), connected to the PMC connectors on the
MVME240x. Refer to Appendix B, Connector Pin
Assignments for additional information on pin assignments
for the PMC connectors.
PMC1
PMC2
Do not attempt to install any PMC boards without
! performing an operating system shutdown and following the
Warning procedures given in the user’s manual for the particular
[Link] 2-7
Operating Instructions
2 PMCspan
A PMCspan front panel is pictured on the previous page. The front panel
is the same for all PMCspan models.
There are two PMC slots, labeled PCI MEZZANINE CARD, which support
either two single-wide PMCs or one double-wide PMC.
The PMCspan board has two sets of three 32-bit connectors for PMC
interface to a secondary PCI bus and a user-specific I/O. It also has a P1
connector and a 5-row P2 connector for power and VMEbus I/O.
The PMCspan has two green LEDs on its front panel, one for each PMC
slot, labeled PMC2 and PMC1. Both LEDs are illuminated during reset. An
individual LED is illuminated whenever a PMC has been granted bus
mastership of the secondary PCI bus.
The right-most (lower) opening labeled PCI MEZZANINE CARD on the front
panel is Port 1.
The left-most (upper) opening labeled PCI MEZZANINE CARD on the front
panel is Port 2.
Features
The following table summarizes the features of the MVME240x.
Table 3-1. MVME240x Features
Feature Description
233 MHZ MPC750 PowerPC processor
Microprocessor 350 MHZ MPC750 PowerPC processor
450 MHZ MPC750 PowerPC processor
Form factor 6U VMEbus
Double-Bit-Error detect, Single-Bit-Error correct across 72 bits 32MB,
SDRAM
64MB, or 128MB SDRAM
Build-option for 1MB back side L2 Cache using late write or burst-
L2 Cache
mode SRAMS
Sockets for 1MB
Flash memory
8MB Soldered on-board
Memory Controller Hawk’s SMC (System Memory Controller)
PCI Host Bridge Hawk’s PHB (PCI Host Bridge)
Interrupt Controller Hawk’s MPIC (Multi-Processor Interrupt Controller)
3-1
Functional Description
General Description
The MVME240x is a VME processor module equipped with a PowerPC
604 RISC (MPC750) microprocessor. 3
As shown in the Features section, the MVME240x offers many standard
features desirable in a computer system—including Ethernet and debug
ports, Boot ROM, Flash memory, SDRAM, and interface for two PCI
Mezzanine Cards (PMCs), contained in a one-slot VME package. Its
flexible mezzanine architecture allows relatively easy upgrades of the I/O.
There are four standard buses on the MVME240x:
PowerPC Processor Bus ISA Bus
PCI Local Bus VMEbus
As shown in Figure 3-1, the PCI Bridge portion of the Hawk ASIC
provides the interface from the Processor Bus to the PCI. A W83C553
PCI/ISA Bridge (PIB) Controller device performs the bridge function
between PCI and ISA. The Universe ASIC device provides the interface
between the PCI Local Bus and the VMEbus. Part of the Hawk ASIC is the
ECC memory controller.
The Peripheral Component Interface (PCI) local bus is a key feature. In
addition to the on-board local bus peripherals, the PCI bus supports an
industry-standard mezzanine interface, IEEE P1386.1 PMC (PCI
Mezzanine Card).
Block Diagram
Figure 3-1 is a block diagram of the MVME2400’s overall architecture.
[Link] 3-3
Functional Description
Debug Connector
3 SDRAM
System
Processor Registers
MPC750
PCI Expansion
33MHz 32/64-bit PCI Local Bus
ISA Bus
ISA
Registers
serial port
Buffers
RJ45
RTC/NVRAM/WD
MK48T559
TL16C550
PMC Front I/O
UART
Slot2
Front Panel
PMC Front IO
SLot1
MPC750 Processor
The MVME240x can be ordered with a PowerPC 750 processor chip with
32MB to 512MB of ECC SDRAM, and up to 9MB of Flash memory.
3
The PowerPC 750 is a 64-bit processor with 32KB on-chip caches (32KB
data cache and 32KB instruction cache).
The PHB bridge controller portion of the Hawk ASIC provides the bridge
between the PowerPC microprocessor bus and the PCI local bus.
Electrically, the Hawk is a 64-bit PCI connection. Four programmable map
decoders in each direction provide flexible addressing between the
PowerPC microprocessor bus and the PCI local bus.
The power requirements for the MVME240x are shown in Table 3-2.
L2 Cache
The MVME2400 SBC utilizes a back-door L2 cache structure via the
MPC750 processor chip. The MCP750’s L2 cache is implemented with an
onchip 2-way set-associative tag memory and external direct-mapped
synchronous SRAMs for data storage. The external SRAMs are accessed
through a dedicated 72-bit wide (64 bits of data and 8 bits of parity) L2
cache port. The board is populated with 1MB of L2 cache SRAMs. The L2
cache can operate in copyback or writethru modes and supports system
cache coherency through snooping. Parity generation and checking may be
disabled by programming the MCP750 accordingly. Refer to the
MVME2400 Programmer’s Reference Guide for additional information.
[Link] 3-5
Functional Description
[Link] 3-7
Functional Description
[Link] 3-9
Functional Description
Assumptions
Certain assumptions have been made with regard to MVME2400
performance. Some things, which are assumed in making the previous
tables, include the following: 3
PPC60x Originated
❏ Count represents number of PPC60x bus clock cycles.
❏ Assumes write posting FIFO is initially empty.
❏ Does not include time taken to obtain grant for PPC60x bus. The
count starts on the same clock period that TS_ is asserted.
❏ PPC60x bus is idle at the time of the start of the transaction. (that is,
no pipelining effects).
❏ Cache aligned transfer, not critical word first.
❏ PCI medium responder with no zero states.
❏ One clock request/one clock grant PCI arbitration.
❏ Write posting enabled.
[Link] 3-11
Functional Description
PCI Originated
❏ Count represents number of PCI Bus clock cycles.
❏ Assumes write posting FIFO is initially empty
❏ L2 caching is not enabled, all transactions exclusively controlled by
the SMC.
❏ Does not include time taken to obtain grant for PCI Bus. The count
starts on the same clock period that FRAME_ is asserted.
❏ One clock request/one clock grant PPC60x bus arbitration.
❏ PPC60x bus traffic limited to PHB transactions only.
❏ Write posting and read ahead enabled.
❏ Default FIFO threshold settings.
❏ One cache line = 32 bytes.
SDRAM Memory
The MVME2400 SDRAM memory size can be 32MB, 64MB, or 128MB.
The SDRAM blocks are controlled by the Hawk ASIC which provides
single-bit error correction and double-bit error detection. ECC is
calculated over 72-bits.
The memory block size is dependant upon the SDRAM devices installed.
Installing five 64Mbit (16-bit data) devices provides 32MB of memory.
With 64Mbit (8bit data) devices, there are two blocks consisting of nine
devices each that total 64MB per block. In this case, either block can be
SDRAM Latency
The following table shows the performance summary for SDRAM when
operating at 100 MHz using PC100 SDRAM with a CAS_latency of 2. The
figure on the next page defines the times that are specified in the table.
Table 3-8. 60x Bus to SDRAM Access Timing (100 MHz/PC100 SDRAMs)
Access Time
ACCESS TYPE Comments
(tB1-tB2-tB3-tB4)
[Link] 3-13
Functional Description
Table 3-8. 60x Bus to SDRAM Access Timing (100 MHz/PC100 SDRAMs)
Access Time
ACCESS TYPE Comments
(tB1-tB2-tB3-tB4)
3
4-Beat Write after 4-Beat Write, 3-1-1-1 3-1-1-1 for the second burst
SDRAM Bank Active - Page Hit write after idle.
2-1-1-1 for subsequent burst
writes.
Notes
1. SDRAM speed attributes are programmed for the following:
CAS_latency = 2, tRCD = 2 CLK Periods, tRP = 2 CLK Periods,
tRAS = 5 CLK Periods, tRC = 7 CLK Periods, tDP = 2 CLK
Periods, and the swr_dpl bit is set in the SDRAM Speed Attributes
Register.
tB2
Notes
1. When the initial bus state is idle, tB1 reflects the number of CLK
periods from the rising edge of the CLK that drives TS_low, to the
rising edge of the CLK that samples the first TA_low.
2. When the bus is busy and TS_ is being asserted as soon as possible
after Hawk asserts AACK_ the back-to-back condition occurs.
When back-to-back cycles occur, tB1 reflects the number of CLK
periods from the rising edge of the CLK that samples the last TA_
[Link] 3-15
Functional Description
low of a data tenure to the rising edge of the CLK that samples the
first TA_ low of the next data tenure.
3. The tB2 function reflects the number of CLK periods from the rising
3 edge of the CLK that samples the first TA_ low in a burst data tenure
to the rising edge of the CLK that samples the second TA_ low in
that data tenure.
4. The tB3 function reflects the number of CLK periods from the rising
edge of the CLK that samples the second TA_ low in a burst data
tenure to the rising edge of the CLK that samples the third TA_ low
in that data tenure.
5. The tB4 function reflects the number of CLK periods from the rising
edge of the CLK that samples the third TA_ low in a burst data
tenure to the rising edge of the CLK that samples the last TA_ low
in that data tenure.
Flash Memory
The MVME240x base board contains two banks of Flash memory. Bank
B consists of two 32-pin devices which can be populated with 1MB of
Flash memory. Only 8-bit writes are supported for this bank. Bank A has
four 16-bit Smart Voltage Flash SMT devices. With the 16Mbit Flash
devices, the Flash size is 8MB. A jumper header associated with the first
set of eight Flash devices provides a total of 128KB of hardware-protected
boot block. Only 32-bit writes are supported for this bank of Flash. There
will be a jumper to tell the Hawk chip where to fetch the reset vector. When
the jumper is installed, the Hawk chip maps 0xFFF00100 to these sockets
(Bank B).
The onboard monitor/debugger, PPCBug, resides in the Flash chips.
PPCBug provides functionality for:
❏ Booting the system
❏ Initializing after a reset
❏ Displaying and modifying configuration variables
❏ Running self-tests and diagnostics
ROM/Flash Performance
The SMC provides the interface for two blocks of ROM/Flash. Access
times to ROM/Flash are programmable for each block. Access times are
also affected by block width. The following tables in this subsection show
access times for ROM/Flash when configured for different device access
times.
Table 3-9. PPC Bus to ROM/Flash Access Timing (120ns @ 100 MHz)
CLOCK PERIODS REQUIRED FOR: Total
1st Beat 2nd Beat 3rd Beat 4th Beat Clocks
ACCESS TYPE
16 64 16 64 16 64 16 64 16 64
Bits Bits Bits Bits Bits Bits Bits Bits Bits Bits
1-Beat Write 21 21 - - - - - - 21 21
[Link] 3-17
Functional Description
Table 3-10. PPC Bus to ROM/Flash Access Timing (80ns @ 100 MHz)
CLOCK PERIODS REQUIRED FOR: Total
3 Clocks
1st Beat 2nd Beat 3rd Beat 4th Beat
ACCESS TYPE
16 64 16 64 16 64 16 64 16 64
Bits Bits Bits Bits Bits Bits Bits Bits Bits Bits
1-Beat Write 21 21 - - - - - - 21 21
1-Beat Write 21 21 - - - - - - 21 21
Table 3-12. PPC Bus to ROM/Flash Access Timing (30ns @ 100 MHz)
CLOCK PERIODS REQUIRED FOR: Total
Clocks
3
1st Beat 2nd Beat 3rd Beat 4th Beat
ACCESS TYPE
16 64 16 64 16 64 16 64 16 64
Bits Bits Bits Bits Bits Bits Bits Bits Bits Bits
1-Beat Write 21 21 - - - - - - 21 21
Ethernet Interface
The MVME240x module uses Intel’s DECchip 21143 PCI Fast Ethernet
LAN controller to implement an Ethernet interface that supports
10BaseT/100BaseTX connections, via an RJ-45 connector on the front
panel. The balanced differential transceiver lines are coupled via on-board
transformers.
Every MVME240x is assigned an Ethernet station address. The address is
$08003E2xxxxx, where xxxxx is the unique 5-nibble number assigned to
the board (that is, every board has a different value for xxxxx).
Each MVME240x displays its Ethernet station address on a label attached
to the base board in the PMC connector keepout area just behind the front
panel. In addition, the six bytes including the Ethernet station address are
stored in the NVRAM (BBRAM) configuration area specified by boot
ROM. That is, the value 08003E2xxxxx is stored in NVRAM. The
MVME240x debugger, PPCBug, has the capability to retrieve the Ethernet
station address via the CNFG command.
[Link] 3-19
Functional Description
Note The unique Ethernet address is set at the factory and should not
be changed. Any attempt to change this address may create node
or bus contention and thereby render the board inoperable.
3
If the data in NVRAM is lost, use the number on the label in the PMC
connector keepout area to restore it.
For the pin assignments of the 10BaseT/100BaseTX connector, refer to
Appendix B, Connector Pin Assignments.
At the physical layer, the Ethernet interface bandwidth is 10Mbit/second
for 10BaseT. For the 100BaseTX, it is 100Mbit/second. Refer to the
BBRAM/TOD Clock memory map description in the MVME2400 Series
VME Processor Module Programmer’s Reference Guide for detailed
programming information.
For P2 I/O configurations, all I/O pins of PMC slot 1 are routed to the
5-row power adapter card. Pins 1 through 64 of J14 are routed to row C and
row A of P2.
For P2 I/O configurations, 46 I/O pins of PMC slot 2 are routed to the
5-row power adapter card. Pins 1 through 46 of J24 are routed to row D
and row Z of P2.
[Link] 3-21
Functional Description
PCI Expansion
The PMCspan expansion module connector, J6, is a 114-pin Mictor
connector. It is located near P2 on the primary side of the MVME240x. Its
interrupt lines are routed to the MPIC.
VMEbus Interface
The VMEbus interface is implemented with the CA91C142 Universe
ASIC. The Universe chip interfaces the 32/64-bit PCI local bus to the
VMEbus.
The Universe ASIC provides:
❏ The PCI-bus-to-VMEbus interface
❏ The VMEbus-to-PCI-bus interface
❏ The DMA controller functions of the local VMEbus
The Universe chip includes Universe Control and Status Registers
(UCSRs) for interprocessor communications. It can provide the VMEbus
system controller functions as well. For detailed programming
information, refer to the Universe User’s Manual and to the discussions in
the MVME2400 Series VME Processor Module Programmer's Reference
Guide.
[Link] 3-23
Functional Description
[Link] 3-25
Functional Description
Programmable Timers
Among the resources available to the local processor are a number of
programmable timers. Timers are incorporated into the PCI/ISA Bridge
3 (PIB) controller and the Hawk device (diagrammed in Figure 3-1 on page
3-4). They can be programmed to generate periodic interrupts to the
processor.
Interval Timers
The PIB controller has three built-in counters that are equivalent to those
found in an 82C54 programmable interval timer. The counters are grouped
into one timer unit, Timer 1, in the PIB controller. Each counter output has
a specific function:
❏ Counter 0 is associated with interrupt request line IRQ0. It can be
used for system timing functions, such as a timer interrupt for a
time-of-day function.
❏ Counter 1 generates a refresh request signal for ISA memory. This
timer is not used in the MVME240x.
❏ Counter 2 provides the tone for the speaker output function on the
PIB controller (the SPEAKER_OUT signal which can be cabled to an
external speaker via the remote reset connector). This function is not
used on the MVME240x.
The interval timers use the OSC clock input as their clock source. The
MVME240x drives the OSC pin with a 14.31818 MHz clock source.
16/32-Bit Timers
There is one 16-bit timer and four 32-bit timers on the MVME240x. The
16-bit timer is provided by the PIB. The Hawk device provides the four 32-
bit timers that may be used for system timing or to generate periodic
interrupts. For information on programming these timers, refer to the data
sheet for the W83C553 PIB controller and to the MVME2400 Series VME
Processor Module Programmer’s Reference Guide.
Memory Maps
There are multiple buses on the MVME240x and each bus domain has its
own view of the memory map. The following sections describe the
MVME240x memory organization from the following three points of
view:
❏ The mapping of all resources as viewed by the MPU (processor bus
memory map)
❏ The mapping of onboard resources as viewed by PCI local bus
masters (PCI bus memory map)
❏ The mapping of onboard resources as viewed by VMEbus masters
(VMEbus memory map)
Additional, more detailed memory maps can be found in the MVME2400
Series VME Processor Module Programmer’s Reference Guide.
4-1
Programming Details
[Link] 4-3
Programming Details
Programming Considerations
Good programming practice dictates that only one MPU at a time have
control of the MVME240x control registers. Of particular note are:
❏ Registers that modify the address map
4 ❏ Registers that require two cycles to access
❏ VMEbus interrupt request registers
PCI Arbitration
There are seven potential PCI bus masters on the MVME240x:
❏ Hawk ASIC (MPU/PCI bus bridge controller)
❏ Winbond W83C553 PIB (PCI/ISA bus bridge controller)
❏ DECchip 21143 Ethernet controller
❏ Universe II ASIC (PCI/VME bus bridge controller)
❏ PMC Slot 1 (PCI mezzanine card)
❏ PMC Slot 2 (PCI mezzanine card)
❏ PCI Expansion Slot
The Winbond W83C553 PIB device supplies the PCI arbitration support
for these seven types of devices. The PIB supports flexible arbitration
modes of fixed priority, rotating priority, and mixed priority, as
appropriate in a given application. Details on PCI arbitration can be found
in the MVME2400 Series VME Processor Module Programmer’s
Reference Guide.
ONBOARD
MEMORY 4
PROGRAMMABLE
SPACE
NOTE 2
NOTE 1
PCI MEMORY
SPACE
VME A24
VME A16
VME A16
PCI
I/O SPACE VME A24
VME A16
MPC
RESOURCES
[Link] 4-5
Programming Details
Interrupt Handling
The Hawk ASIC, which controls the PHB (PCI Host Bridge) and the
MPU/local bus interface functions on the MVME240x, performs interrupt
handling as well. Sources of interrupts may be any of the following:
❏ The Hawk ASIC itself (timer interrupts, transfer error interrupts, or
memory error interrupts)
❏ The processor (processor self-interrupts)
❏ The PCI bus (interrupts from PCI devices)
❏ The ISA bus (interrupts from ISA devices)
Figure 4-2 illustrates interrupt architecture on the MVME240x. For details
on interrupt handling, refer to the MVME2400 Series VME Processor
Module Programmer’s Reference Guide.
INT
INT_
4
PIB Processor
(8529 Pair)
MCP_
Hawk MPIC
SERR_& PERR_
PCI Interrupts
ISA Interrupts
11559.00 9609
[Link] 4-7
Programming Details
The MVME240x routes the interrupts from the PMCs and PCI expansion
slots as follows:
INTA# INTB# INTC# INTD# INTA# INTB# INTC# INTD# INTA# INTB# INTC# INTD#
DMA Channels
The PIB supports seven DMA channels. They are not functional on the
MVME240x.
Sources of Reset
The MVME240x has eight potential sources of reset:
1. Power-on reset
2. RST switch (resets the VMEbus when the MVME240x is system
controller)
3. Watchdog timer Reset function controlled by the SGS-Thomson
MK48T59 TIMEKEEPER device (resets the VMEbus when the
MVME240x is system controller)
4. ALT_RST∗ function controlled by the Port 92 register in the PIB
(resets the VMEbus when the MVME240x is system controller)
5. PCI/ISA I/O Reset function controlled by the Clock Divisor register
in the PIB
6. The VMEbus SYSRESET∗ signal
Table 4-3 shows which devices are affected by the various types of resets.
For details on using resets, refer to the MVME2400 Series VME Processor
Module Programmer’s Reference Guide.
Power-On reset √ √ √ √ √
Reset switch √ √ √ √ √
Watchdog reset √ √ √ √ √
VME √ √ √ √ √
SYSRESET∗signal
VME System SW √ √ √ √ √
reset
[Link] 4-9
Programming Details
Endian Issues
The MVME240x supports both little-endian (for example, Windows NT)
and big-endian (for example, AIX) software. The PowerPC processor and
the VMEbus are inherently big-endian, while the PCI bus is inherently
little-endian. The following sections summarize how the MVME240x
4 handles software and hardware differences in big- and little-endian
operations. For further details on endian considerations, refer to the
MVME2400 Series VME Processor Module Programmer’s Reference
Guide.
Processor/Memory Domain
The MPC750 processor can operate in both big-endian and little-endian
mode. However, it always treats the external processor/memory bus as
big-endian by performing address rearrangement and reordering when
running in little-endian mode. The MPC registers in the Hawk MPU/PCI
bus bridge controller, SMC memory controller, as well as DRAM, Flash,
and system registers, always appear as big-endian.
PCI Domain
The PCI bus is inherently little-endian. All devices connected directly to
the PCI bus operate in little-endian mode, regardless of the mode of
operation in the processor’s domain.
VMEbus Domain
The VMEbus is inherently big-endian. All devices connected directly to
the VMEbus must operate in big-endian mode, regardless of the mode of
operation in the processor’s domain.
In big-endian mode, byte-swapping is performed first by the Universe
ASIC and then by the PHB. The result is transparent to big-endian
software (a desirable effect).
In little-endian mode, however, software must take the byte-swapping
effect of the Universe ASIC and the address reverse-rearranging effect of
the PHB into account.
For further details on endian considerations, refer to the MVME2400
Series VME Processor Module Programmer’s Reference Guide.
[Link] 4-11
5PPCBug
5
PPCBug Overview
The PPCBug firmware is the layer of software just above the hardware.
The firmware provides the proper initialization for the devices on the
MVME240x module upon power-up or reset.
This chapter describes the basics of the PPCBug and its architecture, along
with the monitor (interactive command portion of the firmware), and gives
information on using the PPCBug and the special commands. A complete
list of PPCBug commands appears at the end of the chapter.
Chapter 6, Environment Modification contains information about the
CNFG and ENV commands, system calls, and other advanced user topics.
For full user information about PPCbug, refer to the PPCBug Firmware
Package User’s Manual and the PPCBug Diagnostics Manual, listed in
Appendix D, Related Documentation.
PPCBug Basics
The PowerPC debug firmware, PPCBug, is a powerful evaluation and
debugging tool for systems built around the Motorola PowerPC
microcomputers. Facilities are available for loading and executing user
programs under complete operator control for system evaluation.
PPCBug provides a high degree of functionality, user friendliness,
portability, and ease of maintenance.
It achieves good portability and comprehensibility because it was written
entirely in the C programming language, except where necessary to use
assembler functions.
5-1
PPCBug
Memory Requirements
PPCBug requires a maximum of 768KB of read/write memory (that is,
DRAM). The debugger allocates this space from the top of memory. For
example, a system containing 64MB ($04000000) of read/write memory
will place the PPCBug memory page at locations $03F40000 to
$03FFFFFF.
PPCBug Implementation 5
PPCBug is written largely in the C programming language, providing
benefits of portability and maintainability. Where necessary, assembly
language has been used in the form of separately compiled program
modules containing only assembler code. No mixed-language modules are
used.
Physically, PPCBug is contained in two socketed 32-pin PLCC Flash
devices that together provide 1MB of storage. The executable code is
checksummed at every power-on or reset firmware entry, and the result
(which includes a precalculated checksum contained in the Flash devices),
is verified against the expected checksum.
[Link] 5-3
PPCBug
Using PPCBug
PPCBug is command-driven; it performs its various operations in response
to commands that you enter at the keyboard. When the PPC4-Bug prompt
appears on the screen, the debugger is ready to accept debugger
commands. When the PPC4-Diag prompt appears on the screen, the
debugger is ready to accept diagnostics commands. To switch from one
mode to the other, enter SD.
What you key in is stored in an internal buffer. Execution begins only after
you press the Return or Enter key. This allows you to correct entry errors,
if necessary, with the control characters described in the PPCBug
Firmware Package User’s Manual.
[Link] 5-5
PPCBug
Debugger Commands
The individual debugger commands are listed in the following table. The
commands are described in detail in the PPCBug Firmware Package
User’s Manual.
Note You can list all the available debugger commands by entering the
Help (HE) command alone. You can view the syntax for a
particular command by entering HE and the command
mnemonic, as listed below.
Command Description
AS One Line Assembler 5
BC Block of Memory Compare
BF Block of Memory Fill
BI Block of Memory Initialize
BM Block of Memory Move
BR Breakpoint Insert
NOBR Breakpoint Delete
BS Block of Memory Search
BV Block of Memory Verify
CACHE Modify Cache State
CM Concurrent Mode
NOCM No Concurrent Mode
CNFG Configure Board Information Block
CS Checksum
CSAR PCI Configuration Space READ Access
CSAW PCI Configuration Space WRITE Access
DC Data Conversion
DS One Line Disassembler
DU Dump S-Records
ECHO Echo String
ENV Set Environment
FORK Fork Idle MPU at Address
FORKWR Fork Idle MPU with Registers
[Link] 5-7
PPCBug
Command Description
GD Go Direct (Ignore Breakpoints)
GEVBOOT Global Environment Variable Boot
GEVDEL Global Environment Variable Delete
GEVDUMP Global Environment Variable(s) Dump
GEVEDIT Global Environment Variable Edit
5
GEVINIT Global Environment Variable Initialization
GEVSHOW Global Environment Variable(s) Display
GN Go to Next Instruction
G, GO Go Execute User Program
GT Go to Temporary Breakpoint
HE Help
IDLE Idle Master MPU
IOC I/O Control for Disk
IOI I/O Inquiry
IOP I/O Physical (Direct Disk Access)
IOT I/O Teach for Configuring Disk Controller
IRD Idle MPU Register Display
IRM Idle MPU Register Modify
IRS Idle MPU Register Set
LO Load S-Records from Host
MA Macro Define/Display
NOMA Macro Delete
MAE Macro Edit
MAL Enable Macro Listing
NOMAL Disable Macro Listing
MAR Load Macros
MAW Save Macros
Command Description
MD, MDS Memory Display
MENU System Menu
M, MM Memory Modify
MMD Memory Map Diagnostic
MS Memory Set
5
MW Memory Write
NAB Automatic Network Boot
NAP Nap MPU
NBH Network Boot Operating System, Halt
NBO Network Boot Operating System
NIOC Network I/O Control
NIOP Network I/O Physical
NIOT Network I/O Teach (Configuration)
NPING Network Ping
OF Offset Registers Display/Modify
PA Printer Attach
NOPA Printer Detach
PBOOT Bootstrap Operating System
PF Port Format
NOPF Port Detach
PFLASH Program FLASH Memory
PS Put RTC into Power Save Mode
RB ROMboot Enable
NORB ROMboot Disable
RD Register Display
REMOTE Remote
RESET Cold/Warm Reset
[Link] 5-9
PPCBug
Command Description
RL Read Loop
RM Register Modify
RS Register Set
RUN MPU Execution/Status
SD Switch Directories
5
SET Set Time and Date
SROM SROM Examine/Modify
SYM Symbol Table Attach
NOSYM Symbol Table Detach
SYMS Symbol Table Display/Search
T Trace
TA Terminal Attach
TIME Display Time and Date
TM Transparent Mode
TT Trace to Temporary Breakpoint
VE Verify S-Records Against Memory
VER Revision/Version Display
WL Write Loop
Diagnostic Tests
The PPCBug hardware diagnostics are intended for testing and
troubleshooting the MVME240x module.
In order to use the diagnostics, you must switch to the diagnostic directory.
You may switch between directories by using the SD (Switch Directories)
command. You may view a list of the commands in the directory that you
are currently in by using the HE (Help) command.
If you are in the debugger directory, the debugger prompt PPC4-Bug> 5
displays, and all of the debugger commands are available. Diagnostics
commands cannot be entered at the
PPC4-Bug> prompt.
[Link] 5-11
PPCBug
Notes
1. You may enter command names in either uppercase or lowercase.
2. 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.
3. Test Sets marked with an asterisk (*) are not available on the
MVME240x.
6-1
Environment Modification
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.
The Board Information Block is factory-configured before shipment.
There is no need to modify block parameters unless the NVRAM is
corrupted.
Refer to the MVME2400 Series VME Processor Module Programmer’s
Reference Guide, listed in Appendix D, Related Documentation, for the
actual location and other information about the Board Information Block.
Refer to the PPCBug Firmware Package User's Manual for a description
of CNFG and examples.
[Link] 6-3
Environment Modification
[Link] 6-5
Environment Modification
6
NVRAM Bootlist ([Link]-boot-path) Boot at power-up only [Y/N] = N?
The time in seconds that a boot from the NVRAM boot list 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-255 seconds. (Default = 5 seconds)
Auto Boot Enable [Y/N] = N?
The time in seconds that the Autoboot 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-255 seconds. (Default = 7 seconds)
[Link] 6-7
Environment Modification
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-255 seconds. (Default = 5 seconds)
ROM Boot Direct Starting Address = FFF00000?
The time in seconds that the NETboot 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-255 seconds. (Default = 5 seconds)
Network Auto Boot Configuration Parameters Offset (NVRAM) =
00001000?
[Link] 6-9
Environment Modification
The default setting for this parameter will vary depending on the speed
of the DRAM memory parts installed on the board. The default is set
to the slowest speed found on the available banks of DRAM memory.
ROM First Access Length (0 - 31) = 10?
Note This parameter (above) also applies to enabling ECC for DRAM.
[Link] 6-11
Environment Modification
[Link] 6-13
Environment Modification
[Link] 6-15
Environment Modification
The configured value is written into the SLSI register of the Universe
chip.
Master Control Register = 80C00000?
[Link] 6-17
ASpecifications
A
Specifications
The following table lists the general specifications for the MVME240x
VME processor module. The later sections provide information on cooling
requirements and EMC regulatory compliance.
Specifications for the optional PMCs can be found in the documentation
for those modules.
Table A-1. Specifications
Characteristics Specifications
MPU MPC750 @ 16KB/16KB I/D on-chip cache
233 MHz
MPC750 @ 32KB/32KB I/D on-chip cache
350 MHz
MPC750 @ 32KB/32KB I/D on-chip cache
450 MHz
Memory SDRAM 32MB, 64MB, or 128MB
ECC-protected
Flash 1MB via two 32-pin PLCC sockets
8MB via surface mount
TOD clock device M48T559 8KB NVRAM
Timers One watchdog timer; time-out generates reset
Four real-time 16-bit programmable timers
Power requirements, +12Vdc, 0mA +5Vdc (±5%), 4A typical, 4.75A maximum
with no PMCs installed –12Vdc, 0mA with MP603
(See Note) (typical) +5Vdc (±5%), 4.5A typical, 5.5A maximum
with MP604
Operating temperature 0° C to 55° C entry air with forced-air cooling (refer to Cooling
Requirements)
Storage temperature –40° C to +85° C
A-1
Specifications
A
Note The power requirement listed for the MVME240x does not
include the power requirements for the PMC slots. The PMC
specification allows for 7.5 watts per PMC slot. The 15 watts
total can be drawn from any combination of the four voltage
sources provided by the MVME240x: +3.3V, +5V, +12V, and
–12V.
Cooling Requirements
The MVME240x VME processor Module is designed and tested to operate
reliably with an incoming air temperature range from 0° to 55° C (32° to
131° F) with forced air cooling of the entire assembly (base board and
modules) at a velocity typically achievable by using a 100 CFM axial fan.
Temperature qualification is performed in a standard Motorola
VMEsystem chassis. Twenty-five-watt load boards are inserted in two
card slots (one on each side adjacent to the board under test) to simulate a
high power density system configuration. An assembly of three axial fans,
rated at 100 CFM per fan, is placed directly under the VME card cage. The
incoming air temperature is measured between the fan assembly and the
card cage, where the incoming airstream first encounters the module under
test.
Test software is executed as the module is subjected to ambient
temperature variations. Case temperatures of critical, high power density
integrated circuits are monitored to ensure component vendors’
specifications are not exceeded.
[Link] A-3
Specifications
A
While the exact amount of airflow required for cooling depends on the
ambient air temperature and the type, number, and location of boards and
other heat sources, adequate cooling can usually be achieved with 10 CFM
and 490 LFM flowing over the module. Less airflow is required to cool the
module in environments having lower maximum ambients. Under more
favorable thermal conditions, it may be possible to operate the module
reliably at higher than 55° C with increased airflow.
It is important to note that there are several factors, in addition to the rated
CFM of the air mover, which determine the actual volume and speed of air
flowing over a module.
Pin Assignments
The following tables furnish pin assignments only. For detailed
descriptions of the various interconnect signals, consult the support
information documentation for the MVME240x.
B-1
Connector Pin Assignments
B VMEbus Connector – P1
Two 160-pin DIN type connectors, P1 and P2, supply the interface
between the base board and the VMEbus. P1 provides power and VME
signals for 24-bit addressing and 16-bit data. Its pin assignments are set by
the IEEE P1014-1987 VMEbus Specification and the VME64 Extension
Standard. They are listed in the following table.
VMEbus Connector – P2
Row B of the P2 connector provides power to the MVME240x, the upper
eight VMEbus lines, and additional 16 VMEbus data lines as specified by
the VMEbus specification Rows A, C, Z, and D of the P2 connector
.
[Link] B-3
Connector Pin Assignments
[Link] B-5
Connector Pin Assignments
[Link] B-7
Connector Pin Assignments
[Link] B-9
Connector Pin Assignments
[Link] B-11
Connector Pin Assignments
[Link] B-13
Connector Pin Assignments
[Link] B-15
Connector Pin Assignments
[Link] B-17
Connector Pin Assignments
Table B-9. J21 and J22 PMC2 Connector Pin Assignments (Continued)
B
49 AD09 +5V (Vio) 50 49 AD08 +3.3V 50
51 GND C/BE0# 52 51 AD07 Not Used 52
53 AD06 AD05 54 53 +3.3V Not Used 54
55 AD04 GND 56 55 Not Used GND 56
57 +5V AD03 58 57 Not Used Not Used 58
59 AD02 AD01 60 59 GND Not Used 60
61 AD00 +5V (Vio) 62 61 ACK64# +3.3V 62
63 GND REQ64# 64 63 GND Not Used 64
Table B-10. J23 and J24 PMC2 Connector Pin Assignments (Continued)
B
39 +5V (Vio) AD44 40 39 PMC2_39 (P2-D26) PMC2_40 (P2-D27) 40
41 AD43 AD42 42 41 PMC2_41 (P2-Z27) PMC2_42 (P2-D28) 42
43 AD41 GND 44 43 PMC2_43 (P2-D29) PMC2_44 (P2-Z29) 44
45 GND AD40 46 45 PMC2_45 (P2-D30) PMC2_46 (P2-Z31) 46
47 AD39 AD38 48 47 Not Used Not Used 48
49 AD37 GND 50 49 Not Used Not Used 50
51 GND AD36 52 51 Not Used Not Used 52
53 AD35 AD34 54 53 Not Used Not Used 54
55 AD33 GND 56 55 Not Used Not Used 56
57 +5V (Vio) AD32 58 57 Not Used Not Used 58
59 Reserved Reserved 60 59 Not Used Not Used 60
61 Reserved GND 62 61 Not Used Not Used 62
63 GND Reserved 64 63 Not Used Not Used 64
[Link] B-19
CTroubleshooting
C
Solving Startup Problems
In the event problems arise with the operation of your module, perform the
troubleshooting steps in this appendix prior to calling for help or sending
the 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. The self-tests may not run in all user-
customized environments.
Table C-1. Troubleshooting MVME240x Modules
Condition Possible Problem Try This:
I. Nothing works, no A. If the CPU LED is 1. Make sure the system is plugged in.
display on the not lit, the board 2. Check that the board is securely installed in its
terminal. may not be getting backplane or chassis.
correct power. 3. Check that all necessary cables are connected to
the board, per this manual.
4. Check for compliance with Installation
Considerations, per this manual.
5. Review the Installation and Startup procedures,
per this manual. They include a step-by-step
power-up routine. Try it.
B. If the LEDs are lit, 1. The VME processor module should be in the first
the board may be (left-most) slot.
in the wrong slot. 2. Also check that the “system controller” function
on the board is enabled, per this manual.
C. The “system Configure the system console terminal per this
console” terminal manual.
may be configured
incorrectly.
C-1
Troubleshooting
(continues>)
[Link] C-3
Troubleshooting
[Link] C-5
DRelated Documentation
D
Motorola Computer Group Documents
The Motorola publications listed below are referenced in this manual. You
can obtain paper or electronic copies of Motorola Computer Group
publications by:
❏ Contacting your local Motorola sales office
❏ Visiting MCG’s World Wide Web literature site
[Link]
Table D-1. Motorola Computer Group Documents
Motorola
Document Title Publication
Number
MVME2400 Series VME Processor Module Installation and V2400A/IH
Use
MVME2400 Series VME Processor Module Programmer’s V2400A/PG
Reference Guide
PPCBug Firmware Package User’s Manual (Parts 1 and 2) PPCBUGA1/UM
PPCBUGA2/UM
PPCBug Diagnostics Manual PPCDIAA/UM
PMCspan PMC Adapter Carrier Module Installation and Use PMCSPANA/IH
D-1
Related Documentation
Manufacturers’ Documents
For additional information, refer to the following table for manufacturers’
data sheets and user’s manuals. For your convenience, a source for the
listed document is also provided.
Publication
Document Title and Source
Number
Publication
Document Title and Source
Number
W83C553 Enhanced System I/O Controller with PCI Arbiter (PIB) W83C553F
Winbond Electronics Corporation;
Web Site: [Link]
[Link] D-3
Related Documentation
Related Specifications
For additional information, refer to the following table for related
specifications. For your convenience, a source for the listed document is
also provided.
[Link] D-5
Glossary
GL-1
Glossary
[Link] GL-3
Glossary
[Link] GL-5
Glossary
[Link] GL-7
Glossary
[Link] GL-9
Glossary
[Link] GL-11
Glossary
IN-1
Index
[Link] IN-3
Index
[Link] IN-5
Index
W
Winbond PCI/ISA bus bridge controller
3-23, 4-4
Winbond W83C553
as PCI arbiter support 4-4
I
N
D
E
X
[Link] IN-7