Motorola MVME2301, MVME2302-900, MVME2301-900, MVME2303-900, MVME2304-900 Installation And Use Manual

...
Page 1
MVME2300 Series
VME Processor Module
Installation and Use
V2300A/IH4
June 2001 Edition
Page 2
© Copyright 2000, 2001 Motorola, Inc.
All rights reserved.
Printed in the United States of America.
PowerPC
Windows NT
®
and the Motorola symbol are registered trademarks of Motorola, Inc.
®
is a registered trademark of International Business Machines.
®
is a registered trademark of Microsoft Corporation in the United States
and/or other countries.
All other products mentioned in this document are trademarks or registered trademarks of their respective holders.
Page 3
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.
Ground the Instrument.
To minimize shock hazard, the equipment chassis and enclosure must be connected to an electrical ground. If the equipment is supplied with a three-conductor AC power cable, the power cable must be plugged into an approved three-contact electrical outlet, with the grounding wire (green/yellow) reliably connected to an electrical ground (safety ground) at the power outlet. The power jack and mating plug of the power cable meet International Electrotechnical Commission (IEC) safety standards and local electrical regulatory codes.
Do Not Operate in an Explosive Atmosphere.
Do not operate the equipment in any explosive atmosphere such as in the presence of flammable gases or fumes. Operation of any electrical equipment in such an environment could result in an explosion and cause injury or damage.
Keep Away From Live Circuits Inside the Equipment.
Operating personnel must not remove equipment covers. Only Factory Authorized Service Personnel or other qualified service personnel may remove equipment covers for internal subassembly or component replacement or any internal adjustment. Service personnel should not replace components with power cable connected. Under certain conditions, dangerous voltages may exist even with the power cable removed. To avoid injuries, such personnel should always disconnect power and discharge circuits before touching components.
Use Caution When Exposing or Handling a CRT.
Breakage of a Cathode-Ray Tube (CRT) causes a high-velocity scattering of glass fragments (implosion). To prevent CRT implosion, do not handle the CRT and avoid rough handling or jarring of the equipment. Handling of a CRT should be done only by qualified service personnel using approved safety mask and gloves.
Do Not Substitute Parts or Modify Equipment.
Do not install substitute parts or perform any unauthorized modification of the equipment. Contact your local Motorola representative for service and repair to ensure that all safety features are maintained.
Observe Warnings in Manual.
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.
To prevent serious injury or death from dangerous voltages, use extreme caution when handling, testing, and adjusting this equipment and its
Warning
components.
Page 4
Flammability
All Motorola PWBs (printed wiring boards) are manufactured with a flammability rating of 94V-0 by UL-recognized manufacturers.
EMI Caution
This equipment generates, uses and can radiate electromagnetic energy. It
!
Caution
This product contains a lithium battery to power the clock and calendar circuitry.
!
Caution
may cause or be susceptible to electromagnetic interference (EMI) if not installed and used with adequate EMI protection.
Lithium Battery Caution
Danger of explosion if battery is replaced incorrectly. Replace battery only with the same or equivalent type recommended by the equipment manufacturer. Dispose of used batteries according to the manufacturer’s instructions.
!
Attention
!
Vorsicht
Il y a danger d’explosion s’il y a remplacement incorrect de la batterie. Remplacer uniquement avec une batterie du même type ou d’un type équivalent recommandé par le constructeur. Mettre au rebut les batteries usagées conformément aux instructions du fabricant.
Explosionsgefahr bei unsachgemäßem Austausch der Batterie. Ersatz nur durch denselben oder einen vom Hersteller empfohlenen Typ. Entsorgung gebrauchter Batterien nach Angaben des Herstellers.
Page 5
CE Notice (European Community)
This is a Class A product. In a domestic environment, this product may
!
Warning
Motorola Computer Group 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 “Limits and Methods of Measurement of Radio Interference Characteristics of Information Technology Equipment”; this product tested to Equipment Class A
EN50082-1:1997 “Electromagnetic Compatibility—Generic Immunity Standard, Part
1. Residential, Commercial and Light Industry”
System products also fulfill EN60950 (product safety) which is essentially the requirement for the Low Voltage Directive (73/23/EEC).
Board products are tested in a representative system to show compliance with the above mentioned requirements. A proper installation in a CE-marked system will maintain the required EMC/safety performance.
cause radio interference, in which case the user may be required to take adequate measures.
In accordance with European Community directives, a “Declaration of Conformity” has been made and is on file within the European Union. The “Declaration of Conformity” is available on request. Please contact your sales representative.
Notice
While reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. 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 website. The text itself may not be published commercially in print or electronic form, edited, translated, or otherwise altered without the permission of Motorola, Inc.
Page 6
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
Page 7
Contents
About This Manual
Summary of Changes.................................................................................................xvi
Overview of Contents ................................................................................................xvi
Comments and Suggestions ......................................................................................xvii
Conventions Used in This Manual...........................................................................xviii
Terminology.............................................................................................................xviii
CHAPTER 1 Preparation and Installation
Introduction................................................................................................................1-1
Description.................................................................................................................1-1
MVME2300 Module...........................................................................................1-2
PMCspan Expansion Mezzanine ........................................................................1-3
PCI Mezzanine Cards (PMCs)............................................................................1-4
VMEsystem Enclosure .......................................................................................1-4
System Console Terminal ...................................................................................1-4
Overview of Start-Up Procedures..............................................................................1-5
Unpacking the MVME2300 Hardware......................................................................1-7
Preparing the MVME2300 Hardware........................................................................1-7
MVME2300 ........................................................................................................1-7
Setting the Flash Memory Bank A/Bank B Reset Vector Header (J15) ...1-10
Setting the VMEbus System Controller Selection Header (J16)...............1-10
Setting the General-Purpose Software-Readable Header (J17).................1-11
PMCs ................................................................................................................1-12
PMCspan...........................................................................................................1-12
System Console Terminal .................................................................................1-12
Installing the MVME2300 Hardware ......................................................................1-13
Preparing and Installing PMCs.........................................................................1-13
Installing the Primary PMCspan.......................................................................1-15
Installing a Secondary PMCspan......................................................................1-17
Installing the MVME2300 Module...................................................................1-19
Installation Considerations ...............................................................................1-21
CHAPTER 2 Operating Instructions
Introduction................................................................................................................2-1
vii
Page 8
Applying Power......................................................................................................... 2-1
Description................................................................................................................. 2-2
Switches.............................................................................................................. 2-2
ABT (S1).....................................................................................................2-3
RST (S2)......................................................................................................2-3
Status Indicators .................................................................................................2-4
BFL (DS1)................................................................................................... 2-4
CPU (DS2) ..................................................................................................2-4
PMC (DS3)..................................................................................................2-4
PMC (DS4)..................................................................................................2-4
10BaseT/100BaseTX Port..................................................................................2-4
DEBUG Port.......................................................................................................2-5
PMC Slots........................................................................................................... 2-6
PCI Mezzanine Card (PMC Slot 1)............................................................. 2-6
PCI Mezzanine Card (PMC Slot 2)............................................................. 2-6
PMCspan ................................................................................................................... 2-7
CHAPTER 3 Functional Description
Introduction ...............................................................................................................3-1
Features...................................................................................................................... 3-1
General Description................................................................................................... 3-3
Block Diagram...........................................................................................................3-3
MPC603/MCP604R Processor...........................................................................3-3
PCI Bus Latency ......................................................................................... 3-5
DRAM Memory .................................................................................................3-7
DRAM Latency........................................................................................... 3-8
Flash Memory...................................................................................................3-10
Flash Latency ............................................................................................3-11
Ethernet Interface .............................................................................................3-12
PCI Mezzanine Card (PMC) Interface ............................................................. 3-13
PMC Slot 1 (Single-Width PMC) .............................................................3-14
PMC Slot 2 (Single-Width PMC) .............................................................3-14
PMC Slots 1 and 2 (Double-Width PMC) ................................................3-15
PCI Expansion...........................................................................................3-15
VMEbus Interface ............................................................................................ 3-15
Asynchronous Debug Port................................................................................3-16
PCI-ISA Bridge (PIB) Controller.....................................................................3-16
Real-Time Clock/NVRAM/Timer Function.....................................................3-17
PCI Host Bridge ...............................................................................................3-18
Interrupt Controller (MPIC).............................................................................3-18
viii
Page 9
Programmable Timers.......................................................................................3-18
Interval Timers ..........................................................................................3-19
16/32-Bit Timers........................................................................................3-19
CHAPTER 4 Programming
Introduction................................................................................................................4-1
Memory Maps............................................................................................................4-1
Processor Bus Memory Map...............................................................................4-2
Default Processor Memory Map..................................................................4-2
PCI Local Bus Memory Map..............................................................................4-3
VMEbus Memory Map.......................................................................................4-3
Programming Considerations.....................................................................................4-4
PCI Arbitration ...................................................................................................4-4
Interrupt Handling...............................................................................................4-6
DMA Channels ...................................................................................................4-8
Sources of Reset..................................................................................................4-8
Endian Issues ......................................................................................................4-9
Processor/Memory Domain.......................................................................4-10
PCI Domain ...............................................................................................4-10
VMEbus Domain.......................................................................................4-11
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-10
CHAPTER 6 Modifying the Environment
Overview....................................................................................................................6-1
CNFG – Configure Board Information Block ...........................................................6-2
ENV – Set Environment ............................................................................................6-3
Configuring the PPCBug Parameters .................................................................6-3
Configuring the VMEbus Interface ..................................................................6-12
ix
Page 10
APPENDIX A Specifications
Specifications............................................................................................................A-1
Cooling Requirements .............................................................................................. A-3
EMC Regulatory Compliance .................................................................................. A-4
APPENDIX B Connector Pin Assignments
Introduction .............................................................................................................. B-1
Pin Assignments ....................................................................................................... B-1
VMEbus Connector - P1 ................................................................................... B-2
VMEbus Connector - P2 ................................................................................... B-3
Serial Port Connector - DEBUG (J2)................................................................ B-5
Ethernet Connector - 10BaseT/100BaseT (J3).................................................. B-5
CPU Debug Connector - J1............................................................................... B-6
PCI Expansion Connector - J18 .......................................................................B-11
PCI Mezzanine Card Connectors - J11 through J14 ....................................... B-14
PCI Mezzanine Card Connectors - J21 through J24 ....................................... B-16
APPENDIX C Troubleshooting
Solving Startup Problems ......................................................................................... C-1
APPENDIX D Related Documentation
Motorola Computer Group Documents.................................................................... D-1
Manufacturers’ Documents ...................................................................................... D-2
Related Specifications .............................................................................................. D-5
Abbreviations, Acronyms, and Terms to Know .....................................................GL-1
x
Page 11
List of Figures
Figure 1-1. MVME2300 Switches, LEDs, Headers, Connectors ..............................1-9
Figure 1-2. General-Purpose Software-Readable Header........................................1-11
Figure 1-3. Typical Single-width PMC Module Placement on MVME2300 ..........1-14
Figure 1-4. PMCspan-002 Installation on an MVME2300 .....................................1-16
Figure 1-5. PMCspan-010 Installation onto a PMCspan-002/MVME2300 ............1-18
Figure 2-1. MVME2300 DEBUG Port Configuration ..............................................2-5
Figure 3-1. MVME2300 Block Diagram...................................................................3-4
Figure 3-2. Memory Block Diagram .........................................................................3-8
Figure 4-1. VMEbus Master Mapping.......................................................................4-5
Figure 4-2. MVME2300 Interrupt Architecture ........................................................4-7
xi
Page 12
Page 13
List of T ables
Table 1-1. MVME2300 Models .................................................................................1-2
Table 1-2. PMCspan Models......................................................................................1-3
Table 1-3. Start-Up Overview....................................................................................1-5
Table 3-1. MVME2300 Features ...............................................................................3-1
Table 3-2. Power Requirements .................................................................................3-5
Table 3-3. MPC 60x Bus to PCI Access Timing .......................................................3-6
Table 3-4. PCI to ECC Memory Access Timing........................................................3-6
Table 3-5. MPC 60x Bus to DRAM Access Timing using 60ns Page Devices.........3-8
Table 3-6. MPC 60x Bus to DRAM Access Timing Using 50ns, EDO Devices ......3-9
Table 3-7. PowerPC 60x Bus to Flash Access Timing for Bank B (16-bit Port).....3-11
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-6
Table 5-2. Diagnostic Test Groups...........................................................................5-10
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. 10BaseT/100BaseT (J3) Connector Pin Assignments ...........................B-5
Table B-5. Debug Connector Pin Assignments .......................................................B-6
Table B-6. J18 - 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-16
Table B-10. J23 and J24 PMC2 Connector Pin Assignments ...............................B-18
Table C-1. Troubleshooting Problems .....................................................................C-1
xiii
Page 14
Page 15

About This Manual

The MVME2300 Series VME Processor Module Installation and Use
manual provides information to install and use your MVME2300 Series VME Processor Module (hereafter referred to as MVME2300 or module). The module is based on an MPC603 and/or MPC604R PowerPC microprocessor, and features dual PCI Mezzanine Card (PMC) slots with front panel and/or P2 I/O. The module is currently available in the
configurations listed in Chapter 1, Preparation and Installation.
The MVME2300 is compatible with the optional double-width or single­width PCI Mezzanine Cards and with the PMCspan PCI expansion mezzanine module. By utilizing the two onboard PMC slots and stacking the PMCspan(s), the MVME2300 provides support for up to six PMCs.
This manual includes hardware preparation and installation instructions, along with information on using the front panel, programming the board, using the PPCBug debugging firmware, and other advanced debugger topics. Appendices provide the module’s specifications and connector pin assignments.
The information in this manual applies principally to the MVME2300. The PMCspan and PMCs are described briefly in this manual and are fully documented in a separate publication. Refer to the individual product documentation for complete preparation and installation instructions.
These manuals are listed in Appendix D, Related Documentation.
This manual is intended for anyone who wants to design OEM systems, supply additional capability to an existing compatible system, or work in a lab environment for experimental purposes. A basic knowledge of computers and digital logic is assumed.
xv
Page 16

Summary of Changes

This is the fourth revision of the MVME2300 Series VME Processor Module Installation and Use manual. It supersedes the December 2000
edition and incorporates the following updates.
New Issue Date
December 2000
June 2001 All data referring to the VME CSR Bit Set Register
Changes Replaces
Addition of the 333 MHz product configurations. Correction to jumpering the J17 header. No jumpering required. Updated MVME2300 model numbers. Updated list of manufacturers’ documents and specifications, added URLs.
(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.

Overview of Contents

The following chapters and appendices are contained in this book.
Chapter 1, Preparation and Installation, provides a description of the
MVME2300 series VME processor module along with instructions for preparing and installing the module.
V2300A/IH2 April 1999
V2300A/IH3 December 2000
xvi
Chapter 2, Operating Instructions, provides information about powering
up an MVME2300 system, and a functional description of the switches, status indicators, and I/O ports on the front panels of the module and PMCspan.
Chapter 3, Functional Description, describes the MVME2300 VME
processor module on a block diagram level.
Chapter 4, Programming, provides basic information useful in
programming the MVME2300.
Page 17
Chapter 5, PPCBug, describes the basics of PPCBug and its architecture,
describes the monitor (interactive command portion of the firmware) in detail, and gives information on actually using the PPCBug debugger and the special commands.
Chapter 6, Modifying the Environment, 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
MVME2300 VME processor module.
Appendix B, Connector Pin Assignments, provides pin assignments for the
interconnect signals on the MVME2300 VME processor module.
Appendix C, Troubleshooting, provides simple troubleshooting tips for
your MVME2300 VME processor module.
Appendix D, Related Documentat ion, lists all documentation related to the
MVME2300 VME processor module.

Comments and Suggestions

Motorola welcomes and appreciates your comments on its documentation. We want to know what you think about our manuals and how we can make them better. Mail comments to:
Motorola Computer Group Reader Comments DW164 2900 S. Diablo Way Tempe, Arizona 85282
You can also submit comments to the following e-mail address:
n all your correspondence, please list your name, position, and company.
I Be sure to include the title and part number of the manual and tell how you used it. Then tell us your feelings about its strengths and weaknesses and any recommendations for improvements.
xvii
Page 18

Conventions Used in This Manual

The following typographical conventions are used in this document:
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.

Terminology

A character precedes a data or address parameter to specify the numeric format, as follows (if not specified, the format is hexadecimal):
xviii
$ Specifies a hexadecimal character 0x Specifies a hexadecimal number % Specifies a binary number & Specifies a decimal number
Page 19
An asterisk (*) following a signal name for signals that are l evel significant denotes that the signal is true or valid when the signal is low.
An asterisk (*) following a signal name for signals that are e dge significant
denotes that the actions initiated by that signal occur on high to low transition.
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:
Byte 8 bits, numbered 0 through 7, with bit 0 being the least significant.
Half word 16 bits, numbered 0 through 15, with bit 0 being the least significant.
Word 32 bits, numbered 0 through 31, with bit 0 being the least significant.
Double word 64 bits, numbered 0 through 63, with bit 0 being the least significant.
xix
Page 20
Page 21

1Preparation and Installation

Introduction

This chapter provides a description of the MVME2300 Series VME Processor Module along with instructions for preparing and installing the module.
Note Unless otherwise specified, the designation MVME2300 or the

Description

The MVME2300 is a PCI Mezzanine Card (PMC) carrier board. It is based on an MPC603 or MPC604R PowerPC microprocessor.
Two front panel cutouts provide access to PMC I/O. One double-width or two single-width PMCs can be installed directly on the MVME2300. Optionally, one or two PMCspan PCI expansion mezzanine modules can be added to provide the capability of up to four additional PMC modules.
1
term module or modules refers to all available models of the MVME2300 series VME processor Modules.
Two RJ45 connectors on the front panel provide the interface to 10/100Base-T Ethernet, and to a debug serial port. The following list is of equipment that is appropriate for use in an MVME2300 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
Page 22
1
Preparation and Installation

MVME2300 Module

The MVME2300 module is a powerful, low-cost embedded VME controller and intelligent PMC carrier board. The module is currently available in the configurations shown in the following table.
The MVME2300 includes support circuitry such as ECC DRAM, PROM/flash memory, and bridges to the Industry Standard Architecture (ISA) bus and the VMEbus.
The module’s PMC carrier architecture allows flexible configuration options and easy upgrades. It is designed to support one or two PMCs, plus one or two optional PCI expansion mezzanine modules that each support up to two PMCs. It occupies a single VMEmodule slot, except when optional PCI expansion mezzanine modules are also used:
Table 1-1. MVME2300 Models
MVME2300 Model Processor Type
MVME2301 & MVME2301-900 MPC603
MVME2302 & MVME2302-900 32MB ECC DRAM
MVME2303 & MVME2303-900 64MB ECC DRAM
MVME2304 & MVME2304-900 128MB ECC DRAM
MVME2304-0111 MPC604R
MVME2304-0121 32MB ECC DRAM, Handle: Scanbe
MVME2304-0131 64MB ECC DRAM, Handle: Scanbe
MVME2304-0141 128MB ECC DRAM, Handle: Scanbe
MVME2304-0113 16MB ECC DRAM, Handle: IEEE 1101
MVME2304-0123 32MB ECC DRAM, Handle: IEEE 1101
MVME2304-0133 64MB ECC DRAM, Handle: IEEE 1101
MVME2304-0143 128MB ECC DRAM, Handle: IEEE 1101
@ 200 MHz
@ 333 MHz
16MB ECC DRAM
16MB ECC DRAM, Handle: Scanbe
1-2 Computer Group Literature Center Web Site
Page 23
The MVME2300 interfaces to the VMEbus via the P1 and P2 connectors. It also draws +5V, +12V, and -12V power from the VMEbus backplane through these two connectors. The +3.3V 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 module 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.

PMCspan Expansion Mezzanine

An optional PCI expansion mezzanine module or PMC carrier board, PMCspan, provides the capability of adding two additional PMCs. Two PMCspans can be stacked on an MVME2300, providing four additional PMC slots, for a total of six slots including the two onboard the module. The next table lists the PMCspan models that are available for use with the MVME2300.
Description
1
1-3
Table 1-2. PMCspan Models
Expansion Module Description
PMCSPAN-002 Primary PCI expansion mezzanine module.
Allows two PMC modules for the MVME2300. Includes 32-bit PCI bridge.
PMCSPAN-010 Secondary PCI expansion mezzanine module.
Allows two additional PMC modules for the MVME2300. Does not include 32-bit PCI bridge; requires a PMCSPAN-002.
Page 24
1
Preparation and Installation

PCI Mezzanine Cards (PMCs)

The PMC slots on the MVME2300 board are IEEE P1386.1 compliant. P2 I/O-based PMCs that follow the PMC committee recommendation for PCI I/O when using the 5-row VME64 extension connector will be pin-out compatible with the MVME2300.
The MVME2300 board supports both front panel I/O and rear panel P2 I/O through either PMC slot 1 or PMC slot 2. 64 pins of I/O from slot 1 and 46 pins of I/O from slot 2 are routed directly to P2.

VMEsystem Enclosure

Your MVME2300 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.

System Console Terminal

In normal operation, connection of a debug console terminal is required only if you intend to use the MVME2300’s debug firmware, PPCBug, interactively. An RJ45 connector is provided on the front panel of the MVME2300 for this purpose.
1-4 Computer Group Literature Center Web Site
Page 25

Overview of Start-Up Procedures

Overview of Start-Up Procedures
The following table lists the things you will need to do before you can use this board, and tells where to find the information you need to perform each step. Be sure to read this entire chapter and read all Caution and Warning notes before beginning.
Table 1-3. Start-Up Overview
What you need to do ... Refer to ...
Unpack the hardware. Unpacking the MVME2300 Hardware on page 1-7
1
Set jumpers on the MVME2300 module.
Prepare the PMCs. Preparing and Installing PMCs on page 1-13 Prepare the PMCspan module(s). Installing the Primary PMCspan on page 1-15
Prepare any other optional devices or equipment you will be using.
Install the PMCs on the MVME2300 module.
Install the primary PMCspan module (if used).
Install the secondary PMCspan module (if used).
Install and connect the MVME2300 module.
Connect a console terminal. System Console Terminal on page 1-12
Preparing the MVME2300 Hardware on page 1-7
For more information on optional devices and equipment, refer to the documentation provided with that equipment.
Preparing and Installing PMCs on page 1-13 PMC Slots on page 2-6
For additional information on PMCs, refer to the PMC
manuals provided with these cards.
Installing the Primary PMCspan on page 1-15
Installing a Secondary PMCspan on page 1-17
Installing the MVME2300 Module on page 1-19 Installation Considerations on page 1-21
Connect any other optional devices or equipment you will be using.
1-5
DEBUG Port on page 2-5 Appendix B, Connector Pin Assignments
Page 26
1
Preparation and Installation
Table 1-3. Start-Up Overview (Continued)
What you need to do ... Refer to ...
Power up the system. Installing the MVME2300 Hardware
Status Indicators
If any problems occur, refer to the section Diagnostic Tests in Chapter 5, PPCBug.
You may also wish to obtain the PPCBu g Diagnos tics Manual, listed in Appendix D, Related
Documentation.
Examine the environmental parameters and make any changes needed.
Program the MVME2300 module and PMCs as needed for your applications.
For additional information on PMCs, refer to the PMC manuals provided with these cards. For additional information on PMCspan, refer to the PMCspan PMC Adapter Carrier Module
Installation and Use manual, listed in Appendix D, Related Documentation
ENV – Set Environment on page 6-3
Chapter 4, Programming
1-6 Computer Group Literature Center Web Site
Page 27

Unpacking the MVME2300 Hardware

Unpacking the MVME2300 Hardware
Note If the shipping cartons are 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 cartons. Refer to the packing lists and verify that all items are present. Save the packing material for storing and reshipping of equipment.
Avoid touching areas of integrated circuitry; static discharge can damage
!
Caution
these circuits.

Preparing the MVME2300 Hardware

1

MVME2300

1-7
To produce the desired configuration and ensure proper operation of the module, you may need to carry out certain modifications before and after installation.
The following paragraphs discuss the preparation of the MVME2300 hardware components prior to installing them into a chassis and connecting them.
The MVME2300 provides software control over most options. By setting bits in control registers after installing the module, you can modify its configuration. The MVME2300 control registers are briefly described in
Chapter 4, Programming, with additional information found in the
MVME2300 Series VME Processor Module Programmer’s Reference Guide.
Page 28
1
Preparation and Installation
Some options, however, are not software-programmable. Such options are controlled through manual installation or removal of header jumpers or interface modules on the module itself or associated modules.
Figure 1-1 illustrates the placement of the switches, jumper headers,
connectors, and LED indicators on the MVME2300. Manually configurable items on the MVME2300 include:
Flash memory bank A/bank B reset vector (J15)
VMEbus system controller selection header (J16)
The MVME2300 has been factory tested and is shipped with the configurations described in the following sections. Additionally, the
module’s factory-installed debug monitor, PPCBug, operates with those
factory settings.
1-8 Computer Group Literature Center Web Site
Page 29
MVME
2300
DEBUG
ABT
RST
10/100 BASET
PCI MEZZANINE CARD PCI MEZZANINE CARD
BFL
CPU
PMC
Preparing the MVME2300 Hardware
1
189 190
DEBUG
PORT
J2
DS
SWITCH
1
ABORT
S1 S2
J3
SWITCH
PORT
RESET
ETHERNET
DS
2
DS
3
DS
4
XU2 XU1
FLASH SOCKETS
J1
12
PMC 2 PMC1
1
1
264
J21
63
63
1
1
264
J23
63
63
1
1
264
A1B1C1
264
A32
B32
C32
J22
264
J24
A1B1C1
264
P1
2063 9708
1-9
J12
J11
63
63
1
1
J13
READEABLE
SOFTWARE
HEADER
3
J15
3
1
1
J16
21
113 114
16 15
J17
63
J18
264
264
J14
63
12
B32
C32
Figure 1-1. MVME2300 Switches, LEDs, Headers, Connectors
VME BUS
P2
A32
Page 30
1
Preparation and Installation
Setting the Flash Memory Bank A/Bank B Reset Vector Header (J15)
Bank B consists of 1MB of 8-bit flash memory in two 32-pin PLCC 8-bit sockets.
Bank A consists of four 16-bit Smart Voltage SMT devices that can be populated with 8Mbit flash devices (4MB) or 4Mbit flash devices (2MB). A jumper header, J15, associated with the first set of four flash devices provides a total of 64KB of hardware-protected boot block. Only 32-bit writes are supported for this bank of flash. The address of the reset vector is jumper-selectable.
A jumper must be installed either between J15 pins 1 and 2 for Bank A factory configuration, or between J15 pins 2 and 3 for Bank B. When the jumper is installed, the Falcon chipset maps 0xFFF00100 to the Bank B sockets.
J15
1 2
3
Bank A
(factory configuration)
J15
1 2
3
Bank B
Setting the VMEbus System Controller Selection Header (J16)
The MVME2300 is factory-configured in automatic system controller
mode (a jumper is installed across pins 2 and 3 of header J16). This means that the module determines if it is system controller at system power-up or reset by its position on the bus. If it is in slot 1 on the VME system, it configures itself as the system controller.
Remove the jumper from J16 if you intend to operate the MVME2300 as system controller in all cases.
Install the jumper across pins 1 and 2 if the MVME2300 is not to operate as system controller under any circumstances.
1-10 Computer Group Literature Center Web Site
Page 31
Preparing the MVME2300 Hardware
1
J16
1 2
3
Automatic System
Controller
J16
1 2
3
System Controller
1 2
3
System Controller Disabled
Setting the General-Purpose Software-Readable Header (J17)
Header J17 provides eight readable jumpers. These jumpers can be read as a register at ISA I/O address $801 (hexadecimal). Bit 0 is associated with header pins 1 and 2; bit 7 is associated with pins 15 and 16.
The bit values are read as a
0 when the jumper is installed, and as a 1 when
the jumper is removed. The MVME2300 is shipped from the factory with J17 set to all
0s (jumpers on all pins), as shown in Figure 1-2.
The PowerPC firmware, PPCBug, reserves all bits, SRH0 to SRH7.
J17
PPCBug INSTALLED
J16
1-11
Bit 0 (SRH0) Bit 1 (SRH1) Bit 2 (SRH2)
Bit 3 (SRH3 Bit 4 (SRH4) Bit 5 (SRH5) Bit 6 (SRH6)
12
)
15
16Bit 7 (SRH7)
Reserved for future use Reserved for future use Reserved for future use Reserved for future use Reserved for future use Reserved for future use Reserved for future use Reserved for future use
Figure 1-2. General-Purpose Software-Readable Header
Page 32
1
Preparation and Installation

PMCs

For a discussion of any configurable items on the PMCs, refer to the user’s manual for the particular PMCs.

PMCspan

You 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 MVME2300, you must install the selected PMCs on the PMCspan. Refer
to the PMCspan PMC Adapter Carrier Module Installation and Use
manual for instructions.

System Console Terminal

Make sure that jumpers are installed on all bits on header J17 of the MVME2300 board as shown in Figure 1-2. This is necessary when the PPCBug firmware is used. Connect the terminal via a cable to the RJ45 DEBUG connector J2.
See Appendix B, Connector Pin Assignments for pin signal assignments.
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 the port at power-
up). After power-up, you can reconfigure the baud rate with
PPCBug’s PF command
1-12 Computer Group Literature Center Web Site
Page 33

Installing the MVME2300 Hardware

Installing the MVME2300 Hardware
The following paragraphs discuss installing PMCs onto the MVME2300, installing PMCspan modules onto the MVME2300, installing the MVME2300 into a VME chassis, and connecting an optional system console terminal.
Use ESD
Wrist Strap

Preparing and Installing PMCs

Motorola strongly recommends that you use an antistatic wrist strap and a 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 Electro-Static Discharge (ESD). After removing the component from the system or its protective wrapper, 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 unpainted metal part of the system chassis.
1
Caution
Warning
1-13
PCI mezzanine card (PMC) modules mount on top of the MVME2300 module, and/or on a PMCspan. Refer to Figure 1-3 and perform the following steps to install a PMC on your module.
This procedure assumes that you have read the user’s manual that came with your PMCs.
Inserting or removing modules with power applied may result in damage
!
!
to module components.
Avoid touching areas of integrated circuitry; static discharge can damage these circuits.
Dangerous voltages, capable of causing death, are present in this equipment. Use extreme caution when handling, testing, and adjusting.
Page 34
1
Preparation and Installation
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 VMEmodules.
3. If the MVME2300 has already been installed in the chassis, carefully remove it. Position the module, with connectors P1 and P2 facing you.
4. Remove the PCI filler plate from the selected PMC slot in the front panel of the module. If installing a double-width PMC, remove the filler plates from both PMC slots.
2064 9708
Figure 1-3. Typical Single-width PMC Module Placement on MVME2300
1-14 Computer Group Literature Center Web Site
Page 35
5. Slide the edge connector(s) of the PMC module into the front panel opening(s) from behind and place the PMC module on top of the module. The four connectors on the underside of the PMC module should then connect smoothly with the corresponding connectors for a single-width PMC (J11/J12/J13/J14 or J21/J22/J23/J24, all eight for a double-width PMC) on the module.
6. Insert the two short Phillips screws through the holes at the forward corners of the PMC module, into the standoffs on the module. Tighten the screws.
7. If installing two single-width PMCs, repeat the above procedure for the second PMC.

Installing the Primary PMCspan

To install a PMCspan-002 PCI expansion module on your module, refer to
Figure 1-4 and perform the following steps. 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. Inserting or removing modules with power applied may result in damage
to module components.
Installing the MVME2300 Hardware
1
Caution
Warning
1-15
Avoid touching areas of integrated circuitry; static discharge can damage
!
!
these circuits.
Dangerous voltages, capable of causing death, are present in this equipment. Use extreme caution when handling, testing, and adjusting.
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 while you are performing the installation procedure.
Page 36
1
Preparation and Installation
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 VMEmodule card cage.
3. If the MVME2300 has already been installed in the chassis, carefully remove it. Position the module, with connectors P1 and P2 facing you.
P4
2081 9708
J18
Figure 1-4. PMCspan-002 Installation on an MVME2300
1-16 Computer Group Literature Center Web Site
Page 37
Installing the MVME2300 Hardware
4. Attach the four standoffs to the module. For each standoff:
– Insert the threaded end into the standoff hole at each corner of
the VME processor module.
– Thread the locking nuts onto the standoff tips.
– Tighten the nuts with a box-end wrench or a pair of needle nose
pliers.
5. Place the PMCspan on top of the module. Align the mounting holes in each corner to the standoffs, and align PMCspan connector P4 with connector J18 on the module.
6. Gently press the PMCspan and the module together, ensuring that P4 is fully seated into J18.
7. Insert the four short Phillips screws through the holes at the corners of the PMCspan and into the standoffs on the module. Tighten the screws.
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.
1

Installing a Secondary PMCspan

The PMCspan-010 PCI expansion module mounts on top of a PMCspan­002 PCI expansion module. To install a PMCspan-010 on your MVME2300, refer to Figure 1-5 and perform the following steps. 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.
Inserting or removing modules with power applied may result in damage
!
Caution
1-17
to module components.
Avoid touching areas of integrated circuitry; static discharge can damage these circuits.
Page 38
1
Preparation and Installation
P3
J3
2065 9708
Figure 1-5. PMCspan-010 Installation onto a PMCspan-002/MVME2300
Dangerous voltages, capable of causing death, are present in
!
Warning
1-18 Computer Group Literature Center Web Site
this equipment. Use extreme caution when handling, testing, and adjusting.
Page 39
Installing the MVME2300 Hardware
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 while you are performing the installation 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 VMEmodule card cage.
3. If the primary PMC carrier module/MVME2300 assembly is already installed in the chassis, carefully remove the two-board assembly from the chassis. Position connectors P1 and P2 facing you.
4. Remove the four short Phillips screws from the standoffs in each corner of the primary PCI expansion module, PMCspan-002.
5. Attach the four standoffs to the PMCspan-002.
6. Place the PMCspan-010 on top of the PMCspan-002. Align the mounting holes in each corner to the standoffs, and align PMCspan­010 connector P3 with PMCspan-002 connector J3.
1
7. Gently press the two PMCspan modules together, making sure that connector P3 is fully seated in J3.
8. Insert the four short Phillips screws through the holes at the corners of PMCspan-010 and into the standoffs on the primary PMCspan-002. Tighten the screws.
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.

Installing the MVME2300 Module

Before installing the module in your VME chassis, make sure that jumpers J15 and J16 are configured. This procedure assumes that you have already installed the PMCspan(s) if desired, and any PMCs that you have selected.
1-19
Page 40
1
Preparation and Installation
Inserting or removing modules with power applied may result in damage
!
Caution
!
Warning
to module components.
Avoid touching areas of integrated circuitry; static discharge can damage these circuits.
Dangerous voltages, capable of causing death, are present in this equipment. Use extreme caution when handling, testing, and adjusting.Proceed as follows to install the MVME2300 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
VMEmodules.
3. Remove the filler panel from the card slot where you are going to install the module. If you have installed one or more PMCspan PCI expansion modules onto your module, you will need to remove filler panels from one additional card slot for each PMCspan, above the card slot for the module.
– If you intend to use the module as system controller, it must
occupy the left-most card slot (slot 1). The system controller must be in slot 1 to correctly initiate the bus-grant daisy-chain and to ensure proper operation of the IACK daisy-chain driver.
– If you do not intend to use the module as system controller, it can
occupy any unused card slot.
4. Slide the module (and PMCspans if used) into the selected card slot(s). Be sure the module or modules is/are seated properly in the P1 and P2 connectors on the backplane. Do not damage or bend connector pins.
1-20 Computer Group Literature Center Web Site
Page 41
Installing the MVME2300 Hardware
5. Secure the module (and PMCspans if used) in the chassis with the screws provided, making good contact with the transverse mounting rails to minimize RF emissions.
Note Some VME backplanes (such as those used in Motorola modular
chassis systems) have an auto-jumpering feature for automatic propagation of the IACK and BG signals. Step 6 does not apply to such backplane designs.
1
6. On the chassis backplane, remove the (IACK) and
BUS GRANT (BG) jumpers from the header for the card
slot occupied by the MVME2300.
7. If you intend to use PPCBug interactively, connect the terminal that is to be used as the PPCBug system console to the the front panel of the module.
8. In normal operation the host CPU controls module operation via the VMEbus Universe registers.
9. Replace the chassis or system cover(s), cable peripherals to the panel connectors as appropriate, reconnect the system to the AC or DC power source, and turn the equipment power on.
10. The module’s green confidence tests is run, and the debugger prompt appears.

Installation Considerations

The module 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 8 address lines in extended addressing mode. The MVME2300 may not function properly without its main board connected to VMEbus backplane connectors P1 and P2.
INTERRUPT ACKNOWLEDGE
DEBUG port on
CPU LED indicates activity as a set of
PPC1-Bug>
1-21
Whether the module 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
Page 42
1
Preparation and Installation
Chapter 4, Programming. 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.
The module 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 MVME2300 Series VME Processor Module Programmer’s Reference Guide for more information.
If the module 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 module 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 module is not the system controller and there is no global bus timeout elsewhere in the system.
Multiple MVME2300 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 Preparing the MVME2300 Hardware. 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 one MVME2300 processor to broadcast a signal to any other MVME2300 processors. All eight registers are accessible from any local processor as well as from the VMEbus.
1-22 Computer Group Literature Center Web Site
Page 43

2Operating Instructions

Introduction

This chapter provides information about powering up an MVME2300 system, and a functional description of the switches, status indicators, and I/O ports on the front panels of the module and PMCspan.

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 MVME2300 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,
Modifying the Environment for further information about modifying
defaults.
2
The following flowchart shows the basic initialization process that takes place during system start-ups.
For further information on PPCBug, refer to:
Chapter 5, PPCBugAppendix C, TroubleshootingAppendix D, Related Documentation
2-1
Page 44
Operating Instructions
2
STARTUP
INITIALIZATION
POST
BOOTING
MONITOR
Power-up/reset initialization
Initialize devices on the MVME2300 module/system
Power On Self Test diagnostics
Firmware-configured boot mechanism, if so configured. Default is no boot.
Interactive, command-driven on-line PowerPC debugger, when terminal connected.

Description

The front panel of the MVME2300 module is shown on a following page.

Switches

There are two switches (ABT and RST) and four LED (light-emitting diode) status indicators ( panel.
2-2 Computer Group Literature Center Web Site
BFL, CPU, PMC (two)) located on the module’s front
Page 45
Description
ABT (S1)
RST (S2)
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 module’s 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.
The Reset switch, be asserted in the MPC603 or MPC604R. It also drives a
RST, resets all onboard devices and causes HRESET* to
SYSRESET*
signal if the module’s 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.
2
2-3
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
RST switch, a power-up reset, a watchdog timeout, a VMEbus
by the SYSRESET*, or a control bit in the MISC_CTL register.
Page 46
Operating Instructions
2

Status Indicators

There are four LED (light-emitting diode) status indicators located on the MVME2300 front panel:
CPU
, PMC2, and PMC1.
BFL (DS1)
The yellow
when the BRDFAIL* signal line is active.
BFL,
BFL LED indicates board failure; it lights
DEBUG
ABT
RST
10/100 BASET
MVME
2300x
BFL
CPU
PMC
CPU (DS2)
The green
CPU LED indicates CPU activity; it lights when
the DBB* (Data Bus Busy) signal line on the processor bus is active.
PCI MEZZANINE CARD PCI MEZZANINE CARD
PMC (DS3)
The top green
PMC LED indicates PCI activity; it lights
when the PCI bus grant to PMC2 signal line on the PCI bus is active. This indicates that a PMC installed on slot 2 is active.
PMC (DS4)
The bottom green
PMC LED indicates PCI activity; it
lights when the PCI bus grant to PMC1 signal line on the PCI bus is active. This indicates that a PMC installed on slot 1 is active.

10BaseT/100BaseTX Port

The RJ45 port on the front panel of the MVME2300 labeled 10BaseT/100BaseTX interface, implemented with a DEC 21140/21143 device.
2-4 Computer Group Literature Center Web Site
10/100 BASET supplies the Ethernet LAN
Page 47
Description

DEBUG Port

The RJ45 port labeled DEBUG on the front panel of the MVME2300 supplies the module’s 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-1.
The serve as the firmware console for the factory installed debugger, PPCBug. The port is configured as follows:
After power-up, the baud rate of the
using the debugger’s Port Format (PF) command. Refer to Chapter 5,
PPCBug and Chapter 6, Modifying the Environment for information about
PPCBug.
2
DEBUG port may be used for connecting a terminal to the module to
8 bits per character
1 stop bit per character
Parity disabled (no parity)
Baud rate = 9600 baud (default baud rate at power-up)
DEBUG port can be reconfigured by
2-5
SOUT RTS*
DTR* SIN CTS* DCD*
PC16550
MVME2300
4 2 8 5 7 1
3 6
Debug RJ45
Figure 2-1. MVME2300 DEBUG Port Configuration
Page 48
Operating Instructions
2

PMC Slots

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 MVME2300. For pin assignments for the PMC connectors, refer to
Appendix B, Connector Pin Assignments.
Do not attempt to install any PMC boards without performing an operating
!
Warning
PCI Mezzanine Card (PMC Slot 1)
PCI Mezzanine Card (PMC Slot 2)
system shutdown and following the procedures given in the user’s manual for the particular PMC.
The right-most (lower) opening labeled module’s front panel provides front panel I/O access to a PMC that is connected to the 64-pin connectors J11 through J14 on the module. Connector J14 allows rear panel P2 I/O.
This slot is MVME2300 Port 1.
PCI MEZZANINE CARD on the
The left-most (upper) opening labeled MVME2300 front panel provides front panel I/O access to a PMC that is connected to the 64-pin connectors J21 through J24 on the MVME2300 module. Connector J24 allows rear panel P2 I/O.
This slot is MVME2300 Port 2.
2-6 Computer Group Literature Center Web Site
PCI MEZZANINE CARD on the
Page 49

PMCspan

PMCspan
A PMCspan front panel is pictured at the right. The front panel is the same for all PMCspan models.
There are two PMC slots, labeled 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 secondary PCI bus and 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 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
CARD on the front panel is Port 1.
The left-most (upper) opening labeled
CARD on the front panel is Port 2.
PCI MEZZANINE CARD,
PMC2 and PMC1. Both
PCI MEZZANINE
PCI MEZZANINE
2
PMC2
PMC1
PCI MEZZANINE CARD
2-7
PCI MEZZANINE CARD
Page 50
Page 51

3Functional Description

Introduction

This chapter describes the MVME2300 VME processor module on a block
diagram level. The General Description provides an overview of the
module, followed by a detailed description of several blocks of circuitry.
Figure 3-1 shows a block diagram of the overall board architecture.
Detailed descriptions of other MVME2300 blocks, including programmable registers in the ASICs and peripheral chips, can be found in
the MVME2300 Series VME Processor Module Programmer’ s Refere nce Guide. You may refer to it for a functional description of the MVME2300
in greater depth.

Features

The following table summarizes the features of the MVME2300 VME processor module.
3
Table 3-1. MVME2300 Features
Feature Description
TM
Microprocessor 200 MHZ MPC603 or 333 MHz MPC604R PowerPC
Form factor 6U VMEbus
ECC DRAM Two-way interleaved, ECC-protected 16MB, 32MB, 64MB, or 128MB
Flash memory Bank B consists of two 32-pin PLCC sockets that can be populated with
1MB 8-bit flash devices
Bank A consists of four 16-bit Smart Voltage SMT devices that can be populated with 8Mbit flash devices (4MB) or 4Mbit (2MB)
Real-time clock 8KB NVRAM with RTC and battery backup (SGS-Thomson
M48T59/T559)
Switches Reset (RST) and abort (ABT)
processor
3-1
Page 52
Functional Description
Table 3-1. MVME2300 Features (Continued)
Feature Description
3
Status LEDs Four: Board fail (BFL), CPU, PMC (one for PMC slot 2, one for slot 1)
Timers One 16-bit timer in W83C553 ISA bridge; four 32-bit timers in Raven
(MPIC) device)
Watchdog timer provided in SGS-Thomson M48T59
Interrupts Software interrupt handling via Raven (PCI-MPU bridge) and Winbond
(PCI-ISA bridge) controllers
VME I/O VMEbus P2 connector
Serial I/O One asynchronous debug port via RJ45 connector on front panel
Ethernet I/O 10BaseT/100BaseTX connections via RJ45 connector on front panel
PCI interface Two IEEE P1386.1 PCI Mezzanine Card (PMC) slots for one double-
width or two single-width PMCs
Front panel and/or VMEbus P2 I/O on both PMC slots
One 114-pin Mictor connector for optional PMCspan expansion module
VMEbus interface VMEbus system controller functions
VME64 extension
VMEbus-to-local-bus interface (A24/A32, D8/D16/D32/block transfer [D8/D16/D32/D64])
Local-bus-to-VMEbus interface (A16/A24/A32, D8/D16/D32)
VMEbus interrupter
VMEbus interrupt handler
Global Control/Status Register (GCSR) for interprocessor communications
DMA for fast local memory/VMEbus transfers (A16/A24/A32, D16/D32/D64)
3-2 Computer Group Literature Center Web Site
Page 53

General Description

The MVME2300 is a VME processor module equipped with an MPC 603 or MPC604R microprocessor.
The product offers many standard features desirable in a computer system—including Ethernet and debug ports, Boot ROM, flash memory, DRAM, 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 MVME2300:
PowerPC Processor Bus ISA Bus PCI Local Bus VMEbus
As shown in Figure 3-1, a Raven PCI Bridge ASIC provides the interface from the Processor Bus to 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. A Falcon chipset is the ECC memory controller.
General Description
3
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 MVME2300’s overall architecture.

MPC603/MCP604R Processor

The MVME2300 is ordered with an MPC603 or MPC604R processor chip with 16MB to 128MB of ECC DRAM, and up to 5MB of flash memory.
3-3
Page 54
Functional Description
CLOCK
GENERATOR
3
PROCESSOR
MPC604R
PHB & MPIC RAVEN ASIC
64-BIT PMC SLOT
10BT/100BTX
PORT
SERIAL
DEBUG CONNECTOR
66MHz MPC604R PROCESSOR BUS
33MHz 32/64-BIT PCI LOCAL BUS
W83C553
ETHERNET
DEC21140
PC16550
UART
PIB
ISA BUS
MEMORY CONT R O L LE R
FALCON CHIPSET
RTC/NVRAM/WD
MK48T59/559
ISA
REGISTERS
DRAM
16/32/64/128MB
FLASH
3MB or 5MB
SYSTEM
REGISTERS
VME BRIDGE
UNIVERSE
BUFFERS
PCI EXPANSION
PMC FRONT I/O SLOT
PMC FRONT I/O SLOT
FRONT PANEL
VME P2 VME P1
Figure 3-1. MVME2300 Block Diagram
3-4 Computer Group Literature Center Web Site
Page 55
Block Diagram
The MPC 603 is a 64-bit processor with 16KB on-chip caches (16KB data cache and 16KB instruction cache). The MPC604R is a 64-bit processor with 32KB on-chip caches (32KB data cache and 32KB instruction cache).
The Raven bridge controller ASIC provides the bridge between the PowerPC microprocessor bus and the PCI local bus. Electrically, the Raven chip 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 MVME2300 are shown in Table 3-2.
Configuration +5V Power +12V and -12V Power
200 MHz 603 4.0A typical
333 MHz 604R 4.7A typical
PCI Bus Latency
Writes to PCI can be posted. The read access latency for PCI-bound cycles initiated by the MPC60x bus master consists of the following components:
T
start
Table 3-2. Power Requirements
PMC-dependent
4.75A maximum
5.8A maximum
Start-up time (TS# to PCI bus Request). T
system clocks.
(Refer to Appendix A,
Specifications)
start
3
is 6
3-5
T T T
arb ac
delay
PCI bus arbitration time
PCI access time (FRAME# to TRDY#)
Delay time from TRDY# on PCI to TA# on 60X bus.
is 4 system clocks.
T
delay
Page 56
Functional Description
The following table shows the access timings for various types of transfers initiated by a 60X system bus master to PCI:
Table 3-3. MPC 60x Bus to PCI Access Timing
3
Access Type System Clock Periods Required For: Total
1st Beat 2nd Beat 3rd Beat 4th Beat
4-Beat Read (64-bit PCI Target) 27 1 1 1 30
4-Beat Read (32-bit PCI Target) 35 1 1 1 38
4-Beat Write (64-bit PCI Target) 4 1 1 1 7
4-Beat Write (32-bit PCI Target) 4 1 1 1 7
Clocks
1-Beat Read (aligned, 4 bytes or less)
1-Beat Write 4 - - - 4
20- --20
Notes 1. Write cycles are posted by the Raven ASIC.
2. Assumes no pipeline. Pipelined cycles would improve these numbers.
3. T
4. T
is assumed to be 4 system clocks (2 PCI clocks).
arb
is assumed to be 6 system clocks (3 PCI clocks):
ac
Medium DEVSEL# target, zero wait PCI timing.
The following table shows the ECC memory access latency for PCI­initiated cycles.
Table 3-4. PCI to ECC Memory Access Timing
Access Type PCI Clock Periods Required for: Maximum
1st Beat 2nd Be at 3r d Beat nth Beat
64-bit Burst Reads 10 1 1 1
Bandwidth
64-bit Burst Writes 3 1 1 1
32-bit Burst Reads 10 1 1 1
3-6 Computer Group Literature Center Web Site
Page 57
Block Diagram
Table 3-4. PCI to ECC Memory Access Timing
Access Type PCI Clock Periods Required for: Maximum
Bandwidth
1st Beat 2nd Be at 3r d Beat nth Beat
32-bit Burst Writes 3 1 1 1
1-Beat Read 10 - - -
3
1-Beat Write
Notes 1. The latency assumes two system clocks for 60X system

DRAM Memory

The MVME2300 DRAM memory size can be 16MB, 32MB, 64MB, or 128MB.
The DRAM blocks are controlled by the Falcon chipset which performs two-way interleaving and provides single-bit error correction and double­bit error correction. ECC is calculated over 72-bits.
There are one or two blocks of DRAMs that provides 16M/32M or 64M/128M of ECC DRAM. The DRAM blocks consists of 9 devices each. Either 1Mx16 (Page) 50-pin TSOPII DRAM or 4Mx16 (EDO) 50-pin TSOPII DRAM are used to provide 16/32/64/128M. When populated, these blocks appears as Block A and Block B to the Falcon chipset.
3
---
bus arbitration.
2. The latency is based on 60ns, fast-page DRAM timing. It is also assumed that L2 is either disabled or missed.
3. Write timings assume write posting FIFO is initially empty.
3-7
Refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide for additional information and programming details.
The block diagram for the memory interface is shown in the following figure:
Page 58
Functional Description
D
t
Memory Controller
3
Falcon Chipset
a a
ECC DRAM
16M to 128M
FLASH
3M to 5M
Buffers
BuffersBuffers
Figure 3-2. Memory Block Diagram
DRAM Latency
The ECC memory access latency times for 60ns, fast page DRAMs are shown in the following table.
Table 3-5. MPC 60x Bus to DRAM Access Timing using 60ns Page Devices
Access Type Clock Periods Required for: Total
Clocks
4-Beat Read after Idle (Quad-word aligned)
4-Beat Read after Idle (Quad-word misaligned)
4-Beat Read after 4-Beat Read (Quad-word aligned)
4-Beat Read after 4-Beat Read (misaligned)
1st Beat 2nd Beat 3rd Beat 4th Beat
91 2113
93 1114
1
7/3
1
6/2
3 1111/7
1 2111/7
Address & Control
4-Beat Write after Idle
41 11
7
3-8 Computer Group Literature Center Web Site
Page 59
Block Diagram
Table 3-5. MPC 60x Bus to DRAM Access Timing using 60ns Page Devices
Access Type Clock Periods Required for: Total
Clocks
4-Beat Write after 4-Beat Write (Quad-word aligned)
1st Beat 2nd Beat 3rd Beat 4th Beat
1
7/3
1 1110/6
3
1-Beat Read after Idle
1-Beat Read after 1-Beat Read
1-Beat Write after Idle
1-Beat Write after 1-Beat Write
9- - -
1
8/6
4
12/10
---
- --4
1
- --12/10
9
8/6
Notes 1. These numbers assume that the MPC 60x bus master is
doing address pipelining with TS* occurring at the minimum time after AACK* is asserted. Also the two numbers shown in the 1st beat column are for page miss/page hit.
2. In some cases, the numbers shown are averages and specific instances may be longer or shorter.
If all blocks of DRAMs are 50ns, EDO devices then the latency times for the ECC memory would be as follows:
Table 3-6. MPC 60x Bus to DRAM Access Timing Using 50ns, EDO Devices
Access Type Clock Periods Required for: Total
Clocks
4-Beat Read after Idle (Quad-word aligned)
1st Beat 2nd Beat 3rd Beat 4th Beat
81 1111
4-Beat Read after Idle (Quad-word misaligned)
4-Beat Read after 4-Beat Read (Quad-word aligned)
4-Beat Read after 4-Beat Read (misaligned)
3-9
82 1112
1
5/2
1
2 118/6
4/2
1 118/5
Page 60
Functional Description
Table 3-6. MPC 60x Bus to DRAM Access Timing Using 50ns, EDO Devices
Access Type Clock Periods Required for: Total
3
4-Beat Write after Idle 4 1 1 1 7
4-Beat Write after 4-Beat Write (Quad-word aligned)
1st Beat 2nd Beat 3rd Beat 4th Beat
1
4/3
1 117/6
Clocks
1-Beat Read after Idle
1-Beat Read after 1-Beat Read
1-Beat Write after Idle
1-Beat Write after 1-Beat Write
Notes 1. These numbers assume that the MPC 60x bus master is

Flash Memory

The MVME2300 base board has provision for up to 5MB of flash memory.
Bank B consists of 1MB of 8-bit flash memory in two 32-pin PLCC 8-bit sockets.
Bank A consists of four 16-bit Smart Voltage SMT devices that can be populated with 8Mbit flash devices (4MB) or 4Mbit flash devices (2MB). A jumper header, J15, associated with the first set of four flash devices provides a total of 64KB of hardware-protected boot block. Only 32-bit writes are supported for this bank of flash. The address of the reset vector is jumper-selectable. A jumper must be installed either between J15 pins 1
8
7/5
4
9/7
1
1
- --8
---
- --4
- --9/7
7/5
doing address pipelining with TS* occurring at the minimum time after AACK* is asserted. Also the two numbers shown in the 1st beat column are for page miss/page hit.
2. In some cases, the numbers shown are averages and specific instances may be longer or shorter.
3-10 Computer Group Literature Center Web Site
Page 61
Block Diagram
and 2 for Bank A factory configuration, or between J15 pins 2 and 3 for Bank B. When the jumper is installed, the Falcon chipset maps 0xFFF00100 to the Bank B sockets.
Flash Latency
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
Updating firmware ROM
Under normal operation, the flash devices are in “read-only” mode, their contents are pre-defined, and they are protected against inadvertent writes due to loss of power conditions. However, for programming purposes, programming voltage is always supplied to the devices and the flash contents may be modified by executing the proper program command
sequence. Refer to the PFLASH command in the PPCBug Debugging Package User’s Manual for further device-specific information on
modifying flash contents.
There is one 16-bit port bank of flash on the MVME2300. The access times for this bank are shown in the following table.
3
Table 3-7.PowerPC 60x Bus to Flash Access Timing for Bank B (16-bit Port)
Access type Clock Periods Required for: Total
1st Beat 2nd
Beat
4-Beat Read 68 64 64 64 260
4-Beat Write N/A N/A N/A N/A N/A
1-Beat Read (2 bytes to 8 bytes)68---68
3-11
3rd Beat
4th Beat
Clocks
Page 62
Functional Description
Table 3-7.PowerPC 60x Bus to Flash Access Timing for Bank B (16-bit Port)
Access type Clock Periods Required for: Total
3
1-Beat Read (1 byte) 20---20
1-Beat Write 19---19
1st Beat 2nd
Beat
3rd Beat
4th Beat
Clocks

Ethernet Interface

The MVME2300 module uses a DECchip 21140/21143 PCI Fast Ethernet LAN controller to implement an Ethernet interface that supports 10BaseT/100BaseTX connections, via an RJ45 connector on the front panel. The balanced differential transceiver lines are coupled via on-board transformers.
Every MVME2300 is assigned an Ethernet station address. The address is
$08003E2xxxxx, where xxxxx is the unique 5-nibble number assigned to the board (every board has a different value for xxxxx).
Each MVME2300 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
MVME2300 debugger, PPCBug, has the capability to retrieve the Ethernet
station address via the CNFG command.
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.
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 A, Specifications.
3-12 Computer Group Literature Center Web Site
Page 63
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 MVME2300 Series VME Processor Module Programmer’s Reference Guide for detailed
programming information.

PCI Mezzanine Card (PMC) Interface

A key feature of the MVME2300 family is the PCI bus. In addition to the on-board local bus devices (Ethernet, etc.), the PCI bus supports an industry-standard mezzanine interface, IEEE P1386.1 PCI Mezzanine Card (PMC).
PMC modules offer a variety of possibilities for I/O expansion such as FDDI (Fiber Distributed Data Interface), ATM (Asynchronous Transfer Mode), graphics, Ethernet, or SCSI ports. For a complete listing of available PMCs, go to the Mezzanines International Web site at . The MVME2300 supports PMC front panel a
nd rear P2 I/O. There is also provision for stacking one or two PMC carrier boards, or PMCspan PCI expansion modules, on the MVME2300 for additional expansion.
Block Diagram
3
3-13
The MVME2300 supports two PMC slots. Two sets of four 64-pin connectors on the base board (J11 - J14, and J21 - J24) interface with 32­bit/64-bit IEEE P1386.1 PMC-compatible mezzanines to add any desirable function.
Refer to Appendix B, Connector Pin Assignments for the pin assignments of the PMC connectors. For detailed programming information, refer to the
PCI bus descriptions in the MVME2300 Series VME Processor Module Programmer’s Reference Guide and to the user documentation for the
PMC modules you intend to use.
Page 64
Functional Description
PMC Slot 1 (Single-Width PMC)
PMC slot 1 has the following characteristics:
3
Mezzanine Type PCI Mezzanine Card (PMC) Mezzanine Size PMC Connectors J11 to J14 (32/64-Bit PCI with front and rear I/O)
Signaling Voltage V
S1B: Single width, standard depth (75mm x 150mm) with front panel
= 5.0Vdc
io
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.
PMC Slot 2 (Single-Width PMC)
PMC slot 2 has the following characteristics:
Mezzanine Type PCI Mezzanine Card (PMC) Mezzanine Size PMC Connectors J21 to J24 (32/64-Bit PCI with front and rear I/O)
Signaling Voltage V
S1B: Single width, standard depth (75mm x 150mm) with front panel
= 5.0Vdc
io
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.
3-14 Computer Group Literature Center Web Site
Page 65
PMC Slots 1 and 2 (Double-Width PMC)
PMC slots 1 and 2 with a double-width PMC have the following characteristics:
Mezzanine Type PCI Mezzanine Card (PMC)
Mezzanine Size
PMC Connectors
Signaling Voltage V
Double width, standard depth (150mm x 150 mm) with front panel
J11 to J14 and J21 to J24 (32/64-Bit PCI) with front and rear I/O
= 5.0Vdc
io
PCI Expansion
The PMCspan expansion module connector, J4, is a 114-pin Mictor connector. It is located near P2 on the primary side of the MVME2300. Its interrupt lines are routed to the Raven MPIC.

VMEbus Interface

Block Diagram
3
3-15
The VMEbus interface is implemented with the CA91C042 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 MVME2300 Series VME Processor Module Programmer's Reference Guide.
Page 66
Functional Description
Maximum performance is achieved with D64 Multiplexed Block Transfers (MBLT). The on-chip DMA channel should be used to move large blocks of data to/from the VMEbus. The Universe should be able to
3
reach 50MB/second in 64-bit MBLT mode.
The MVME2300 interfaces to the VMEbus via the P1 and P2 connectors, which use the new 5-row 160-pin connectors as specified in the VME64 extension standard. It also draws +5V, +12V, and -12V power from the VMEbus backplane through these two connectors. 3.3V and 2.5V supplies are regulated onboard from the +5 power.

Asynchronous Debug Port

A PC16550 Universal Asynchronous Receiver/Transmitter (UART) provides the asynchronous debug port. TTL-level signals for the port are routed through appropriate EIA-232-D drivers and receivers to an RJ45 connector on the front panel. The external signals are ESD protected.
This serial port can support 19.2 KBaud I/O. For detailed programming
information, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide and to the vendor documentation for the
UART device.

PCI-ISA Bridge (PIB) Controller

The MVME2300 uses a W83C553 PCI/ISA Bridge (PIB) Controller to supply the interface between the PCI local bus and the ISA system I/O bus as shown in Figure 3-1.
The PIB controller provides the following functions:
PCI bus arbitration for:
– ISA (Industry Standard Architecture) bus DMA (not functional
on MVME2300)
– The PHB (PCI Host Bridge) MPU/local bus interface function,
implemented by the Raven ASIC
– All on-board PCI devices
– The PMC slot
3-16 Computer Group Literature Center Web Site
Page 67
ISA bus arbitration for DMA devices
ISA interrupt mapping for four PCI interrupts
Block Diagram
Interrupt controller functionality to support 14 ISA interrupts
Edge/level control for ISA interrupts
Seven independently programmable DMA channels
One 16-bit timer
Three interval counters/timers
Accesses to the configuration space for the PIB controller are performed by way of the CONADD and CONDAT (Configuration Address and Data) registers in the Raven bridge controller ASIC. The registers are located at offsets $CF8 and $CFC, respectively, from the PCI I/O base address.

Real-Time Clock/NVRAM/Timer Function

The MVME2300 employs a surface-mount M48T59/T559 RAM and clock chip to provide 8KB NVRAM, a real-time clock, and a watchdog timer function. This chip supplies a clock, oscillator, crystal, power failure detection, memory write protection, 8KB of NVRAM, and a battery in a package consisting of two parts:
A 28-pin 330mil SO device containing the real-time clock, the
oscillator, power failure detection circuitry, timer logic, 8KB of static RAM, and gold-plated sockets for a battery
3
3-17
A SNAPHAT battery housing a crystal along with the battery
The SNAPHAT battery package is mounted on top of the M48T59/T559 device. The battery housing is keyed to prevent reverse insertion.
The clock furnishes seconds, minutes, hours, day, date, month, and year in BCD 24-hour format. Corrections for 28-, 29- (leap year), and 30-day months are made automatically. The clock generates no interrupts. Although the M48T59/T559 is an 8-bit device, 8-, 16-, and 32-bit accesses from the ISA bus to the M48T59/T559 are supported. Refer to the
Page 68
Functional Description
MVME2300 Series VME Processor Module Programmer’s Reference Guide and to the M48T59/T559 data sheet for detailed programming and
battery life information.
3

PCI Host Bridge

The Raven ASIC provides the bridge function between the MPC60x bus and the PCI Local Bus. It provides 32 bit addressing and 64 bit data. 64 bit addressing (dual address cycle) is not supported. The Raven supports various PowerPC processor external bus frequencies up to 66 MHz and PCI frequencies up to 33 MHz.
There are four programmable map decoders for each direction to provide flexible address mappings between the MPC and the PCI Local Bus. Refer
to the MVME2300 Series VME Processor Module Programmer’s Reference Guide for additional information and programming details.

Interrupt Controller (MPIC)

The Raven ASIC provides an MPIC Interrupt Controller to handle various interrupt sources. The interrupt sources are:
Four MPIC timer interrupts
Processor 0 self interrupt
Memory Error interrupt from the Falcon chipset
Interrupts from all PCI devices
Two software interrupts
ISA interrupts (actually handles as a single 8259 interrupt at INT0)

Programmable Timers

Among the resources available to the local processor are a number of programmable timers. Timers are incorporated into the PCI/ISA Bridge (PIB) controller and the Raven device as shown in Figure 3-1. They can be programmed to generate periodic interrupts to the processor.
3-18 Computer Group Literature Center Web Site
Page 69
Interval Timers
Block Diagram
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 MVME2300.
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 MVME2300.
The interval timers use the OSC clock input as their clock source. The MVME2300 drives the OSC pin with a 14.31818 MHz clock source.
3
16/32-Bit Timers
There is one 16-bit timer and four 32-bit timers on the MVME2300. The 16-bit timer is provided by the PIB. Raven 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 MVME2300 Series VME Processor Module Programmer’s Reference Guide.
3-19
Page 70
Page 71

Introduction

This chapter provides basic information useful in programming the MVME2300. This includes a description of memory maps, control and status registers, PCI arbitration, interrupt handling, sources of reset, and big/little-endian issues.
For additional programming information about the MVME2300, refer to
the MVME2300 Series VME Processor Module Programmer’s Ref erence Guide, listed in Appendix D, Related Documentation.
For programming information about the PMCs, refer to the applicable user’s manual furnished with the PMCs.

Memory Maps

4Programming

4
There are multiple buses on the MVME2300 and each bus domain has its own view of the memory map. The following sections describe the MVME2300 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 MVME2300 Series VME Processor Module Programmer’s Reference Guide.
4-1
Page 72
Programming

Processor Bus Memory Map

The processor memory map configuration is under the control of the Raven bridge controller ASIC and the Falcon memory controller chip set. The Raven and Falcon devices adjust system mapping to suit a given application via programmable map decoder registers. At system power-up
4
Default Processor Memory Map
Processor Address Size Definition
Start End
00000000 7FFFFFFF 2GB Not Mapped
80000000 8001FFFF 128KB PCI/ISA I/O Space
80020000 FEF7FFFF 2GB-16MB-640KB Not Mapped
FEF80000 FEF8FFFF 64KB Falcon Registers
FEF90000 FEFEFFFF 384KB Not Mapped
FEFF0000 FEFFFFFF 64KB Raven Registers
FF000000 FFEFFFFF 15MB Not Mapped
FFF00000 FFFFFFFF 1MB Flash Bank A or Bank B (See Note)
or reset, a default processor memory map takes over.
The default processor memory map that is valid at power-up or reset remains in effect until reprogrammed for specific applications. Table 4-1 defines the entire default map ($00000000 to $FFFFFFFF).
Table 4-1. Processor Default View of the Memory Map
Note The first 1MB of flash Bank A (soldered 2MB or 4MB flash)
appears in this range after a reset if the rom_b_rv control bit in
the Falcon’s ROM B Base/Size register is cleared. If the
rom_b_rv control bit is set, this address range maps to flash
Bank B (socketed 1MB flash).
For detailed processor memory maps, including suggested CHRP- and
PREP-compatible memory maps, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide.
4-2 Computer Group Literature Center Web Site
Page 73

PCI Local Bus Memory Map

The PCI memory map is controlled by the Raven MPU/PCI bus bridge controller ASIC and by the Universe PCI/VME bus bridge ASIC. The Raven and Universe devices adjust system mapping to suit a given application via programmable map decoder registers.
Memory Maps
No default PCI memory map exists. Resetting the system turns the PCI map decoders off, and they must be reprogrammed in software for the intended application.
For detailed PCI memory maps, including suggested CHRP- and PREP-
compatible memory maps, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide.

VMEbus Memory Map

The VMEbus is programmable. Like other parts of the MVME2300 memory map, the mapping of local resources as viewed by VMEbus masters varies among applications.
The Universe PCI/VME bus bridge ASIC includes a user-programmable map decoder for the VMEbus-to-local-bus interface. The address translation capabilities of the Universe enable the processor to access any range of addresses on the VMEbus.
Recommendations for VMEbus mapping, including suggested CHRP- and
PREP-compatible memory maps, can be found in the MVME2300 Series VME Processor Module Programmer’s Reference Guide. Figure 4-1
shows the overall mapping approach from the standpoint of a VMEbus master.
4
4-3
Page 74
Programming

Programming Considerations

Good programming practice dictates that only one MPU at a time have control of the MVME2300 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 MVME2300:
Raven ASIC (MPU/PCI bus bridge controller)
Winbond W83C553 PIB (PCI/ISA bus bridge controller)
DECchip 21140 Ethernet controller
Universe 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 MVME2300 Series VME Processor Module Programmer’s Reference Guide.
4-4 Computer Group Literature Center Web Site
Page 75
Programming Considerations
ONBOARD
MEMORY
PCI MEMORY
SPACE
PCI/ISA
MEMORY SPACE
PCI
I/O SPACE
NOTE 1
NOTE 1
PCI MEMORYPROCESSOR
VMEBUS
4
PROGRAMMAB LE
SPACE
NOTE 2
VME A24
VME A16
NOTE 3
VME A24
VME A16
VME A24
VME A16
VME A24
VME A16
4-5
MPC
RESOURCES
1. Programmable m apping done by Raven ASIC.
NOTES:
2. Programmable m apping performed via PCI Slave images in Uni ve rs e ASIC.
3. Programmable m apping performed via Special Slave image (SLSI) in Universe ASIC.
Figure 4-1. VMEbus Master Mapping
11553.00 9609
Page 76
Programming
The arbitration assignments for the MVME2300 are shown in Table 4-2.
Table 4-2. PCI Arbitration Assignments
PCI Bus Request PCI Master(s)
PIB (Internal) PIB
4
CPU Raven ASIC
Request 0 PMC Slot 2
Request 1 PMC Slot 1
Request 2 PCI Expansion Slot
Request 3 Ethernet
Request 4 Universe ASIC (VMEbus)

Interrupt Handling

The Raven ASIC, which controls PHB (PCI Host Bridge) MPU/local bus interface functions on the MVME2300, performs interrupt handling as well. Sources of interrupts may be any of the following:
The Raven ASIC itself (timer interrupts or transfer error interrupts)
The processor (processor self-interrupts)
The Falcon chip set (memory error interrupts)
The PCI bus (interrupts from PCI devices)
The ISA bus (interrupts from ISA devices)
Figure 4-2 illustrates interrupt architecture on the MVME2300. For details
on interrupt handling, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide.
4-6 Computer Group Literature Center Web Site
Page 77
INT
Programming Considerations
INT_
4
PIB
(8529 Pair)
RavenMPIC
SERR_& PERR_
PCI Interrupts
ISA Interrupts
Figure 4-2. MVME2300 Interrupt Architecture
Processor
MCP_
1155 9. 00 9609
4-7
Page 78
Programming
The MVME2300 routes the interrupts from the PMCs and PCI expansion slots as follows:
INTA#
PMC Slot 1
INTB# INTC#
INTD#
INTA#
PMC Slot 2
INTB# INTC#
INTD#
INTA#
PCIX Slot
INTB# INTC#
INTD#
4
IRQ10
IRQ9
RavenMPIC
IRQ11 IRQ12

DMA Channels

The PIB supports seven DMA channels. They are not functional on the MVME2300.

Sources of Reset

The MVME2300 has eight potential sources of reset:
1. Power-on reset.
2.
RST switch (resets the VMEbus when the MVME2300 is a system
controller).
3. Watchdog timer Reset function controlled by the MK48T59 timekeeper device (resets the VMEbus when the MVME2300 is system controller).
ALT_RSTfunction controlled by the port 92 register in the PIB
4. (resets the VMEbus when the MVME2300 is system controller).
5. PCI/ISA I/O Reset function controlled by the Clock Divisor register in the PIB.
4-8 Computer Group Literature Center Web Site
Page 79
Programming Considerations
6. The VMEbus SYSRESET signal.
7. VMEbus Reset sources from the Universe ASIC (PCI/VME bus bridge controller): the System Software Reset and Local Software Reset.
The following table shows which devices are affected by the various types
of resets. For details on using resets, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide.
Table 4-3. Classes of Reset and Effectiveness
4
Device Affected ProcessorRaven
Reset Source
Power-On reset
Reset switch
Watchdog reset
VME SYSRESET∗signal
VME System SW reset
VME Local SW reset
Hot reset (Port 92)
PCI/ISA reset
√√√√√√ √√√√√√ √√√√√√ √√√√√√
√√√√√√ √√√√√ √√√√√

Endian Issues

The MVME2300 supports both little-endian (Windows NT) and big-endian (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 MVME2300 handles software and hardware differences in big- and little-endian operations. For further
details on endian considerations, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide.
ASIC
Falcon
Chip
Set
PCI
Devices
√√
ISA
Devices
VMEbus
(as system
controller)
4-9
Page 80
Programming
Processor/Memory Domain
The MCP 603 or MPC604R 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
4
MPC registers in the Raven MPU/PCI bus bridge controller ASIC and the Falcon memory controller chip set, as well as DRAM, flash, and system registers, always appear as big-endian.
Role of the Raven ASIC
Because the PCI bus is little-endian, the Raven performs byte swapping in both directions (from PCI to memory and from the processor to PCI) to maintain address invariance while programmed to operate in big-endian mode with the processor and the memory subsystem.
In little-endian mode, the Raven reverse-rearranges the address for PCI­bound accesses and rearranges the address for memory-bound accesses
(from PCI). In this case, no byte swapping is done.
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.
PCI and Ethernet
Ethernet is byte-stream-oriented; the byte having the lowest address in memory is the first one to be transferred regardless of the endian mode. Since the Raven maintains address invariance in both little-endian and big-endian mode, no endian issues should arise for Ethernet data. Big-endian software must still take the byte-swapping effect into account when accessing the registers of the PCI/Ethernet device, however.
4-10 Computer Group Literature Center Web Site
Page 81
Role of the Universe ASIC
Because the PCI bus is little-endian while the VMEbus is big-endian, the Universe PCI/VME bus bridge ASIC performs byte swapping in both directions (from PCI to VMEbus and from VMEbus to PCI) to maintain address invariance, 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 Raven. 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- rearra nging effect of
the Raven into account.
Programming Considerations
4
4-11
For further details on endian considerations, refer to the MVME2300 Series VME Processor Module Programmer’s Reference Guide.
Page 82
Page 83

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 MVME2300 module upon power-up or reset.
This chapter describes the basics of PPCBug and its architecture, describes the monitor (interactive command portion of the firmware) in detail, and gives information on actually using the PPCBug debugger and the special commands. A complete list of PPCBug commands appears at the end of the chapter.
Chapter 6, Modifying the Environment 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.

5PPCBug

5

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
Page 84
PPCBug
PPCBug includes commands for:
Display and modification of memory
Breakpoint and tracing capabilities
A powerful assembler and disassembler useful for patching
programs
A self-test at power-up feature which verifies the integrity of the
5
system
PPCBug consists of three parts:
A command-driven, user-interactive software debugger, described
in the PPCBug Firmware Package User’s Manual. It is hereafter
referred to as “the debugger” or “PPCBug”.
A command-driven diagnostics package for the MVME2300
hardware, hereafter referred to as “the diagnostics.” The diagnostics
package is described in the PPCBug Diagnostics Manual.
A user interface or debug/diagnostics monitor that accepts
commands from the system console terminal.
When using PPCBug, you operate out of either the debugger directory or the diagnostic directory.
If you are in the debugger directory, the debugger prompt
PPC1-Bug> is displayed and you have all of the debugger commands
at your disposal.
If you are in the diagnostic directory, the diagnostic prompt
PPC1-Diag>
is displayed and you have all of the diagnostic commands at your disposal as well as all of the debugger commands.
Because PPCBug is command-driven, it performs its various operations in response to user commands entered at the keyboard. When you enter a command, PPCBug 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 PPCBug, depending on
the outcome of the user program.
5-2 Computer Group Literature Center Web Site
Page 85

Memory Requirements

PPCBug requires a maximum of 512KB of read/write memory (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 $03F80000 to $03FFFFFF.

PPCBug Implementation

MPU, Hardware, and Firmware Initialization

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.
MPU, Hardware, and Firmware Initialization
The debugger performs the MPU, hardware, and firmware initialization process. This process occurs each time the MVME2300 is reset or powered up. The steps below are a high-level outline, not all of the detailed steps are listed.
1. Sets MPU.MSR to known value.
2. Invalidates the MPU’s data/instruction caches.
5
5-3
3. Clears all segment registers of the MPU.
4. Clears all block address translation registers of the MPU.
5. Initializes the MPU-bus-to-PCI-bus bridge device.
6. Initializes the PCI-bus-to-ISA-bus bridge device.
Page 86
PPCBug
7. Calculates the external bus clock speed of the MPU.
8. Delays for 750 milliseconds.
9. Determines the CPU base board type.
10. Sizes the local read/write memory (DRAM).
11. Initializes the read/write memory controller. Sets base address of memory to $00000000.
5
12. Retrieves the speed of read/write memory from NVRAM.
13. Initializes the read/write memory controller with the speed of read/write memory.
14. Retrieves the speed of read only memory (flash) from NVRAM.
15. Initializes the read only memory controller with the speed of read only memory.
16. Enables the MPU’s instruction cache.
17. Copies the MPU’s exception vector table from $FFF00000 to $00000000.
18. Verifies MPU type.
19. Enables the super-scalar feature of the MPU (boards with MPC604 type chips only).
20. Verifies the external bus clock speed of the MPU.
21. Determines the debugger’s console/host ports, and initializes the PC16550A.
22. Displays the debugger’s copyright message.
23. Displays any hardware initialization errors that may have occurred.
24. Checksums the debugger object, and displays a warning message if the checksum failed to verify.
25. Displays the amount of local read/write memory found.
5-4 Computer Group Literature Center Web Site
Page 87

Using PPCBug

26. Verifies the configuration data that is resident in NVRAM, and displays a warning message if the verification failed.
27. Calculates and displays the MPU clock speed, verifies that the MPU clock speed matches the configuration data, and displays a warning message if the verification fails.
28. Displays the BUS clock speed, verifies that the BUS clock speed matches the configuration data, and displays a warning message if the verification fails.
29. Probes PCI bus for supported network devices.
30. Probes PCI bus for supported mass storage devices.
31. Initializes the memory/IO addresses for the supported PCI bus devices.
32. Executes Self-Test, if so configured. (Default is no Self-Test.)
33. Extinguishes the board fail LED, if Self-Test passed, and outputs any warning messages.
5
34. Executes boot program, if so configured. (Default is no boot.)
35. Executes the debugger monitor (issues the
Using PPCBug
PPCBug is command-driven and performs its various operations in response to commands that you enter at the keyboard. When the PPC1-Bug prompt appears on the screen, the debugger is ready to accept debugger commands. When the PPC1-Diag prompt appears on the screen, the debugger is ready to accept diagnostics commands. To switch
from one mode to the other, enter SD.
The data keyed 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.
5-5
PPC1-Bug> prompt).
Page 88
PPCBug
After the debugger executes the command, the prompt reappears. However, if the command causes execution of user target code (for
example GO) then control may or may not return to the debugger,
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 System Call Handler
routine RETURN. For more about this, refer to the GD, GO, and GT command descriptions in the PPCBug Firmware Package User’s Manual.
5
A debugger command is made up of the following parts:
The command name, either uppercase or lowercase (for example,
MD or md).
Any required arguments, as specified by command.
At least one space before the first argument. Precede all other
arguments with either a space or comma.
One or more options. Precede an option or a string of options with
a semicolon (;). If no option is entered, the command’s default
option conditions are used.

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
Command Description
AS One Line Assembler
BC Block of Memory Compare
5-6 Computer Group Literature Center Web Site
.
Help (HE) command alone. You can view the syntax for a particular command by entering HE and the command
mnemonic, as listed below.
Table 5-1. Debugger Commands
Page 89
Table 5-1. Debugger Commands (Continued)
Command Description
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
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
DMA Block of Memory Move
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
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
GEVINIT Global Environment Variable Initialization
GEVSHOW Global Environment Variable(s) Display
GN Go to Next Instruction
GO Go Execute User Program
GT Go to Temporary Breakpoint
HE Help
Using PPCBug
5
5-7
Page 90
PPCBug
Table 5-1. Debugger Commands (Continued)
Command Description
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
5
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
MD, MDS Memory Display
MENU System Menu
MM Memory Modify
MMD Memory Map Diagnostic
MS Memory Set
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
5-8 Computer Group Literature Center Web Site
Page 91
Table 5-1. Debugger Commands (Continued)
Command Description
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
RL Read Loop
RM Register Modify
RS Register Set
RUN MPU Execution/Status
SD Switch Directories
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
Using PPCBug
5
5-9
Page 92
PPCBug
Caution
Although a command to allow the erasing and reprogramming of flash
!
memory is available to you, keep in mind that reprogramming any portion of flash memory will erase everything currently contained in flash, including the PPCBug debugger.
Note, however, that both banks A and B of flash contain the PPCBug debugger.
5

Diagnostic Tests

The PPCBug hardware diagnostics are intended for testing and troubleshooting the MVME2300 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
PPC1-Bug>
displays, and all of the debugger commands are available. Diagnostics commands cannot be entered at the
If you are in the diagnostic directory, the diagnostic prompt
PPC1-Bug> prompt.
PPC1-Diag>
displays, and all of the debugger and diagnostic commands are available.
PPCBug’s diagnostic test groups are listed in the Table 5-2 on page 5-10.
Note that not all tests are performed on the MVME2300. Using the HE
command, you can list the diagnostic routines available in each test group.
Refer to the PPCBug Diagnostics Manual for complete descriptions of the
diagnostic routines and instructions on how to invoke them.
Table 5-2. Diagnostic Test Groups
Test Group Description
CL1283 Parallel Interface (CL1283) Tests*
DEC DEC21x40 Ethernet Controller Tests
ISABRDGE PCI/ISA Bridge Tests
KBD8730x PC8730x Keyboard/Mouse Tests*
L2CACHE Level 2 Cache Tests*
5-10 Computer Group Literature Center Web Site
Page 93
Using PPCBug
Table 5-2. Diagnostic Test Groups (Continued)
Test Group Description
NCR NCR 53C8xx SCSI-2 I/O Processor Tests*
PAR8730x Parallel Interface (PC8730x) Test
UART Serial Input/Output Tests
PCIBUS PCI/PMC Generic Tests
RAM Local RAM Tests
RTC MK48Txx Timekeeping Tests
SCC Serial Communications Controller (Z85C230) Tests*
VGA543x Video Diagnostics Tests*
VME2 VMEchip2 VME Interface ASIC Tests*
Z8536 Z8536 Counter/Timer Tests*
Notes You may enter command names in either uppercase or
lowercase.
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.
5
5-11
Test Sets marked with an asterisk (*) are not available on the MVME2300.
Page 94
Page 95

6Modifying the Environment

Overview

You can use the factory-installed debug monitor, PPCBug, to modify certain parameters contained in the module’s NVRAM, also known as Battery Backed-up RAM (BBRAM).
The CNFG and ENV commands are both described in the PPCBug
Firmware Package User’s Manual, listed in Appendix D, Related
Documentation. Refer to that manual for general information about their
use and capabilities.
6
The Board Information Block in NVRAM contains various
elements concerning operating parameters of the hardware. Use the
PPCBug command CNFG to change those parameters.
Use the PPCBug command ENV to change configurable PPCBug
parameters in NVRAM.
The following paragraphs present additional information about CNFG and ENV that is specific to the PPCBug debugger, along with the parameters that can be configured with the ENV command.
6-1
Page 96
Modifying the Environment

CNFG – Configure Board Information Block

Use this command to display and configure the Board Information Block, which is resident within the NVRAM. The board information block contains various elements detailing specific operational parameters of the MVME2300. The board structure is as shown in the following example:
Board (PWA) Serial Number = “MOT00 Board Identifier = “MVME2300 ” Artwork (PWA) Identifier = “01-w3260F MPU Clock Speed = “200
6
Bus Clock Speed = “067 ” Ethernet Address = 08003E20C983 Local SCSI Identifier = “07” System Serial Number = “ System Identifier = “Motorola MVME2300” License Identifier = “
xxxxxxx
nnnnnnn
nnnnnnnn
xx
B”
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 MVME2300 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.
6-2 Computer Group Literature Center Web Site
Page 97

ENV – Set Environment

Use the ENV command to view and/or configure interactively all PPCBug
operational parameters that are kept in NVRAM.
Refer to the PPCBug Firmware Package User’s Manual for a description of the use of ENV. Additional information on registers in the Universe ASIC that affect these parameters is contained in your MVME2300 Series VME Processor Module Programmer’s Reference Guide.
Listed and described below are the parameters that you can configure with
the ENV command. The default values shown were those in effect when
this publication went to print.

Configuring the PPCBug Parameters

The parameters that can be configured with ENV are:
Bug or System environment [B/S] = B?
ENV – Set Environment
6
6-3
B
S
Field Service Menu Enable [Y/N] = N?
Y N
Bug is the mode where no system type of support is displayed. However, system-related items are still available. (Default)
System is the standard mode of operation, and is the default mode if NVRAM should fail. System mode is defined in the PPCBug Firmware Package User’s Manual.
Display the field service menu.
Do not display the field service menu. (Default)
Page 98
Modifying the Environment
Remote Start Method Switch [G/M/B/N] = B?
The Remote Start Method Switch is used when the MVME2300 is cross-loaded from another VME-based CPU, to start execution of the cross-loaded program.
G
Use the Global Control and Status Register to pass and start execution of the cross-loaded program. This selection is not
applicable to the MVME2300 boards.
M
Use the Multiprocessor Control Register (MPCR) in shared RAM to pass and start execution of the cross-loaded program.
B
6
N
Probe System for Supported I/O Controllers [Y/N] = Y?
Y
Use both the GCSR and the MPCR methods to pass and start execution of the cross-loaded program. (Default)
Do not use any Remote Start Method.
Accesses will be made to the appropriate system buses (e.g., VMEbus, local MPU bus) to determine the presence of supported controllers. (Default)
N
Accesses will not be made to the VMEbus to determine the presence of supported controllers.
Auto-Initialize of NVRAM Header Enable [Y/N] = Y?
Y
NVRAM (PReP partition) header space will be initialized automatically during board initialization, but only if the PReP partition fails a sanity check. (Default)
N
NVRAM header space will not be initialized automatically during board initialization.
Network PReP-Boot Mode Enable [Y/N] = N?
Y
Enable PReP-style network booting (same boot image from a network interface as from a mass storage device).
N
Do not enable PReP-style network booting. (Default)
6-4 Computer Group Literature Center Web Site
Page 99
Negate VMEbus SYSFAIL* Always [Y/N] = N?
ENV – Set Environment
Y N
Negate the VMEbus SYSFAIL signal during board initialization. Negate the VMEbus SYSFAIL signal after successful
completion or entrance into the bug command monitor. (Default)
SCSI Bus Reset on Debugger Startup [Y/N] = N?
Y N
Primary SCSI Bus Negotiations Type [A/S/N] = A?
A S N
Primary SCSI Data Bus Width [W/N] = N?
W N
Secondary SCSI identifier = 07?
Local SCSI bus is reset on debugger setup.
Local SCSI bus is not reset on debugger setup. (Default)
Asynchronous SCSI bus negotiation. (Default)
Synchronous SCSI bus negotiation.
None.
Wide SCSI (16-bit bus).
Narrow SCSI (8-bit bus). (Default)
Select the identifier. (Default = 07.)
6
6-5
NVRAM Bootlist (GEV.fw-boot-path) Boot Enable [Y/N] = N?
Y
Give boot priority to devices defined in the fw-boot-path global environment variable (GEV).
N
Do not give boot priority to devices listed in the fw-boot-path GEV. (Default)
Note When enabled, the GEV (Global Environment Variable) boot
takes priority over all other boots, including Autoboot and Network Boot.
Page 100
Modifying the Environment
NVRAM Bootlist (GEV.fw-boot-path) Boot at power-up only [Y/N] = N?
Y
Give boot priority to devices defined in the fw-boot-path GEV at power-up reset only.
N
Give power-up boot priority to devices listed in the fw-boot­path GEV at any reset. (Default)
NVRAM Bootlist (GEV.fw-boot-path) Boot Abort Delay = 5?
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
6
is from 0-255 seconds. (Default = 5 seconds)
Auto Boot Enable [Y/N] = N?
Y N
Auto Boot at power-up only [Y/N] = N?
Y N
Auto Boot Scan Enable [Y/N] = Y?
The Autoboot function is enabled.
The Autoboot function is disabled. (Default)
Autoboot is attempted at power-up reset only.
Autoboot is attempted at any reset. (Default)
BREAK key. The time value
Y
If Autoboot is enabled, the Autoboot process attempts to boot from devices specified in the scan list (e.g.,
FDISK/CDROM/TAPE/HDISK). (Default)
N
If Autoboot is enabled, the Autoboot process uses the Controller LUN and Device LUN to boot.
Auto Boot Scan Device Type List = FDISK/CDROM/TAPE/HDISK?
This is the listing of boot devices displayed if the Autoboot Scan option is enabled. If you modify the list, follow the format shown above (uppercase letters, use a forward slash as separator).
6-6 Computer Group Literature Center Web Site
Loading...