While reasonable efforts have been made to assure the accu r acy of this document,
Motorola, Inc. assum es no li abilit y resu lting f rom any omi ssions in t his d ocument, or from
the use of the information obtained therein. Motorola reserves the right to revis e this
document and to make change s from time to time in the content hereof without obligation
of Motorola to notify any person of such revision or changes.
No part of this mate rial may be reproduced or copied in any tangible medium, or stored in
a retrieval system, or transmitted in any form, or by any means, radio, electronic,
mechanical, photocopying, recording or facsimile, or otherwise, without the prior written
permission of Motorola, Inc.
It is possible that this publ icat ion may conta in referenc e to, or inf ormation about Motorola
products (machines and programs), programming, or services that are not announced in
your country. Such references or information must not be construed to mean that Mo torola
intends to announce such Motorola produc ts, programming, or services in your country.
Restricted Rights Legend
If the documentation containe d here in is supplied, directly or indirectly, to the U.S.
Government, the following notice shall apply unless otherwise agreed to in writing by
Motoro la , Inc.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at
DFARS 252.227-7013.
Motorola, Inc.
Computer Group
2900 South Diablo Way
T empe, Arizona 85282
Preface
The MVME162LX 200/300 Series Embedded Contr oller Installation and Use Manual
provides a board- level description of the MVME162LX Embedded Controller. It contains
a general overview of the product along with a list of hardware features and a detailed
functional description.
The information containe d in this manual applies to the MVME162LX-2xx and
MVME162LX-3xx (200 and 300 series) models that are curre ntly shipping as of the
publication date of this manual.
Motorola
All other product s mentioned in this document are trademarks or registered trademarks of
their respecti ve holder s.
®
and the Motorola symbol are registered trademarks of Motorola, Inc.
The following general safety precautions must be observed during all phases of operation, service, and repair of this
equipment. Failure to comp ly with the se preca utions or with spec ific wa rnings elsew here in this manua l violate s safety
standards of design, manufacture, and intended use of the equipment. Motorola, Inc. assumes no liability for the
customer’s failure to comply with these requirements.
The safety precautions listed below represent warnings of certain dangers of which Motorola is aware. You, as the
user of the product, should follow these warnings and all other safety precautions necessary for the safe operation of
the equipment in your operating environment.
Ground the Instrument.
To minimize shock hazard, the equipment chassis and enclosure must be connected to an electrical ground. The
equipment is supplied with a three-conductor AC power cable. The power cable must be plugged into an approved
three-contac t el ectrical outlet. The power jack an d m atin g plug of the p owe r c able me et I nternational Ele ctro tech nica l
Commission (IEC) safety standards.
Do Not Operate in an Explosive Atmosphere.
Do not operate the equipment in the presence of flammable gases or fumes. Operation of any electrical equipment in
such an environment constitutes a definite safety hazard.
Keep Away From Li ve Ci rc ui ts.
Operating personnel must not remove equipment covers. Only Factory Authorized Service Personnel or other
qualified maintenance personnel may remove equipment covers for internal subassembly or component replacement
or any internal adjustment. Do not replace components with power cable connected. Under certain conditions,
dangerous voltages may exist even with the power cable removed. To avoid injuries, always disconnect power and
discharge circuits before touching them.
Do Not Service or Adjust Alone.
Do not attempt intern al service or adjustment unle ss another person capabl e of rendering first aid and res usci t atio n is
present.
Use Caution When Exposing or Handling the CRT.
Breakage of the Cathode-Ray Tube (CRT) causes a high-velocity scattering of glass fragments (implosion). To
prevent CRT implosion, avoid rough handling or jarring of the equipment. Handling of the CRT should be done only
by qualified maintenance personnel using approved safety mask and gloves.
Do Not Substitute Parts or Modify Equipment.
Because of the danger of introducing additional hazards, do not install substitute parts or perform any unauthorized
modification of the equipment. Co ntac t your local Motorola representative for s ervi c e and repair to ensure that sa fet y
features are maintained.
Dangerous Procedure Warnings.
Warnings, such as th e exa mple below, p rece de potentially dangerous procedu res th roug hout this manual. Instructions
contained in the warnings must be followed. You should also employ all other safety precautions which you deem
necessary for the operation of the equipment in your operating environment.
Dangerous voltages, capable of causing death, are present in
!
WARNING
this equipment. Use extreme caution when handling, testing,
and adjusting.
All Motorola printed wiring boards (PWBs) are manufactured by UL-recognized
manufacturers, with a fla mmability rating of 94V-0.
This equipment generate s, use s, and can radiate electro-
!
WARNING
European Notice: Board produc ts with the CE marking comply with the EMC
Directive (89/336/EEC ). Marking a system with the CE symbol indicates
compliance of that Motorola system to the applicable directives of the European
Community. A system with the CE marking meets or exceeds the following
technical standards:
magnetic energy. It may cause or be suscept ible to electromagnetic interference (EMI) if not installed and used in a
cabinet with adequate EMI protec tion.
EN55022 (CISPR 22): Limits and Methods of Measurement of Radio
Interference Characteristics of Information Tech nology Equipment. Tested to
Equipment Class B.
EN50082-1, 1992: Electromagnetic Compatibility -- Generic Immunity
Standard, Part 1: Residential, Commercial and Light Industry.
IEC801-2: Electromagnetic Compatibility for Industrial Process
Measurement and Control Equipment , Par t 2: Electrostatic Discharge
Requirements.
IEC801-3: Electromagnetic Compatibility for Industrial Process
Measurement and Control Equipment, Part 3: Radiate d Electromagnetic Field
Requirements.
IEC801-4: Electromagnetic Compatibility for Industrial Process
Measurement and Control Equipment, Part 4: Electrical Fast Transi ent/Burst
Requirements.
The product also fulfill s EN60950 (product safety) which is essentially the
requirement for the Low Voltage Directive (73/23/EEC).
In accordance with European Community directives, a “Declaration of
Conformity” has been made and is on file at Motorola, Inc. - Computer Group,
27 Market Street, Maidenhead, United Kingdom, SL6 8AE.
This board produc t was teste d in a repr esentative syst em to show compl iance with
the above mentioned requirements . A proper installation in a CE-marked system
will maintain the required EMC/safety performance.
Table I-4. Connector P 2 Interconnect Signals...................................................... ... I-10
xiii
xiv
1Board Level Hardware
Introduction
This chapter provides a board-level hardware description of the
MVME162LX Embedded Controller. It co ntains a general overview of the
product along with a list of hardware features and a detailed functional
description. The controller’s front panel switches and indicators are
included in th e functional description. Additionally, a section on memory
maps is provided at the end of this chapter to familiarize you with the
controller’s memory ad dresses and the corresponding devices accesse d.
All of the controller’s pr ogrammable registers that reside in ASICs are
covered in the MVME162LX Embedded Controller Programmer’s Reference Guide.
Overview
The MVME162LX Embedded Contr oller is ba sed on the MC68040 or the
MC68LC040 microprocessor. The MC68040 microprocessor has a
floating-point ( math) coprocessor and the MC68LC040 does not.
Various versions of the contr oller contain the following:
Description
1
❏ 1 or 4 MB of parity-protected DRAM
❏ 4, 8, 16, or 32 MB of ECC-protected DRAM
❏ 128 KB of SRAM (with battery backup)
❏ Time of day clock (with battery backup)
❏ An optional LAN Ethernet transce ive r interface
❏ Four serial ports with an EIA-232- D interface
❏ Six tick timers with watchdog timer(s)
❏ Four EPROM sockets
❏ 1 MB flash memory (one flash device)
❏ Two IndustryPack (IP) inte rfa ces
❏ An optional SCSI bus interface with DMA
❏ An optional VMEbus interface (local bus to VMEbus/VMEbus to
local bus, with A16/A24/A32, D8/D16/D32 bus widths and a
VMEbus system controller)
1-1
1
Board Level Hardware Descript ion
Input/Output (I/O) signals are routed through industry standar d connectors
on the controller’s front panel. This includes the I/O for the serial ports,
which is provided by four RJ45 connectors.
The VME bus int er face is provided by an ASIC called the VMEchip2. It
contains two tick timers, a watchdog timer, programmable map decoders
for the master and slave interfaces, a VMEbus to/from local bus DMA
controller, a VMEbus to/from local bus non-DMA programmed access
interface, a VMEbus interrupter, a VMEbus sys tem controlle r, a VMEbu s
interrupt handler, and a VMEbus requester.
Processor-to-VMEbus tra nsfers can be D8, D16, or D32. VMEchip2
DMA tran sfers to the VM Ebus, however, can be D16, D32, D16/BLT,
D32/BLT, or D64/MBLT.
The MCchip ASIC provides four t ick timers, the interface to the LAN chip,
SCSI chip, serial port chip, BBRAM, EPROM/Flash, DRAM and SRAM.
The MCECC memory controller ASIC provides the programmable
interface for the ECC-protected 16 MB DRAM mezzanine board.
The IndustryPack Interface Controller (IPIC) ASIC provides control and
status information for up to two single size IndustryPacks (IPs) or one
double size IP that can be plugged into the controller’s PCB.
Related Documentation
The MVME162LX Embedded Controller does not ship with all of the
documentation that is available for the product. Additional (optional)
publications are available for the controller and are listed in Appendix I.
These publicati ons can provide you with additional informa tion about the
product. Instructions on how to obtain them are also provid ed in
Appendix I.
1-2Computer Group Literature Center Web Site
Models Available
As of the publication date of this manual, the MVME162LX Embedded
Controller is avail able in a number of models shown in Table 1-1.
Table 1-1. MVME162LX Embedded Controller Models
ModelDescription
-200MC6 8 L C040 25 MHz mic r o processor, 1 MB DRAM,
128 KB SRAM,1 MB Flash memory, 2 IndustryPack sites
-201MC6 8 L C040 25 MHz mic r o processor, 1 MB DRAM,
128 KB SRAM,1 MB Flash memory, 2 IndustryPack sites, 4 serial ports
-202MC6 8 L C040 25 MHz mic r o processor, 1 MB DRAM,
128 KB SRAM,1 MB Flash memory, 2 IndustryPack sites, 4 serial ports
-210MC6 8 L C040 25 MHz mic r o processor, 4 MB DRAM, 1 28 KB S RAM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports
-211MC68 L C 040 25 MHz micr o p r ocessor, 4 MB DRA M , 1 28 KB S R AM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports, SCSI
-212MC6 8 L C040 25 MHz mic r o processor, 4 MB DRAM, 1 28 KB S RAM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports, Ethernet
Introduction
1
-213MC6 8 L C040 25 MHz mic r o processor, 4 MB DRAM, 1 28 KB S RAM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports, SCSI &
Ethernet
-216MC6 8 L C040 25 MHz mic r o processor, 4 MB DRAM, 1 28 KB S RAM,
1 MB Flash memory, 2 IndustryP ac k sites, Ethernet, No VME
-220MC68040 25 MHz microprocessor , 4 MB DRAM, 128 KB SRAM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports
-222MC68040 25 MHz microprocessor , 4 MB DRAM, 128 KB SRAM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports, Ethernet
-223MC68040 25 MHz microprocessor , 4 MB DRAM, 128 KB SRAM,
1 MB Flash memory, 2 IndustryP ac k sites, 4 serial ports, SCSI &
Ethernet
-233MC6 8 L C040 25 MHz mic r o processor, 4 MB EC C DRAM ,
128 KB SRAM, 1 MB Flash memory, 2 Indust ryPac k sit es, 4 ser ial por ts,
SCSI & Ethernet
The controller is designed to conform to the requirements of the following
documents:
❏
VMEbus S pecification (IEEE 1014-87)
❏
EIA-232-D Serial Interface Specification, EIA
❏
SCSI Specification, ANSI
❏
IndustryPack S pecification, GreenSpring
1-4Computer Group Literature Center Web Site
Available Software
Ava il ab le s of tware for t he co n tro l ler in cludes th e on - bo ar d de bu g ge r/m o n it or
firmware, VMEexec d river packages for v ar ious IndustryPack modules, and
numerous third-party applications for MC680
local Motoro la sales office or distribution for more information.
Required Equipment
T
he following equipment is required to complete an M VME162LX system:
❏
System console terminal
❏
Disk drives and controllers
❏
Operating syste m
As mention ed earlier, transition modules are unnecessary, as the controller
incorporates industry-standard SCSI, Ethernet, and RJ45 serial connectors on
its front panel.
Features
Introduction
x
0-based systems. Contact your
1
General featur es of the MVME162LX Embedded C ontroller are sho wn in
the following table:
FeatureDescriptionModels
MicroprocessorMC68LC040See Table 1-1
MC68040See Table 1-1
Memory1 or 4 MB of parity-protected DRAMSee Table 1-1
4, 8, 16, or 32 MB of ECC-protected DRAM See Table 1-1
128 KB of SRAM (with battery ba ckup)All models
1 MB of Flash memoryAll models
Real-time clock8KB NVRAM with RTC and battery ba ckup
Local-bus-to-VMEbus in terface
(A16/A24/A32, D8/D16/D32)
Two 32- bit programma ble Tick Timers a nd a
programmable Watchdog Timer (in the
VMEchip2 ASIC) for periodic interrupts
Global CSR for interprocessor
communications
DMA for fast local memory - VMEbus
transfers (A16/A24/A32,
D16/D32 [D16/D32/D64 BLT])
1-6Computer Group Literature Center Web Site
Specifications
Table 1-2 lists the specifications for an MVME162LX Embedded
Controller without IndustryPacks.
CharacteristicsSpecifications
Introduction
1
Table 1-2. MVME162LX Specifications
Power requirements
(with EPROMs; without IPs )
Oper at in g temperatur e0° to 70° C ex i t ai r wi th for c ed air co o li n g
Storage temperature-40° to +85° C
Relative humidit y5% to 90% (noncondensing)
Physical dimensions
PC board with mezzanine
module only
Height
Depth
Thickness
PC bo a r d with co nn ector s
and front panel
Height
Depth
Thickness
+5Vdc (± 5%), 3.5 A typical, 4.5 A maximum
+12 Vdc (± 5%), 100 mA maximum
-12 Vdc (± 5%), 100 mA maximum
(see NOTE)
Double-high VMEboard
9.20 inches (233 mm)
6.30 inches (160 mm)
0.66 inch (17 mm)
10.3 inches (262 mm)
7.4 inches (188 mm)
0.80 inch (20 mm)
Note:Refer to the sections on the followi ng pag es for information
on Cooling Requirements and Special Requirements for
Elevated-Temperature Operation.
http://www.mcg.mot.com/literature1-7
1
Board Level Hardware Descript ion
Cooling Requirements
The Motorola MVME162LX Embe dded Contr oller is de sign ed and te sted
to operate reliably with an incoming air temperature range of 0° to 55° C
(32° to 131° F). This is accomplished with forced air coolin g at a velocity
typically achieva ble by a 100 CFM axi al fan. Temper ature quali fi cation is
performed in a standard Motorola VME system chassis. 25 wat t load
boards are inserted in two card slots (one on each side ), adjacent to the
board under test, to simulate a high power density system configuration.
An assembly of three axial fans, rated at 100 CFM per fan, is placed
directly under the VME card cage. The incoming air temperature is
measured between the fan assembly and the card cage, where the incoming
airstream first encounters the controller under test. Test softwa re is
executed as the controller is subje cted to ambient temperature variations.
Case temperatures of critical, high power density integrated circui ts are
monitored to ensure the component vendor ’s specifications are not
exceeded.
While the exact amount of air flow required for cooling depends on the
ambient air temperat ure and the type, number, and location of boards and
other heat sourc es; adequate cooling c an usually be achieved with 1 0 CFM
and 490 LFM flowing over the contr oller . Less ai r fl ow is requir ed to c ool
the controller in environments having lower maximum ambient
temperatures. Under more f avorable thermal condit ions, it may be possible
to operate the controller reliably at higher than 55° C with increased air
flow. It is important to note that ther e are several factors (i n addition to the
rated CFM of the fan), which deter mine the actual volum e and speed of air
flowing over the controller .
1-8Computer Group Literature Center Web Site
Introduction
Special Considerations for Elevated-Temperature Operation
This section provide s information pertine nt to users whose application s for
the MVME162LX Embedded Controller may subject it to high
temperatures.
The controller’s design uses commercial grade devices. Therefore, it can
operate within an air temperature range of 0° C to 70° C. There are many
factors that affect the ambient temperature felt by components on the
controller: inlet air temperature; air flow characteristics; number, types,
and locations of IndustryPack modules; power dissipation of adjacent
boards in the system, etc.
A temperature profile of an MVME162LX Embedded Controll er
(MVME162-223) was developed in an MVME945 12-slot VME chassis.
This board was loaded with one GreenSpring IP-Dual P/T module
(position a) and one GreenSprin g IP-488 module (position b). One twentyfive-watt lo ad board was install ed adjacent t o e ach side of the boa rd und er
test. The exit air velocity was approximately 200 LFM between the
controller and the IP-Dua l P/T module . Unde r these conditions, a 10° C
rise between the inlet and exit air was observed. At 70° C exit air
temperature (60° C inlet air), the junction temperatures of devices on the
controller were calculated (from the measured case temperatures) and did
not exceed 100° C.
1
The following are some steps that the user can take to help make elevated
temperature operation possible:
1. Position the MVME162LX Embedded Controller in the chassis for
maximum air flow over the component side of the board.
2. Avoid placing boards with high power dissipation adjacent to the
controller.
3. Use low power IndustryPack modules only.
http://www.mcg.mot.com/literature1-9
1
Board Level Hardware Descript ion
Manual Terminology
Throughout this m anual, a convention is used which precedes data and addr ess
parameters by a character identifying the numeric format as follows:
$dolla rspecifi es a he x ad e ci m a l ch ar a cter
%percentspecifies a binary number
&ersandspecifies a decimal number
For examp le, "12" is the decimal number twelve, and "$12" is the de cimal
number eighteen. Unless otherwise specified, all address references are in
hexadecimal.
An asterisk (*) following the signal name for signals which are level
significant denotes that the signal is true or v alid when the signal is low .
An asterisk (*) following the signal nam e for signals which are edge significant
denotes that the actions initiated by that signa l occur on high to low transitio n.
In this manual, assertion a nd nega tion are u sed to spe cify forcing a signal to a
particular state. In particular, assertion and assert refer to a signal that is active
or true; negation a nd negate indicate a signa l that is inactive or false. T hese
terms are used ind ependently of the voltage level (high or low) that they
represent.
Data and address sizes are defined as follows:
❏
A byte is eight bits, numbered 0 through 7, with bit 0 being the least
significant.
❏
A word is 16 bits, numbered 0 through 15, with bit 0 being the least
significant.
❏
A longword is 32 bits, numbered 0 through 31, with bit 0 being the least
significant.
The terms "contr ol bit" and "status bit" are use d exte nsively in this document.
The term control bit is used to describe a bit in a register that can be set and
cleared under software control. The term "true" is used to indicate that a bit is
in the state that enables the function it controls. The term "false" is used to
indicate that the bit is in the state that disables the function it controls. In all
tables, the terms 0 and 1 are used to describe the actual value that should be
written to the bit, or the value that it yields when read. The term status bit is
used to describe a bit in a register that reflects a specific cond ition. Th e status
bit can be read b y software to determ ine operational or exception conditions.
1-10Computer Group Literature Center Web Site
Block Diagram
Block Diagra m
1
1MB
FLASH
Optional
Panel
RJ-45 Front
4 Serial Ports
SCSI
OptionalOptional
Ethernet
EIA-232
Transceivers
Connector
Peripherals
Panel SCSI
68-pin Front
Panel
Connector
Transceiver
DB-15 Front
I/O
2 Channels
IndustryPack
Dual 85230
Four 32-pi n
53C710
i82596CA
IPchip
Serial
I/O Contr o llers
MCchip
Sockets
EPROM
SCSI
Coprocessor
Ethernet
Controller
A32/D32
Interface
IndustryPack
8KB
MK48T08
Battery Backed
2MB SRAM
16MB E CC
1 or 4MB P a rity
128KB SRAM
Memory Array
DRAM Memory
DRAM Memory
1211 9310
w/Battery
Memory Array
w/Battery
Array
Configuration Dependent
Array
MPU
25 MHz
MC68LC040
VMEbus
Master/Slave
A32/24:D64/32/16/08
VMEbus
Interface
VMEchip2
Optional MC68040
Figure 1-1. MVME162LX Block Diagram
http://www.mcg.mot.com/literature1-11
1
Board Level Hardware Descript ion
Functional Description
This section contains a functiona l description of the MVME162LX
Embedded Controller.
Switches and LEDs
The controller’s front panel has an ABORT and RESET swit ch and four
light-emitting diode (LED) indicators (FAIL, RUN, SCON, FUSES).
ABORT Switch
RESET Switch
When enabled by software, the
user-programmable leve l. I t is norma lly used to abort program execution
and return to the 162Bug debugger firmware locat ed in the controller’s
EPROMs and flash memory.
The
ABORT switch interrupter in the MCchip ASIC is an edge-sensitive
interrupter connect ed to the ABORT switch. This interrupte r is filtered to
remove switch bounce.
Note:
The RESET switch r esets all onboard devices; it also drives SYSRESET*
if the MVME162LX is operating as system controller. The RESET switch
may be disabled by software.
The VMEchip2 includes both a global and a local reset driver. When the
VMEchip2 operates as the VMEbus system controller, the reset driver
provides a global system reset by asserting the VMEbus signal
SYSRESET*. A SYSRESET* may be generated by the
power-up reset, a watchdog timeout, or by a control bit in the LCSR (local
control/status register) in the VMEchip2. SYSRESET* remains asserted
for at least 200 msec, as required by the VMEbus specification.
For an MVME162LX without the VMEbus option (no
VMEchip2), the LCSR control bit is not available to reset the
module. In this case, the watchdog timer is allowed to time out
to reset the controller.
ABORT switch generates an interrupt at a
RESET switch, a
1-12Computer Group Literature Center Web Site
Similarly, the VMEchip2 provides an input signal and a control bit to initiate
a local res et operatio n. By setting a control bit , software can maintain a b oard
in a reset state, disabling a faulty board from participating in normal system
operation . The lo cal res et dri ver i s ena bled e ven wh en th e VME chip 2 is n ot
the system controller. A local reset may be generated by the RESET switch,
a power-up reset, a watchdog timeout, a VMEbus SYSRESET*, or by a
control bit in the global control/status register (GCSR).
Front Panel Indicators
Functional Description
1
There are four LEDs on the MVME162LX front pa nel :
and FUSES.
❏ FAIL LED (red). Light s when the BRDFAIL* si gnal line is active or
when the processor is halted. Part of DS1.
❏ RUN LED (green or amber). Lights when the local bus TIP* signal
line is low. This indicates one of the loca l bus master s is executing
a local bus cycle. Part of DS1.
❏ SCON LED (green). Lights when the VMEchip2 in the
MVME162LX is the VMEbus system controller. Part of DS2.
❏ FUSES LED (green). Lights when +5 Vdc, +12 Vdc, and -12 Vdc
power is ava ilable to t he LAN, IP, and SCSI interfaces. Part of DS2.
Data Bus Structure
The local bus on the MVME162LX Embedded Controller is a 32-bit
synchronous bus that is based on the MC68040 bus, and supports burst
transfers and snooping. The var ious local bus maste r and slave devi ces use
the local bus to communicate. The local bus is arbitrated by priority type
arbiter and the priori ty of the loc al bus masters from highest to lowest is:
82596CA LAN, 53C710 SCSI, VMEbus, and MPU. In the general case,
any master can access any slave; however, not all combinations pass the
common sense test. Refer to the MVME162LX Embedded Controller Programmer’s Reference Guide to determine its port size, data bus
connection, and any restrictions that apply when accessing the device.
FAIL, RUN, SCON,
http://www.mcg.mot.com/literature1-13
1
Board Level Hardware Descript ion
MC68040 or MC68LC040 CPU
The MC68040 or MC68LC040 processor is used on the MVME162LX.
The MC68040 has on-chip instruc tion and data cache s and a floating point
process or . The majo r diff eren c e be twe en the tw o pro ce sso rs is that the
MC68040 has a floating point coprocessor. Refer to the M68040 user’s
manual for additional information.
MC68
XX
040 Cache
The MVME162LX local bus maste rs (VMEchip2, MC68XX040, 5 3C710
SCSI controller, and 82596CA Ethernet controller) have programmable
control of the snoop/caching mode. The MVME162LX local bus slaves
which support MC68XX040 bus snooping are defined in the Local Bus
Memory Map table later in this chapter.
No VMEbus Interface Option
The MVME162LX can be operated as a n embedded controlle r without the
VMEbus interface. To su pport thi s featur e, certain logic in the VMEchip2
has been duplicated in the MCchip. This logic is inh ibited in the MCchip
if the VMEchip2 is present. The enabl es for the se f unctions ar e control led
by software and MCchip hardware initialization.
1-14Computer Group Literature Center Web Site
Memory Options
The following memory options are used on the different versions of
MVME162LX Embedded Controller boards.
DRAM Options
The controller of fers vari ous DRAM options (see Table 1-1) : either 1 MB
or 4 MB of parity-protec ted DRAM, or 4, 8, 16, or 32 MB ECC DRAM on
a mezzanine boa rd. Parity protecti on ca n be ena bled wi th i nterrupt s or b us
exception when a pa rity error is detected. DRAM performance is specified
in the MVME162LX Embedded Controller Programmer’s Reference Guide in the section on the DRAM Memory Controller in the MCchip
Programming Model.
The DRAM map decoder can be programmed to accommodate different
base address(es) and sizes of mezzanine boards. The onboard DRAM is
disabled by a local bus reset and must be programmed before the DRAM
can be accessed. Refer to the MCchip and MCECC descriptions in the
MVME162LX Embedded Controller Programmer’s Reference Guide for
detailed programmin g inform ation.
Functional Description
1
Most DRAM devices require some number of access cycles befo re the
DRAMs are fully operational. Normally this requirement is met by the
onboard refresh circ uitr y and normal DRAM initialization. However,
software should insure a minimum of 10 initialization cycles are
performe d to ea ch bank of RA M .
SRAM Options
The controller provi des 128 KB of 32-bit-wide onboard static RAM in a
single non-interleaved architecture with onboard battery backup.
http://www.mcg.mot.com/literature1-15
1
Board Level Hardware Descript ion
The battery backup function for the onboa rd SRAM is provided by a
Dallas DS1210S device that supports primary and secondary power
sources. In the event of a main board power failure , the DS1210S checks
power sources and switches to the source with the higher voltage.
If the voltage of the backup source is less than two volts, the DS1210S
blocks the second memory cycle; this allows software to provide an early
warning to avoid data loss. Because the second access may be blocked
during a power failure, software should do at least two accesses before
relying on the data.
The controller provi des jumpers (on J13) tha t allow eit her power source of
the DS1210S to be connected to the VMEbus +5V STDBY pin or to one
cell of the onboard battery. For example , the primary system backup
source may be a battery connected to the VMEbus +5V STDBY pin and
the secondary source may be the onboard battery. If the system source
should fail or the board is removed from the chassis, the onboard battery
takes over.
Further details on SRAM configuration and specifics on SRAM
performance can be f ound in the sec tion on the SRAM Memory Cont roller
in the MCchip Programming Model in the MVME162LX Embedded Controller Programmer’s Refe rence Guide. The SRAM arrays are not
parity protected.
:
!
Caution
1-16Computer Group Literature Center Web Site
For proper operation of the SRAM, some jumper
combination must be installed on the respective Backup
Power Source Select Header. Refer to the jumper
information in Chapter 2. If one of the jumpers is used to
select the battery, the battery mus t be i nsta l led on the
MVME162LX. The SRAM may malfunction if inputs to
the DS1210S are left unconnected.
The SRAM is controlled by the MCchip, and the access time is
programmable. Refer to the MCchip descrip tion in the MVME162LX Embedded Controller Programmer’s Reference Guide for additional
information.
SRAM Batteries
Lithium batterie s incorporate inflammable materials such
!
Caution
as lithium and organic solvents. If lithium batteries are
mistreated or handled incorrectly, they may burst open
and ignite, possible resulting in injury and/or fire.
When dealing with lithium batteries, carefully follow the
precautions listed below in order to prevent accidents.
Functional Description
1
❏ Do not short ci rc ui t.
❏ Do not disassemble, deform, or apply excessive pressure.
❏ Do not heat or incinerate.
❏ Do not apply solder directly.
❏ Do not use different models, or new and old batteries together.
❏ Do not char ge.
❏ Always check proper polarity.
The power source for the o nboard SRAM is a RAYOVAC FB1225 batter y
with two BR1225 type lithium cells. The battery is socketed for easy
removal and replacement . The power source for the mezzanine SRAM is
a Sanyo CR2430 battery. Small capacitors are provided so that the
batteries can be quickl y repla ced without data loss.
The lifetime of the batte ries is very de pendent on the ambi ent temper ature
of the board and the power-on duty cycle. The lit hium batteries supplied
on the controller and on the SRAM mezzanine module should provide at
least two years of backup time with the board powered off and with an
ambient temperatu re of 40
° C. If the power-on duty cyc le is 50% (the board
is powered on half of th e time), the battery lifetime is f our ye ars. At lower
ambient temperature s, the backup time is significantly longer and may
approach the shelf life of the batte ry.
http://www.mcg.mot.com/literature1-17
1
Board Level Hardware Descript ion
When a controller is stored, the battery should be disconnected to prolong
battery life. This is especially important at high ambient temperatures. The
controller is shipped with the batteries disconnected (with VMEbus +5V
standby voltage selected as both primary and secondary power source). If
you intend to use the battery as a power source, whether primary or
secondary, it is necessary to reconfigure the jumpers on J13 before installing
the module.
The power leads from the battery are exposed on the sold er side of the board.
The board should not be placed on a conductive surface or stored in a
conduc tive ba g unless the battery is removed.
To remove the battery from the module, carefully pull the battery from the
socket. Before installing a new battery, ensure that the battery pi ns are clean.
Note the battery polarity and press the battery into the socket. When the
battery is in the socket, no soldering is required.
EPROM and Flash Memory
The MVME162LX Embedded Controller comes with 1 MB of flash
memory and four EPROM sockets ready for the installation of EPROMs,
which may be ordered separately. Flash memory is a single Intel 28F008SA
device organized in a 1Mbit x 8 configuration. The EPROM locations are
standard JEDEC 32-pin DIP sock ets accommodating four jumper-selectable
densities (128 Kbit x 8; 256 Kbit X 8; 512 Kbit x 8; 1 Mbit x8). A jumper
setting (GPIO3, pins 7-8 on J11), allo ws reset code to be fetched eit her from
flash memory (GPIO3 installed) or from EPROMs (GPIO3 removed ).
Battery Backed Up RAM and Clock
An MK48 T08 RAM an d clo ck ch ip is used on th e MVM E162L X. Th is ch ip
provides a time-of-day clock, oscillator, crystal, power fail detection,
memory write protection, 8KB of RAM, and a battery in one 28-pin
package. The clock provides seconds, minutes, hours, day, date, month, and
year in BCD 24-hour format. Corrections for 28-, 29- (leap year), and 30day months are automatically made. No interrupts are genera ted by the
clock. Although the MK48T08 is an 8 bi t device, the interface provided by
the MCchip supports 8-, 16-, and 32 -bit accesses to the MK48T08. Refer to
the MCc hip in th e
Reference Guide
programming and battery life information.
1-18Computer Group Literature Center Web Site
MVME16 2LX Embedded Contr ol ler Programmer’s
and to the MK48T08 data sheet for additional
VMEbus Interface and VMEchip2
The local bus to VMEbus inter face, VMEbus to local bus inter face, and the
DMA controller functions of the local VMEbus are provi ded by the
VMEchip2. The VMEchip2 can also provide the VMEbus system
controller funct ions. Refer to the VMEchip2 in the MVME162LX Embedded Controller Progra mmer’s Reference Guide for additional
programming information.
Note that the ABORT switch logic in the VMEchip2 is not used. The GPI
inputs to the VMEchip2 which are located at $FFF40088 bits 7-0 are not
used. The ABORT switch interrupt is inte grated int o the MCchip ASIC at
location $FFF42043. Th e GPI inputs are inte grated into the MCchip ASIC
at location $FFF4202C bits 23-1 6.
I/O Interfaces
The MVME162LX provides onboa rd Input/Ou tput ( I/O) f or many sy stem
applications. The I/O functions include serial por ts and optional interfaces
for IndustryPack (IP ) modules, LAN Ethernet transceivers, and SCSI mass
storage devices.
Functional Description
1
I/O signals are routed thr ough industry-standard connectors on the
controller’s f ront panel; no adapter boards or transition modules are
necessary. I/O connections on the controller’s front panel include an
optional 68-pin SCSI connector , an optional DB15 Ethernet connector,
and four 8-pin RJ45 seria l connectors. In addition , the panel has cutouts for
routing of flat cables to the optional IndustryPack modules.
Serial Communications Interface
The MVME162LX uses two Zilog Z85230 serial port control le rs to
implement the four serial communica tions interfaces. Each interface
supports CTS, DCD, RTS, and DTR control signals, as well as the TXD
and RXD transmit/receive data signals. Because the serial clocks are
omitted in the controlle r’s de sign, serial communications are strictly
asynchronous. The controller’s hardware supports serial baud rates of
110b/s to 38.4Kb/s.
http://www.mcg.mot.com/literature1-19
1
Board Level Hardware Descript ion
The Z85230 supplies an interrupt vector during interrupt acknowledge
cycles. The vector is modified based upon the interrupt source within the
Z85230. Interrupt request levels are programmed via the MCchip.
The Z85230s are interfaced as DTE (data terminal equipment) with EIA232-D signal levels. The four serial por ts are routed to four RJ45 telephone
connectors on the MVME162LX front panel.
Refer to the Z85230 data sheet a nd to t he MCchip Progr amming Model i n
the MVME162LX Embedded Controller Programmer’s Reference Guide
for additional information.
IndustryPack (IP) Interfaces
Up to two IndustryPack (IP) modules may be installed on the
MVME162LX Embedded Controller as an optio n. The interfac e between
the IPs and the MVME162LX is the IndustryPack Interface Controller
(IPIC) ASIC. Access to the IPs is provided by two 3M connect ors located
behind the controller’s f ront panel.
Refer to the chapter on the IP IC in the MVME162LX Embedded Contr oller
Programmer’s Reference Guide for additional information on the IP
interface.
Ethernet Interface
The MVME162LX Embedded Control ler uses the 82596CA controller to
implement the Ethe rnet transc eiver inter face. The 82596CA accesses l ocal
RAM using DMA operations to perform its normal func tions. Because the
82596CA has small internal buffers and the VMEbus has an undefined
latency period, buffer overrun may occur if the DMA is programmed to
access the VMEbus. Therefore, the 82596CA should not be programmed
to access the VMEbus.
Every MVME162LX that has the Ethernet interface is assigned an
Ethernet Station Addre ss. The addr ess is $08003E2XXXXX where XXXXX
is the unique 5-nibble number assigned to the board (every MVME162LX
has a differe nt va lue for XXXXX).
1-20Computer Group Literature Center Web Site
SCSI Interface
Functional Description
1
Each board has an Et hernet Station Address displayed on a label attached
to the VMEbus P2 connector. In addition, the six bytes including the
Ethernet addres s are store d in th e configura tion area of the BBRAM. That
is, 08003E2XXXXX is stored in the BBRAM. At an address of
$FFFC1F2C, the upper four bytes (08003E2X) can be read. At an address
of $FFFC1F30, the lower two bytes (XXXX) can be read. The MVME162
debugger has the capabili ty to retr ieve or set the Ethernet address.
If the data in the BBRAM is lost, the user should use the number on the
label on backplane connector P2 to restore it. The Ethernet transceiver
interface i s locate d on th e control ler’s main cir cuit bo ard, an d the ind ustry
standard connector is loc at ed on its front panel.
Support functions for the 82596CA are provide d by the MCchip ASIC.
Refer to the 82596CA user's guide and to the MCchip in the MVME162LX
Embedded Controller Progra mmer’s Reference Guide for additional
programming information.
The controller suppor ts mass storage subsystems through the industrystandard SCSI bus. These subsystems may include hard and floppy disk
drives, streaming tape drives, and other mass storage devices. The SCSI
interface is implemen te d using the NCR 53C710 SCSI I/O controller.
Support functions for the 53C710 are provi ded by the MCchi p ASIC. The
SCSI connector is located on the controller’s front panel.
Refer to the NCR 53C710 user's guide and to the MCchip in the
The individual config uring the system must ensure that the SCSI bus is
properly termi nated at both ends. SCSI bus te rminators are located on the
controller. The SCSI terminators are enabled/disabled by a jumper on
header J14. If the SCSI bus ends at the controlle r, then a jumper must be
installed between J14 pins 1 and 2.
http://www.mcg.mot.com/literature1-21
1
Board Level Hardware Descript ion
The controller provides +5 Vdc to the SCSI bus TERMPWR signal
through fuse F4, located near J7. The FUSES LED (part of DS2) on the
MVME162LX front panel monitors the SCSI bus TERMPWR signal in
addition to LAN power; with the controller connecte d to an SCSI bus, the
FUSES LED lights when SCSI terminator power is present.
Because any device on the SCSI bus can provide TERMPWR, the FUSES
LED does not dir ectly indicate the condition of the f use. If the LED is not
lit during SCSI bus operation, the fuse should still be checked.
Local Resources
The MVME162LX Embedded Contr oller inc lu des many resources for the
local processor. These incl ude tick timers, software-programmable
hardware interrupts , a watchdog timer, and a local bus timeout.
Programmable Tick Timers
Four 32-bit programmable tick timers with a 1 µs resolution are pro vided
in the MCchip and two 32-bi t programmable tick timer s are provided in the
optional VMEchip2. The tick timers can be programmed to generate
periodic interrupts to the processor.
Refer to the VMEchip2 and MCchip in the MVME162LX Embedded Controller Programmer’s Refe rence Guide for additional programming
information.
Watchdog Timer
A watchdog timer is provided in both the MCchip and the optional
VMEchip2. The timers operate independently but in parallel. When the
watchdog tim ers are enab l ed, they must be reset by software within the
programmed time or they will time out. The watchdog timers can be
programmed to generate a SYSRESET signal, local reset signal , or board
fail signal if they time out.
1-22Computer Group Literature Center Web Site
The watchdog timer logic is duplicated in the VMEchip2 and MCchip
ASICs. Because the watchdog timer function in the VMEchip2 is a
superset of that function in the MCchip (system reset function), the timer
in the VMEchip2 is used in all cases except for the version of the
MVME162LX which does not include the VMEbus interface ("No
VMEbus Interface" option).
Refer to the VMEchip2 and the MCchip in the MVME162LX Embedded Controller Programmer’s Reference Guide for additional programming
information.
Software-Programmable Hardware Interrupts
Eight software-pr ogrammable hardware interrupts are provided by the
VMEchip2. These interrupt s allow software to create a hardware inte rrupt.
Refer to the VMEchip2 in the MVME162LX Embedded Controller Programmer’s Referenc e Guide for additional pr ogramming informatio n.
Local Bus Timeout
The MVME162LX Embedded Controller provides timeout fu nctions in
the VMEchip2 and the MCchip for the local bus. When the timer is
enabled and a local bus access times out, a Transfer Error Acknowledge
(TEA) signal is sent to the local bus master. The timeout value is
selectable by softwa re for 8 µsec, 64 µsec, 256 µsec, or infinite. The local
bus timer does not operate during VMEbus boun d cycles. VMEbus bound
cycles are timed by the VMEbus access timer and the VMEbus global
timer. The MCchip also provides local bus timeout logic for controllers
without the optional VMEbus inte rface (without the VMEchip2).
Functional Description
1
The access timer logic is dupl icated in the VMEchip2 and MCchip ASICs.
Because the local bus timer in the VMEchip2 can detect an offboa rd access
and the MCchip local bus timer cannot, the timer in the VMEchip2 is used
in all cases except for the version of the controller which does not inc lude
the VMEbus interface ("No VME bus Inte rfa ce o ption").
Refer to the VMEchip2 and the MCchip in the MVME162LX Embedded Controller Programmer’s Reference Guide for additional programming
information.
http://www.mcg.mot.com/literature1-23
1
Board Level Hardware Descript ion
Local Bus Arbiter
The local bus arbiter im plements a fi xed priori ty which is de scribe d in the
following table.
Table 1-3. Local Bus Arbitration Priority
DevicePriorityNote
LAN0Highest
SCSI1...
VMEbus2Next Lowest
MC68XX0403Lowest
Connectors
The MVME162LX Embedded Controller has two 96-position DIN
connectors: P1 and P2. P1 rows A, B, C, and P2 row B provide the
VMEbus interconnection. P2 rows A and C are not used. The
MVME162LX has a 20-pin c onnector J2 mounted be hind the fr ont panel.
When the MVME162LX board is enclosed in a chassis and the front panel
is not visible, this connector allows the reset, abort and LED functions to
be extended to the control panel of the system, where they are visible.
The serial ports on the controller are connected to four 8- pin RJ45 female
connectors (J17) on the front panel. The two IPs connect to the controller
by two pairs of 50- pin connectors. The two 50-pin connectors behind the
front panel are for external connections to IP signals. The memory
mezzanine board is plugged into two 100-pin connectors. The Ethernet
LAN connector is J9, a 15-pin socket connector mount ed on the front
panel. The SCSI connector is J10, a 68-pin socket connector is also
mounted on the front panel.
1-24Computer Group Literature Center Web Site
Memory Maps
There are two points of view for memory maps:
1. The mapping of all resources as viewed by local bus masters (local
bus memory map).
2. The mapping of onboard resources as viewed by external masters
(VMEbus memory map).
The memory and I/ O maps which a re des cribed in t he next t hree ta bles are
correct for all local bus masters. There is some address translation
capability in the VMEchip2. This all ows multiple MVME162LXs on the
same VMEbus with different virtual loca l bus maps as viewed by dif ferent
VMEbus masters.
Local Bus Memory Map
The local bus memory map is split into different address spaces by the
transfer type (TT) sign als . The local resour ces respond to the normal
access and interrupt acknowledge codes.
Memory Maps
1
Normal Address Range
The memory map of devices that respond to the normal address range is
shown in the following tables. The normal address range is defined by the
Transfer Type (TT) signals on the local bus. On the MVME162LX
Embedded Controller, Transfer Types 0, 1, and 2 define the normal
address range. Table 1-4 is the entire map from $00000000 to
$FFFFFFF F. Man y are as of th e map are us er-p r ogr ammable, and
suggested uses are shown in the table. The cache inhibit function is
programmable in the MC68XX040 MMU. The onboard I/O space must be
marked cache inhibit and serialized in its page table. Table 1-5 further
defines the map for the local I/O devices.
http://www.mcg.mot.com/literature1-25
1
Board Level Hardware Descript ion
Table 1-4. Local Bus Memory Map
Address RangeDevices AccessedPort
ProgrammableDRAM on Parity
Mezzanine
ProgrammableDRAM on ECC
Mezzanine
ProgrammableOn-Board SRAM
ProgrammableSRAM on M ezzanine
ProgrammableVMEb us A32/A24
ProgrammableIP_a Memory
ProgrammableIP_b Memory
$FF800000-$FF9FFFFFFlash/EPROM
$FFA00000-$FFBFFFFFEPROM/Flash
$FFC00000-$FFDFFFFFNot Decoded
$FFE00000-$FFE1FFFFOn-Board SRAM
Default
$FFE80000-$FFEFFFFFNot Decoded
SizeSoftware
Width
D321MB-4MB
D3216MB
D32128KB
D322MB
D32/D16--
D32-D864KB-8MB
D32-D864KB-8MB
D322MB
D322MB
D322MB
D32128KB
--512KB
Notes
Cache
Inhibit
N2
N2
N2, 7
N2, 7
Y/N4
Y/N2, 4
Y/N2, 4
N1, 5
N5
N7
N7
N6
$FFF00000-$FFFEFFFFLocal I/O Devices
(Refer to next table)
$FFFF0000-$FFFFFFFFVMEbus A16
1-26Computer Group Literature Center Web Site
D32-D8878KB
D32/D1664KB
Y3
Y/N2, 4
Memory Maps
Notes1. Devices mapped at $FFF80000-$FFF9FFFF also appear at
$00000000- $001FFFFF when the ROM0 bit in the MCchip
EPROM control registe r is hi gh (ROM0=1). ROM0 is set to
1 after each reset . The ROM0 bit must be cleared bef ore other
resources (DRAM or SRAM) can be map ped in t his ran g e
($00000000 - $001FFFFF).
2. The EPROM/Flash memory map is also controlled by the
EPROM size and by control bit V19 in the MCchip ASIC.
Refer to the EPROM/Flash configuration ta bles in the
MVME162LX Embedded Controller Programmer’s
Reference Guide for additional information.
3. This area is user-programmable. The DRAM and SRAM
decoder is progr ammed in the MCchip, t he local- to-VMEbus
decoders are pro g ram m ed in the V MEchip2, and the IP
memory space is programmed in the IPIC.
4. Size is approximate.
5. Cache inhibit depends on the devices in the area mapped.
1
6. The EPROM and Flash are dynamically sized by the
MCchip ASIC from an 8-bit private bus to the 32-bit MPU
local bus.
7. These areas are not decoded unless one of the
programmable decoders i s initializ ed to decode th is space . If
they are not decoded and the local timer is e nabled, an acce ss
to this address range will generate a local bus timeout.
8. SRAM is 128 KB.
http://www.mcg.mot.com/literature1-27
1
Board Level Hardware Descript ion
The following table focuses on the ‘‘Local I/O Devices’’ portion of the
local bus ma in me mo ry ma p .
NoteTh e IPIC ch ip on th e MVME162LX supports up to four
IndustryPack ( IP) interfaces, designated IP_a through IP_d.
The MVME162LX itself accommodates two IPs: IP_a and
IP_b. In the following map, the segments a pplica ble to IP_c
and IP_d are not used in the controller.
Table 1-5. Local I/O Devices Memory Map (Continued)
Address RangeDevices AccessedPort
Width
$FFFCC000 - $FFFCFFFFMK48T08 & Enable
Flash w rites
$FFFD0000 - $FFFEFFFFReserved- -128 KB4
D32-D816 KB1, 7
SizeNotes
Notes 1. For a complete descript ion of the register bits, refer to the
data sheet for the specific chip. For a more detailed memory
map, refer to the following detailed peripheral device
memory m ap s
2. The SCC is an 8-bit device located on an MCchip private
data bus. Byte access is required.
3. Writes to the LCSR in the VMEchip2 must be 32 bits.
LCSR writes of 8 or 16 bits terminate with a TEA signal.
Writes to the GCSR may be 8, 16 or 32 bits. Reads to the
LCSR and GCSR may be 8, 16 or 32 bits. B yte reads should
be used to read the interrupt vector.
4. This area does not return an acknowledge signal. If the
local bus timer is enabled, the acce ss times out and is
terminated by a TEA signal.
5. Size is approximate.
6. Port commands to the 82596 CA must be written a s two 16bit writes: upper word first and lower word second.
7. Refer to the Fla sh and EPRO M In te rfa ce se cti on i n the
MCchip description in Chapter 3.
8. Not used.
9. To use this area, the ECC mezzanine board must be
installed. If it is not installed, no acknowledge signal is
returned; if the local bus timer is enabled, the access times
out and is terminated by a TEA signal.
1-30Computer Group Literature Center Web Site
Detailed I/O Memory Maps
The following tables provide detailed memory maps for the VMEchip2,
MCchip, the MCECC memory controller chip, the Zilog Z85230, the Int el
82596CA controller, the NCR 53C710 contro ller, the IPIC chip, and the
MK48T08 BBRAM/TOD Clock.
Tables X-X - XX define the programming model for the Local Control and
Status Regist ers (LCSR) in the VMEchi p2. The local bu s m ap decoder for
the LCSR is included in t he VMEchip2. The base address of the LCSR is
$FFF40000 and the registers are 32-bi ts wide. Byte, two-byte, and
four-byte re ad oper ations are pe rmitte d: however, byte and two-byt e write
operations are not permitted. Byte and two-byte write operations return a
TEA signal to the loc al b us. Read-modify- write opera tions sho uld b e use d
to modify a byte or a two-byte of a register.
Each register defini tion includes a table with 5 lines:
❏ Line 1 is the base address of the register and the number of bits
defined in the table.
❏ Line 2 shows the bits defined by this table.
Memory Maps
1
❏ Line 3 defines t he name of th e regist er or the name of the bits in the
register.
❏ Line 4 defines the operatio ns possible on the register bits as follows:
RThis bit is a read-only status bit.
R/WThis bit is readable and writable.
W/AC This bit can be set and it is automatically cleared. This bit can
also be read.
CWriting a one to this bit clears this bit or another bit. This bit
reads ze ro .
SWriting a one to this bit sets this bit or another bit. This bit
reads ze ro .
❏ Line 5 defines the state of the bit following a reset as follows:
PThe bit is affected by powerup reset.
ST h e bi t is affected by SY SR ESET.
LThe bit is a ffect ed by local re s et .
XThe bit is not affected by reset.
Port B Data$FFF45003
Port A Control$FFF45005
Port A Data$FFF45007
SCC #2Port B Control$FFF45801
Port B Data$FFF45803
Port A Control$FFF45805
Port A Data$FFF45807
Table 1-10. 82596CA Ethernet LAN Memory Map
Data Bits
AddressD31D16 D15D0
$FFF46000Upper Command WordLower Command Word
$FFF46004MPU Channel Attention (CA)
Memory Maps
1
Notes1. Refer to the MPU Port and MPU Channel Attention
registers in the MVME162 Embedded Controller Programmer’s Reference Guide.
2. After resetting, you must write the System Configuration
Pointer to the command registers before writing to the MPU
Channel Attention register . Wr ites to the System
Configuration Pointer must be upper word first, lower word
second.
http://www.mcg.mot.com/literature1-39
1
Board Level Hardware Descript ion
Table 1-11. 53C710 SCSI Memory Map
53C710 Register Addres s MapBas e Address is $FFF47000
NoteAccesses may be 8-bit or 32-bit, but not 16-bit.
1-40Computer Group Literature Center Web Site
Memory Maps
IPIC Overall Memory Map
The following memory map tabl e includes all devices selecte d by the IPIC
map decoder.
NoteThe IPIC chip on the MVME162LX supports up to four
IndustryPack (IP) interfaces, designated IP_a through I P_d.
The controller itself accommodates two IPs: IP_a and I P _b.
In the maps t hat follow, the segments applicable to IP_c and
IP_d are not used in the controller.
Table 1-12. IPIC Overall Memory Map
Address Ran g eSelect ed D ev i cePort Widt hSize
ProgrammableIP_a/IP_ab Memory SpaceD32-D864 KB-16 MB
ProgrammableIP_b Memory SpaceD16-D864 KB-8 MB
ProgrammableIP_c/IP_cd Memory SpaceD32-D864 KB-16 MB
ProgrammableIP_d Memory SpaceD16-D864 KB-8 MB
$FFF58000-$FFF5807FIP_a I/O SpaceD16128 B
$FFF58080-$FFF580BFIP_a ID SpaceD1664 B
$FFF580C0-$FFF580FFIP_a ID Space RepeatedD1664 B
$FFF58100-$FFF5817FIP_b I/O SpaceD16128 B
$FFF58180-$FFF581BFIP_b ID SpaceD1664 B
$FFF581C0-$FFF581FFIP_b ID Space RepeatedD1664 B
$FFF58200-$FFF5827FIP_c I/O SpaceD16128 B
$FFF58280-$FFF582BFIP_c ID SpaceD1664 B
$FFF582C0-$FFF582FFIP_c ID Space RepeatedD1664 B
$FFF58300-$FFF5837FIP_d I/O SpaceD16128 B
$FFF58380-$FFF583BFIP_d ID SpaceD1664 B
$FFF583C0-$FFF583FFIP_d ID Space RepeatedD1664 B
$FFF58400-$FFF584FFIP_ab I/O SpaceD32-D16256 B
$FFF58500-$FFF585FFIP_cd I/O SpaceD32-D16256 B
$FFF58600-$FFF586FFIP_ab I/O Space RepeatedD32-D16256 B
$FFF58700-$FFF587FFIP_cd I/O Space RepeatedD32-D16256 B
$FFFBC000-
$FFFBC01F
Control/Status RegistersD32-D832 B
1
http://www.mcg.mot.com/literature1-41
1
Board Level Hardware Descript ion
Table 1-13 contains a summary of the IPIC CSR registers. The CSR
registers can be accessed a s bytes, words, or l ongwords; the y should not be
accessed as lines. They are shown in the table as bytes.
Table 1-13. IPIC Memory Map—Control and Status Registers
IPIC Base Address = $FFFBC000
Register
Offset
$00CHIP ID00100011
$01CHIP REVISION 00000000
$02RESERVED00000000
$03RESERVED00000000
$04IP_a MEM BASE
$05IP_a MEM BASE
$06IP_b MEM BASE
$07IP_b MEM BASE
$08IP_c MEM BASE
$09IP_c MEM BASE
$0AIP_d MEM BASE
$0BIP_d MEM BASE
$0CIP_a MEM SIZEa_SIZE23a_SIZE22a_SIZE21a_SIZE20a_SIZE19a_SIZE18a_SIZE17a_SIZE16
$0DIP_b MEM SIZEb_SIZE23b_SIZE22b_SIZE21b_SIZE20b_SIZE19b_SIZE18b_SIZE17b_SIZE16
$0EIP_c MEM SIZEc_SIZE23c_SIZE22c_SIZE21c_SIZE20c_SIZE19c_SIZE18c_SIZE17c_SIZE16
$0FIP_d MEM SIZEd_SIZE23d_SIZE22d_SIZE21d_SIZE20d_SIZE19d_SIZE18d_SIZE17d_SIZE16
$10IP_a INT0 CONTROLa0_PLTYa0_E/L*a0_INTa0_IENa0_ICLRa0_IL2a0_IL1a0_IL0
$11IP_a INT1 CONTROLa1_PLTYa1_E/L*a1_INTa1_IENa1_ICLRa1_IL2a1_IL1a1_IL0
$12IP_b INT0 CONTROLb0_PLTYb0_E/L*b0_INTb0_IENb0_ICLRb0_IL2b0_IL1b0_IL0
$13IP_b INT1 CONTROLb1_PLTYb1_E/L*b1_INTb1_IENb1_ICLRb1_IL2b1_IL1b1_IL0
The MK48T08 BBRAM (also called Non-Volatile RAM or NVRAM) is
divided into six areas as shown in Table 1-14. The first five areas are
defined by software, while the sixth area , the time-of -day (TOD) clock, is
defined by the chip hardware. The first area is reserved for user data. The
second area is used by Motorola networking software. The third area is
used by the operating syst em. The fourth area is used by the MVME162LX
board debugger (162Bug). The fifth area , de tailed in Table 1-15, is the
configuration area. The sixth area, the TOD clock, detailed in Tabl e 1-16,
is defined by the chip hardware.
The data structure of the configuration bytes starts at $FFFC1EF8 and is
as follows.
1. Four bytes are reserved for the revis ion or ver sion of thi s struc ture.
This revision is stored in ASCII format, with the first two bytes
being the major version numbers and the last two bytes being the
minor version numbers. For example, if the vers ion of this structure
is 1.0, this field contains:
0100
2. Twelve bytes are reserved for the serial number of the board in
ASCII format. For example, this field could contain:
000000470476
3. Sixteen bytes are reserved for the board ID in ASCII format. For
example, for an MVME162LX board with MC68040, SCSI,
Ethernet, 4MB DRAM, and 128 KB SRAM, this field contains:
MVME162-223 (The 11 characters are followed byfive
blanks).
4. Sixteen bytes are reserved for the printed wiring assembly (PWA)
number assigned to this board in ASCII format. This includes the
01-W prefix. This is for the main logic board if more than one board
is required for a set. Additional boards in a set are defined by a
structure for that se t. For example, for an MVME162LX board with
MC68040, SCSI, Ethernet, 4MB DRAM, and 128 KB SRAM at
revision A, the PWA field contains:
01-W3866B01A (The 12 characters are followed by
four blanks.)
1
5. Four bytes contain the speed of the board in MHz. The first two
bytes are the whole number of MHz and the second two bytes are
fractions of MHz. For example, for a 25.00 MHz board, this field
contains:
2500
6. Six bytes are reserved for the Ethernet address. The address is
stored in hexadecimal format. (Refer to the detailed description in
Chapter 4.) If the board does not support Ethernet, this field is filled
with zeros.
7. These two bytes are reserved.
http://www.mcg.mot.com/literature1-47
1
Board Level Hardware Descript ion
8. Two bytes are reserved for the local SCSI ID. The SCSI ID is stored
in ASCII format.
9. Eight bytes are reserved for the printed wiring board (PWB) number
assigned to the memory mezzanine board in ASCII format. This
does not include the
10. Eight bytes are reserved for the serial number assigned to the
memory mezzanine board in ASCII format.
11. Eight bytes are reserved for the printed wiring board (PWB) number
assigned to the serial port 2 personality board in ASCII format.
12. Eight bytes are reserved for the serial number assigned to the serial
port 2 personality board in ASCII format.
13. Eight bytes are reserved for the board identifier, in ASCII format,
assigned to the optional firs t Indu stryPack a.
14. Eight bytes are reserved for the serial number, in ASCII format,
assigned to the optional firs t Indu stryPack a.
15. Eight bytes are reserved for the printed wiring board (PWB) number
assigned to the optional firs t Indu stryPack a.
01-W prefix.
16. Eight bytes are reserved for the board identifier, in ASCII format,
assigned to the optional second Indust ryPack b.
17. Eight bytes are reserved for the serial number, in ASCII format,
assigned to the optional second Indust ryPack b.
18. Eight bytes are reserved for the printed wiring board (PWB) number
assigned to the optional second Indust ryPack b.
19. Eight bytes are reserved for the board identifier, in ASCII format,
assigned to the optional third I ndustryPack c.
20. Eight bytes are reserved for the serial number, in ASCII format,
assigned to the optional third I ndustryPack c.
21. Eight bytes are reserved for the printed wiring board (PWB) number
assigned to the optional third I ndustryPack c.
22. Eight bytes are reserved for the board identifier, in ASCII format,
assigned to the optional fourt h Indus tryPack d.
1-48Computer Group Literature Center Web Site
23. Eight bytes are rese rved for the seri al num ber, i n ASC II fo rm at ,
assigned to the optional fourth IndustryPack d.
24. Eight bytes are reserved for the printe d wiring board (PWB) number
assigned to the optional fourth IndustryPack d.
25. Growth space (65 bytes) is reserved. This pads the structure to an
even 256 bytes.
26. The final one byte of the area is reserved for a checksum (as defined
in the MVME162Bug Debugging Packag e User’s Manual) for
security and d ata integrity of th e configuration area of the NVRAM.
This data is stored in hexadecimal format.
Interrupt Acknowledge Map
The local bus distinguishe s interrupt acknowledge cycles from other
cycles by pla cing the binary value %11 on TT1-TT0. It also specifies the
level that is be ing acknowledged using TM2-TM0. The interrupt handler
selects which device within tha t le vel is being acknowledged.
VMEbus Memory M ap
Memory Maps
1
This section describes the mapping of local resources as viewed by
VMEbus masters. Default addres ses for the slave, master, and GCSR
address decoders a re provided by the ENV command. Refer to Appendix
A for additional information.
VMEbus A ccesses to the Local Bus
The VMEchip2 includes a user-prog rammabl e map decoder for the
VMEbus to local bus interface. The map decoder allows you to program
the starting and ending addre ss an d the modifiers that the controller
responds to.
VMEbus Short I/O Memory Map
The VMEchip2 includes a user-pr ogrammable map decoder for the GCSR.
The GCSR map decoder allows you to pr ogram the sta rting addr ess of t he
GCSR in the VMEbus short I/O space.
http://www.mcg.mot.com/literature1-49
1
Board Level Hardware Descript ion
Software Initialization
Most functions that have been done with switches or jumpers on other
modules are done by setting control registers on the MVME162LX
Embedded Controller. At power-up or reset, the PROMs that conta in the
162Bug debugging package set up the default values of many of these
registers.
Specific programming deta ils may be dete rmined by st udy of the M68040 Microprocessor User’s Manual. Then check the details of all the
controller’s onboard r egi sters as given in the MVME162LX Embedded
Controller Programmer’s Reference Guide.
Multi-MPU Programming Considerations
Good programming practice dicta te s that only one MPU at a time have
control of the MVME162LX control register s. Of particular note are:
❏ Registers that modify the address map
❏ Registers that require two cycles to access
❏ VMEbus interrupt request registers
Local Reset Operation
Local reset (LRST) is a subset of system reset (SRST). Local reset can be
generated five ways:
❏ Expiration of the watchdog timer
❏ Pressing the front panel RESET switch (if the system controller
function is disabled)
❏ By asserting a bit in the board control register in the GCSR
❏ By SYSRESET*
❏ By powerup reset.
1-50Computer Group Literature Center Web Site
NoteThe GCSR allows a VMEbus master to reset the local bus.
Any VMEbus access to the MVME162LX Embedded Controller while it
is in the r eset state is igno red. If a global bus timer is enabled, a bus error
is generated.
EMC Compliance
Software Initialization
1
This feature is very dangerous and should be used with
caution. The local reset fea ture is a partial system reset, not
a complete system reset such as powerup reset or
SYSRESET*. When the local bus reset signal is asserted, a
local bus cycle m ay be aborted . The VMEchip2 is connected
to both the local bus and the VMEbus and if the aborted cycle
is bound for the VMEbus, erratic operation may result.
Communications betwee n the local processor and a VMEbus
master should use interrupts or mailbox locations; reset
should not be used in normal communications. Reset should
be used only when the local processor is halted or the local
bus is hung and reset is the last resort.
The MVME162LX Embedded Controller was tested in an EMCcompliant chassis a nd meets the requirements for Class B equipment. CE
compliance mark was achieved under the following conditions:
1. Shielded cables on all external I/O ports.
2. Cable shields connected to earth gr ound via metal shell connectors
bonded to a conductive module front panel.
3. Conductive chassis rails connected to earth ground. This provides
the path for connecting shields to earth ground.
4. Front panel screws properly tightened.
For minimum RF emissions, it is essential that the conditions above be
implemented. Failure to do so c ould compromise the EMC c ompliance of
the equipment containing the module.
http://www.mcg.mot.com/literature1-51
1
Board Level Hardware Descript ion
1-52Computer Group Literature Center Web Site
2Hardware Preparation and
Introduction
This chapter provides unpacking instructions, hardware preparation
guidelines, and installation instructions for the MVME162LX Embedded
Controller.
Unpacking Instructions
If the shipping carton is damaged upon receipt, insist that
!
Caution
the carrier’s agent be present during the unpacking and
inspectio n of the equipment.
Avoid touching areas of integrat ed circ uitry; static
discharge can damage circuits.
Unpack the equ ipment f rom th e shippi ng cart on. Pl ace the equi pment on a
clean and adequately protected working surface. Refer to the packing list
and verify th at all items are present. Save the packing material for storing
and reshipping of equipment.
Installation
2
Hardware Preparation
To select the desired configur a tion and ensure proper operation of the
controller, certain option modifications may be necessary before
installati on. The controller provides software control for many of these
options. Some options cannot be modified in software, and consequently
are set by installing or removing jumpers on PCB headers. Most other
modifications are perf ormed by setting bits in control registers afte r the
controller has been insta lled in a system.
The controller’s registers are described in the MVME162LX Embedded
Controller Programmer’s Reference Guide.
2-1
Hardware Preparation and Installation
2
Figure 2-1 shows the placement of the switches, PCB jumper headers,
connectors, and LED indicators on the controller. The controller has be en
factory tested and is shippe d with the factory jumper settings listed in the
following sections. It operates wi th its require d and factory-insta lled debug
monitor, MVME162Bug (162Bug), with these fact ory jumper settings.
Settings can be made for:
❏ System controller selection (J1)
❏ General-purpose readable register configura tion (J11)
❏ EPROM/Flash configuration (J12)
❏ SRAM backup power source selection (for onboard SRAM: J1 3 on
the MVME162LX PCB; for the SRAM mezzanine: J1 on the
SRAM mezzanine)
❏ SCSI bus termination (J14)
System Controller Select Header (J1)
The MVME162LX Embedded Controller is factory-configured as a
VMEbus system controller (a jumper is installed across pins 1 and 2 of
PCB header J1). Remove the J1 ju mper if t he control ler i s not to ac t as the
system controller. Note that when the MVME162LX is functioning as a
system controller, the SCON LED is turned on.
NoteFor controllers without th e optional VM Ebus in terface ( with
no VMEchip2), the jumper may be installed or removed
without affecting normal operation.
J1
1
System Controller (factory configuration)Not System Controller
2
2-2Computer Group Literature Center Web Site
J1
1
2
ETHERNET PORTSCSI INTERFACE
MVME
162-2XX
ABORT
RESET
Hardware Preparation
2
F1
25
49
50
49
50
RUNFAIL
SCONFUS ES
DS1
DS2
S1S2
81
159
J9
19
20
J2
J1 1 2
1
2
J3
1
2
245049
J5
22627
1
J4
25
245049
J7
1
2
22627
1
F4
F2
F3
25
C1
A1
B1
245049
J6
22627
1
P1
25
245049
J8
22627
A32
B32
C32
1
PRIMARY SIDE
CSL 1234
68
34
331
67
J10
2
1
J13 J14
36
2
35
J17
6
5
1
2
1
2
ABCD
7
8
1
2
7
8
1
2
7
8
1
2
7
8
1
2
J15
100
99
XU21 SKT
15
16
XU21 SKT
XU22 SKT
XU22 SKT
15
1
J11J12
16
2
XU23 SKT
XU23 SKT
XU24 SKT
1
2
F5
XU24 SKT
F6
A1B1C1
1
2
J16
100
99
P2
C32
A32
B32
Figure 2-1. MVME162LX Switch, Header, Connector, Fuse, and LED Locations
F3
http://www.mcg.mot.com/literature2-3
Hardware Preparation and Installation
2
General-Purpose Readable Jumpers Header (J11)
PCB header J11 provides eight readable jumpers. These jumpers can be
read as a register (at $F FF4202D) in the MCchip LCSR. The bit va lues are
read as a zero when the jumper is installed, and as a one when the jumper
is removed.
If the MVME162BUG firmware is installed, four jumper s are userdefinable (pins 9-10, 11-12, 13-1 4, 15- 16). If the MVME162BUG
firmware is not ins talled, seven jumpers are use r-definable (pins 1-2 , 3-4,
5-6, 9-10, 11-12, 13-14, 15-16) .
NotePins 7-8 (GPI 3) are reserved to select either the Flash
memory map (jumper installed) or the EPROM memory map
(jumper removed). They are not user-definable. The address
ranges for the various EPROM/Flash configurations appear
in the next section of this chapter.
The controller is shipped from the factory with J11 set to all zeros (jumper s
on all pins) exce pt fo r G PI 3.
J11
162BUG INSTALLED
USER CODE INSTALLED
GPI 0
12
GPI 1
GPI 2
78
GPI 3
GPI 4
GPI 5
GPI 6
15
EPROMs Selected (factory configuration)
REFER TO 162BUG MANUAL
REFER TO 162BUG MANUAL
REFER TO 162BUG MANUAL
IN=FLASH; OUT=EPROM
USER-DEFINABLE
USER-DEFINABLE
USER-DEFINABLE
USER-DEFINABLE
16GPI 7
USER-DEFINABLE
USER-DEFINABLE
USER-DEFINABLE
IN=FLASH; OUT=EPROM
USER-DEFINABLE
USER-DEFINABLE
USER-DEFINABLE
USER-DEFINABLE
2-4Computer Group Literature Center Web Site
Hardware Preparation
EPROM/Flash Configuration Header (J12)
The MVME162LX Embedded Controller comes with 1 MB of flash
memory and four EPROM sockets ready f or the installation of EPROMs,
which may be ordered separately. The EPROM locations are standard
JEDEC 32-pin DIP sockets that accommodate four jumper-selectable
densities (128 Kbit x 8; 256 Kbi t x 8; 5 12 Kbit x 8; 1 Mbi t x 8) a nd permit
disabling of the flash memory.
Header J12 provides eight jumpers to configure the EPROM sockets.
J12
12
J12
12
15
CONFIGURATION 1: 128K x 8 EPROMsCONFIGURATION 2: 256K x 8 EPROMs
16
J12
12
15
16
2
J12
12
CONFIGURATION 5: 1M x 8 EPROMs
WITH ONBOARD FLASH DISABLED
15
16
15
16
CONFIGURATION 4: 1M x 8 EPROMsCONFIGURATION 3: 512K x 8 EPROMs
J12
12
15
16
http://www.mcg.mot.com/literature2-5
Hardware Preparation and Installation
2
The next five table s show the addr ess ra nge f or each EP ROM socket in a ll
five configurations . GPI 3 (J11 pins 7-8) is a contr ol bit in the MCchip
ASIC that allows reset code to be fetched either from flash memory or
from EPROMs.
Table 2-1. EPROM/Flash Mapping - 128K x 8 EPROMs
GPI 3Address RangeDevice Accessed
Removed1$FF800000 - $FF81FFFFEPROM A (XU24)
$FF820000 - $FF83FFFFEPROM B (XU23)
$FF840000 - $FF85FFFFEPROM C (XU22)
$FF860000 - $FF87FFFFEPROM D (XU21)
$FFA00000 - $FFBFFFFF On-Board Flash
Installed0$FF800000 - $FF9FFFFFOn-Board Flash
$FFA00000 - $FFA1FFFF EPROM A (XU24)
$FFA20000 - $FFA3FFFF EPROM B (XU23)
$FFA40000 - $FFA5FFFF EPROM C (XU22)
$FFA60000 - $FBA7FFFF EPROM D (XU21)
Table 2-2. EPROM/Flash Mapping - 256K x 8 EPROMs
GPI 3Address RangeDevice Accessed
Removed1$FF800000 - $FF83FFFFEPROM A (XU24)
$FF840000 - $FF87FFFFEPROM B (XU23)
$FF880000 - $FF8BFFFFEPROM C (XU22)
$FF8C0000 - $FF8FFFFFEPROM D (XU21)
$FFA00000 - $FFBFFFFF On-Board Flash
Installed0$FF800000 - $FF9FFFFFOn-Board Flash
$FFA00000 - $FFA3FFFF EPROM A (XU24)
$FFA40000 - $FFA7FFFF EPROM B (XU23)
$FFA80000 - $FFABFFFF EPROM C (XU22)
$FFAC0000 - $FBAFFFFF
2-6Computer Group Literature Center Web Site
EPROM D (XU21)
Hardware Preparation
Table 2-3. EPROM/Flash Mapping - 512K x 8 EPROMs
GPI 3Address Rang eDevice Accesse d
Removed1$FF800000 - $FF87FFFFEPROM A (XU24)
$FF880000 - $FF8FFFFFEPROM B (XU23)
$FF900000 - $FF97FFFFEPROM C (XU22)
$FF980000 - $FF9FFFFFEPROM D (XU21)
$FFA00000 - $FFBFFFFF On-Board Flash
Installed0$FF800000 - $FF9FFFFFOn-Board Flash
$FFA00000 - $FFA7FFFF EPROM A (XU24)
$FFA80000 - $FFAFFFFF EPROM B (XU23)
$FFB00000 - $FFB7FFFF EPROM C (XU22)
$FFB80000 - $FBF7FFFF EPROM D (XU21)
2
Table 2-4. EPROM/Flash Mapping - 1M x 8 EPROMs
GPI 3Address Rang eDevice Accesse d
Removed1$FF800000 - $FF8FFFFFEPROM A (XU24)
$FF900000 - $FF9FFFFFEPROM B (XU23)
Not usedEPROM C (XU22)
Not usedEPROM D (XU21)
$FFA00000 - $FFBFFFFF On-Board Flash
Installed0$FF800000 - $FF9FFFFFOn-Board Flash
$FFA00000 - $FFAFFFFF EPROM A (XU24)
$FFB00000 - $FFBFFFFF EPROM B (XU23)
Not usedEPROM C (XU22)
Not usedEPROM D (XU21)
$FF900000 - $FF9FFFFFEPROM B (XU23)
$FFA00000 - $FFAFFF FF EPROM C (XU22)
$FFB00000 - $FFBFFFFF EPROM D (XU21)
Not usedOn-Board Flash
Installed0Not usedOn-Board Flash
$FF800000 - $FF8FFFFFEPROM A (XU24)
$FF900000 - $FF9FFFFFEPROM B (XU23)
$FFA00000 - $FFAFFF FF EPROM C (XU22)
$FFB00000 - $FFBFFFFF EPROM D (XU21)
2-8Computer Group Literature Center Web Site
Hardware Preparation
SRAM Backup Power Source Select Headers (J13, J1)
Jumper header J13 determines the sour ce for onboard st atic RAM backup
power on the cont rol l er’s PCB. Header J1 determines the sourc e for
backup power on the 2MB SRAM mezzanine board (if installed).
The following backup power configurations are available for onboard
SRAM through header J13. In t he factory conf iguration , the VMEbus +5V
standby voltage serve s as primar y and secondary power source (the
onboard battery is disconnected).
NotesFor controllers without the optional VMEbus interface
(without the VMEchip2 ASIC), you must select the onboard
battery as the backup power source.
!
Caution
Removing all jumpers may temporarily disable the
SRAM. Do not remove all jumpers from J13, except for
storage.
J13
2
6
J13
2
6
J13
2
6
2
1
Secondary Source Onboard Battery
5
2
1
Primary Source VMEbus +5V STBY
Secondary Source Onboard Battery
J13
Backup Power DisabledPrimary Source Onboard Battery
(For storage only)
6
5
1
5
Primary Source VMEbus +5V STBY
Secondary Source VMEbus +5V STBY
J13
2
1
Primary Source Onboard Battery
Secondary Source VMEbus +5V STBY
1
(Factory configuration)
6
5
5
http://www.mcg.mot.com/literature2-9
Hardware Preparation and Installation
2
The following backup power configurations are available for the 2MB
mezzanine SR AM through header J1 ( located on the m ezzanine). In the f actory
configuration, the onboard battery serves a s secondary power source.
!
Caution
Removing the jumper may temporarily disab le the SRAM
mezzanine. Do not remove the jumper from J1, ex cept for
storage.
J1
1
2
3
Onboard Battery
(Factory configuration)
Backup Power Disabled
J1
1
2
3
(For storage only)
J1
1
2
3
VMEbus +5V STBY
SCSI Terminator Enable Header (J14)
The controller provides te rminators for the SCSI bus. The SCSI
terminators are enabled/disabled by a jumper on header J14. The SCSI
terminators may be configured as follows.
J14
1
2
On-Board SCSI Bus Terminator Enabled
(factory configuration)
On-Board SCSI Bus Terminator Disabled
J14
1
2
If the control ler i s to be us ed at one en d of the SC S I bus ,
!
the SCSI bus terminators must be enabled.
Caution
2-10Computer Group Literature Center Web Site
Hardware Preparation
Memory Mezzanine Options
Two 100-pin connectors (J15 and J16) are provide d on the controller’s
main module to accommodate optional memory mezzanine boards. The
following memory mezzanine options are available:
❏ 4 MB or 8 MB ECC DRAM (stackable on top)
❏ 16 MB or 32 MB ECC DRAM
The mezzanine boards m ay either be used individually or be combined in
a stack (no t more t han two deep). The f ollowing conn ector op tions govern
stacking arrangements:
❏ The 4 MB and 8 MB boards has connectors on the top and bottom
(primary and secondary) side s of the board. It can be used as
follows:
– Individually as the onl y mezzanine board (with nothing stacked
on top)
– Sta ck ed with another 4 MB or 8 MB board on top
– Stacked with either an 8 MB or 32 MB board on top
❏ The 8 MB or 32 MB board has conne ctors on the bottom only. It can
be used as follows:
– Sta ck ed on top of a 4 MB or 8 MB board
2
– Individually as the only mezzanine board
NoteWhen the mezzanines a re sta cked, the st arting a ddres s of the
larger board must be less than the starting address of the
smaller board.
http://www.mcg.mot.com/literature2-11
Hardware Preparation and Installation
2
Installation Instructions
The following sect ions describe the insta lla tion of IndustryPacks (I Ps) on
the MVME162LX Embedded Controller and the installation of the
controller in a VME chassi s, and discuss syst em considerati ons relevant to
the installation. Ensure that EPROM devices are installed as need ed.
Ensure that all header jumpers are configured as desired.
IP Installation on the MVME162LX
Up to two IP modules may be insta lled on the c ontroll er. Ins tall the IPs on
the controller as follows:
❏ Each IP has two 50-pin connector s that plug i nto two correspondin g
50-pin connectors on t he con trolle r: J5/ J6, J7/J8 . See F igure 2- 1 for
the connector locations.
– Orient the IP(s) so that the tapered connector shells mate
properly. Plug IP_a into connectors J5 and J6; p lug IP_b into J7
and J8. If a double-sized IP is used, plug IP_ab into J5, J6, J7,
and J8.
❏ Two additional 50-pin connectors (J3 and J4) are provided behind
the controller’s front panel for external cabling connections to the IP
modules. There is a one-to-one correspo ndence between the signa ls
on the cabling connectors and the signals on the associated IP
connectors (J4 ha s the same IP_a s ignals as J5; J3 has the sa me IP_b
signals as J7).
– Connect use r-supplied 50-pin cables to J3 and J4 as needed.
Because of the varying requirements for each different kind of
IP, Motorola does not supply these cables.
– Bring the IP cables out the narrow slot in the controller’s front
panel and attach them to the appropriate external equipment,
depending on the nature of the particular IP(s).
2-12Computer Group Literature Center Web Site
Installation Instructions
MVME162LX Module Installation
With EPROMs and IndustryPacks installed and the controller’s headers
properly configur ed, proce ed as follows to install the controller in the
VME chassis:
1. Turn all equipment power OFF and disconnect the power cable
from the AC power source.
Dangerous voltages, capable of causing death, are present
!
Warning
!
Caution
in this equipment. Use extreme caution when handling,
testing, and ad ju st in g.
To prevent damage t o t he contr oller’ s compo nents, d o not
install or remove the controller with the power applied.
2. Remove the chassis cover as instructe d in the user’s manual for the
equipment.
3. Remove the filler panel from the card slot where you are going to
install the controller.
– If you intend to use the MVME162LX as system controller, it
must occupy the leftmost c ard slot (slot 1). The system cont roller
must be in slot 1 to correctly initia te the bus-grant daisy-chain
and to ensure proper operati on of the IACK daisy-c hain driver.
2
– If you do not intend to use the MVME162LX as system
controller, it can occupy any unused double-height card slot.
4. Slide the controller into the selected card slot. Ensure it is seated
properly in the P1 and P2 connectors on the backplane. Do not
damage or bend connector pins.
5. Secure the controller in the chassis with the screws pro vide d,
making good contact wit h the t ransverse m ounting rails to m inimize
RF emissions.
http://www.mcg.mot.com/literature2-13
Hardware Preparation and Installation
2
6. On the chassis ba ckplane, remove the INTERRUPT ACKNOWLEDGE
(IACK) and
slot occupied by the controller.
7. Connect the appropriate cable(s) to the controller’s panel
connectors for the EIA-232-D serial ports, SCSI port, and LAN
Ethernet port.
– Note that some cables are not provided with the MVME162LX
module and must be made or purchased by the user (Motorola
recommends shielded cable for all peripheral connections to
minimize radiation).
8. Connect the peripheral(s) to the cable(s).
9. Install any other required VMEmodules in the system.
10. Replace the chassis cover.
11. Connect the power cable to the AC power source and turn the
equipment power ON.
BUS GRANT (BG) jumpers from the header for the card
System C o nsidera tions
The MVME162LX Embedded Contr oller draws power from both the P1 and
the P2 connectors on the VMEbus backplane. 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. T he controller may n ot operate prop erly without
its main board connected to VMEbus backplane connectors P1 & P2.
Whether the controller oper ates a s a VMEbus master or as a VMEbus
slave, it is c onfigur ed for 32 bits of addr ess and 32 bi ts of data (A32/D32) .
However, it h andles A16 or A24 dev ices in t he a ddress r ange s indic ate d in
Chapter 3. D8 and/or D16 devices in the system must be handled by the
MC68040/ MC68LC040 software. Refer to the memory maps in the
MVME162LX Embedded Controller Programmer’s Reference Guide.
The controller contains shared onboard DRAM whose base address is
software-select able. Both the onboard processor and offboard VMEbus
devices see this local DRAM at base physical address $00000000, as
programmed by the MVME162Bug firmware. This may be changed via
software to any other base address. Ref er to the MVME162LX Embedded Controller Programmer’s Reference Guide for additional information.
2-14Computer Group Literature Center Web Site
Installation Instructions
If the MVME162LX tries to access offboard resources in a nonexistent
location and is not system controller, and if the system does not have a
global bus timeout, the MVME162LX waits foreve r for the VMEbus cycle
to complete. This will cause the syste m to lock up. The re is only one
situation in whi ch the sys tem might lack this globa l bus ti meout: when the
MVME162LX is not the system controller and ther e is no global bus
timeout elsewhere in the system.
Multiple controll ers may be installed in a single VME chassis. In general,
hardware multiprocessor features are supported.
Note
If you are installing multiple controllers in an MVME945
chassis, do not install the controller in slot 12. The height of
the IP modules may cause clearance difficulties in that slot
position.
Other MPUs on the VMEbus can interrupt, disable , communicate with,
and determine the ope rational status of the pr ocessor(s). One registe r of the
GCSR (global cont rol/status r egister) se t includes four bits tha t functi on as
location monitor s to allow one c ontroller pr ocessor to b roadcast a sign al to
any other c ontroller proc essors. All eight regi sters a re accessible fr om any
local processor as well as from the VMEbus.
The controller provides +5 Vdc power to the remote LED/switch
connector (J2) as well as to IP_b through a 2A fuse (F3) located near J7.
Connector J2 is the interfac e for a remote control and indicator panel. If
none of the LEDs light and the ABORT and RESET switches do not
operate, check fuse F3.
2
The controller provides +12 Vdc power to the Ethernet transceiver
interface through a 1A fuse (F1) located near J3. The
FUSES LED lights to
indicate that +12 Vdc is availa ble . I f the Ethernet transceiver fails to
operate, check fuse F1.
The controlle r provides +5 Vdc to the SCSI bus
fuse F4, locat ed near J7. One function of the
the front panel is to monitor the SCSI bus
controller connecte d to a SCSI bus, the
FUSES LED lights when there is
TERMPWR signal through
FUSES LED (part of DS2) on
TERMPWR signal; with the
SCSI terminator power. Because any device on the SCSI bus can provide
TERMPWR, the LED do es not directly indicate the condition of the fuse. If
the LED flickers during SCSI bus operation, check the fuse. This display
also indicate s the status of the +5 Vdc (F2 , F3), +12 Vdc (F5) , and -12 Vdc
(F6) fuses for the IP modules.
http://www.mcg.mot.com/literature2-15
Hardware Preparation and Installation
2
The controller uses two Zilog Z85230 serial port controllers to implement the
four serial communications interfaces. Each interface supports CTS, DCD,
RTS, and DTR control signals as well as the TXD and RXD transmit/receive
data signals. Because the serial clocks are omitted in the controller’s
implementation, serial communications are str ictly asynchron ous. The Z 85230
is interfaced as D TE (data te rm inal e quipm ent) w ith EIA -232- D sign al levels.
The serial ports are routed to four RJ45 connectors on the front panel.
This chapter provides connection diagrams for the four serial ports on the
controller. These ports are connected to external devices through cables
connected to the front panel. The figures showing th is are as follows:
❏ Figure 2-2 shows th e pin assignments required in a cable to adapt a
DB25 DTE device to the RJ45 connectors.
DB25 DTE DEVICERJ45 JACK
DTR
CTS
RXD
TXD
SG
RTS
DCD
20
5
3
2
7
4
8
1
2
3
4
5
6
7
8
Figure 2-2. DB25-DTE-to-RJ45 Adapter
2-16Computer Group Literature Center Web Site
Installation Instructions
❏ Figure 2-3 shows the pin assignments requ ired in a cable to adapt a
DB25 DCE device to the RJ45 connectors.
DB25 DCE DEVICERJ45 JACK
6
DSR
8
DCD1
4
RTS
TXD
RXD
SG
CTS
DTR
2
3
7
5
20
2
3
4
5
6
7
8
Figure 2-3. DB25-DCE-to-RJ45 Adapter
❏ Figure 2-4 diagrams the pin as signments requir ed in a typi cal eight-
conductor serial cable having RJ45 connectors at both ends. Note
that all wires are crossed.
2
RJ45 CONNECTORRJ45 CONNECTOR
1
DCD
RTS
TXD
RXD
SG
CTS
DTR
2
3SG
4
5
6
7
8
1
2
3
4
5
6
7
8
Figure 2-4. Typical RJ45 Serial Cable
http://www.mcg.mot.com/literature2-17
Hardware Preparation and Installation
2
2-18Computer Group Literature Center Web Site
3Debugger General Information
Overview
This chapter describes the basic features of the debugger used on the
MVME162LX Embedded Controller. The firmware is known as the
"MVME162Bug" or simply the "162Bug". It include s diagnostics for testing
and configuring Industr y Pack (IP) modules.
Description of 162Bug
The162Bug is a powerful evaluati on and debuggin g tool for syst ems built
around the MVME162LX CISC-based microcompute rs . Fac ilities are
available for loading a nd executing user programs under complete
operator control for system evaluation. The 162Bug includes commands
for display and modification of memory, breakpoint and tracing
capabilitie s, a power fu l assembler/disassembler useful for patching
programs, and a power-up self test which verifies the integrity of the
system. Various 162Bug routines that handle I/O, data conversion, and
string functions are availa ble to user programs through the TRAP #15
system calls.
3
The 162Bug consists of three parts:
1. A command-driven user-interac tive software debugger (referred to
as the "debugger"). Its usage is described in Chapter 4.
2. A command-driven diagnostic package for the MVME162LX
controller (referred to as the "diagnostics"). This is described in the
MVME162Bug Diagnostics Manual.
3. A user interface which accepts com mands from the system console
terminal.
When using the 162Bug, you can operate out of the debugger directory or
the diagnosti c directory. If you are oper ating in the de bugger director y, the
debugger prompt
commands at your disposal.
162-Bug> is disp layed and you have all of the debugger
3-1
Debugger General Information
If you are in the diagnostic directory, the diagnostic prompt
162-Diag> is displayed and you have all of the diagnostic commands at
your disposal as well as all of the debugger commands.
3
You may switch bet ween direc tories by usin g the S witch Di rector ies ( SD)
command, or you may examine the commands in the particular direc tory
that you are currently in by using the Help (HE) command.
Because 162Bug is command-driven, it perfor ms its vario us operatio ns in
direct response to user commands entered at the keyboard. When you enter
a command, the162Bug executes it and then returns you to the prompt.
However, if you enter a command that causes execution of the user ta rget
code (e.g., "GO"), then control may or may not return to the162Bug,
depending on the outcome of the user’s program.
If you have used one or more of Motorol a's other de bugging packages, you
will find the CISC 162Bug very similar. Some effort has also been made
to make the interactive commands more consistent. For example,
delimiters between commands and arguments may now be commas or
spaces interchangeably.
162Bug Implementation
The 162Bug is written mostly in the "C" programming language,
providing the benefits of porta bility and maintainabilit y. Where necessary,
assembler language is used in the form of separate ly compiled modules
containing only assembler cod e (no mixed lang uage modul es are used).
Physically, the 162Bug is contained in a single 27C040 DIP EPROM
installed in socket XU24, providing 512KB (128K longwor ds) of stor age.
Optionally, the 162Bug can be loaded and execute d in a single fl ash
memory chip. The executable code is checksummed at every powe r-on or
reset firmware entry, and the result (which includes a pre-calculated
checksum contained in the memory devices), is te sted for an expected
zero. Thus, users are cautioned against modification of the memory
devices unless re-check sum preca utions are taken.
3-2Computer Group Literature Center Web Site
Installation and Start-up
Even though the 162Bug is installed on the MVME162LX Embedded
Controller, you m ust foll ow the st eps listed below in o rder f or the 162B ug
to operate properly with the controller.
Installation an d St art-up
3
!
Caution
To prevent damage t o t he contr oller’ s compo nents, d o not
insert or remove the controller while power is applied.
1. Turn all equipment power OFF. Refer to th e Hardware Preparation
section in Chapter 2 and install/remove jumpers on headers as
required for your particular application.
Jumpers on heade r J11 af fect t he 162Bug operati on as l isted be low.
The default condition for the controller (MVME162-2xx) is with
seven jumpers inst alled. Th is is between p ins 1-2, 3-4, 5-6, 9-10, 1112, 13-14, and 15-16. No jumper is installe d on pins 7-8.
These readabl e jumpers can be read a s a register (at $FFF4202 D) on
the Memory Controller ASIC (MCchip) . The bit values are read as
a one when the jumper is removed (off), and as a zero when the
jumper is installed (on).This jumper block (header J11) contains
eight bits. Refer also to the MVME162LX Embedded Controller Programmer’s Reference Guide for additional information on the
MCchip.
The MVME162Bug reserves/define s the four lower order bits
(GPI3 to GPI0). The table on the following page provides a
description for the bits reserved/defined by the debugger.
http://www.mcg.mot.com/literature3-3
Debugger General Information
BitJ11 PinsD escription
Bit #0 (GPI0)1-2When this bit is a one (high), it instructs the debugger to use
local Static RAM for its work page (i.e., variables, stack,
3
Bit #1 (GPI1)3-4When this bit is a one (high), it instructs the debugger to use
Bit #2 (GPI2)5-6Reserved for future use.
Bit #3 (GPI3)7-8When this bit is a zero (low), it informs the de bugger tha t it is
vector tables, etc.).
the default setup/operation parameters in fla sh memory or
ROM versus the user setup/operation parameters in NonVolatile RAM (NVRAM). This is the same as depressing the
RESET and AB O RT switches at the same time. This feature
can be used in th e ev en t th e us er se t up is co r ru p ted or does
not mee t a san i ty ch ec k . Refer to the EN V comman d
(described in Appendix A) for the flash memory/ ROM
defaults.
executing out of the fla s h me mori es. When this bit is a one
(high), it in forms the debugger that it is executing out of the
PROM.
Bit #4 (GPI4)9-10Open to your application.
Bit #5 (GPI5)11-12Open to your application.
Bit #6 (GPI6)13-14Open to your application.
Bit #7 (GPI7)15-16Open to your application.
Note that when the contr oller sta rts in a cold re set, the 162Bug runs
in Board Mode. Using the Environment (ENV) or MENU
commands can make the162Bug run in System mode. Refer to
Appendix A for additional information.
2. Configure header J1 by installing/removing a jumper between pins
1 and 2. A jumper installed/removed enables /disables the system
controller function of the MVME162LX.
3. Refer to the setup procedure for y our particular chassis or system for
details concern ing the installation of the MVME162LX Embedded
Controller.
3-4Computer Group Literature Center Web Site
Installation an d St art-up
4. Connect the terminal that is to be used as the 162Bug system
console to the defaul t debu g EIA-232-D port at serial port 1 on the
front panel of the controll er. Refer t o Chapter 2 for other connection
options. Set up the terminal as follows:
– eight bits per character
– one stop bit per character
– par ity disabled (no parity)
– baud r ate 9600 ba ud (default baud rate of controller’s ports at
power-up)
After power- up, the bau d ra te of the debug port can be re conf igured
by using the Port Format (PF) command of the 162Bug debugger.
NoteIn order for high speed se rial communication between the
162Bug and the te rminal to work, th e termina l must do s ome
form of handshaking. If the ter minal being used does not do
hardware handshaking via the CTS line, then it must do
XON/XOFF handshaking. If you get garbled messages and
missing characters, check the terminal to ensure XON/XOFF
handshaking is enabled.
3
5. If you want to connect devices such as a host computer system
and/or serial print er to the other EIA-232-D port connectors, you
must connect the appropriate cable s and configure the port(s) as
shown in step 4 (above). After power-up, this(these) port( s) can be
reconfigured by progr amming the MVME162LX Z85230 Serial
Communications Controlle rs (SCCs), or by using the 162Bug PF
command.
6. The EPROM/flash header J12 must be set to configuration 3, with
jumpers between J12 pins 5 and 6, 8 and 10, and 9 and 11. This
configures it for 512K x 8 EPROMs.
7. Power up the system. The 162Bug executes vario us self-checks and
displays the debugger pro mpt "
162-Bug>" (if it is operating in
Board Mode). However, if the ENV command has put the 162Bug
in System Mode, the system performs a self-test and tries to
autoboot. Refer to the ENV and MENU commands (Table 4-3).
If the confidence test f ails, the test is aborted when the first fault is
encountered. If possible, an appropriate message is displayed, and
control then returns to the menu.
http://www.mcg.mot.com/literature3-5
Debugger General Information
NoteThis product contains a Real Time Clock (RTC) device on
board. The devi ce i s b acked up wit h a s elf-c ontained bat tery.
Before shipment of the controlle r , the RTC device was
3
stopped to preserve battery life.
The board’s “Self-Tes ts” (ST)and operating syste ms require that the
RTC be operating. Before using the controlle r after the initial
installation, start the clock by using the set SET command of the
debugger. Set the date and time using the following syntax:
162-Bug>SET [mmddyyhhmm] I [<+/-CAL>;C]
Example: Nov. 7, 1998, 10:37 a.m. = SET 1107981037
The C option allows you to calibrate the real-time clock. R efer to the
MVME162Bug Debugging Package User’s Manual for details.
When storing the controller, ensure that the RTC is put into the
power save mode. This will extend the life of the battery. To put the
RTC into the power save mode, use the PS command of the
debugger. For example:
162-Bug> PS <Return>
Autoboot
Autoboot is a software routine that is contained in the 162Bug
Flash/PROM to provide an independent mechanism for booting an
operating syste m. This autoboot rou tine automatically sc ans for control lers
and devices in a specified sequence until a valid bootable device
containing the boot media is found or the list is exhausted. If a valid
bootable device is found, a system boot from that device is started. The
controller scanning sequence goes from the lowest controll er Logical Unit
Number (LUN) detected to the highest LUN detected. Controllers,
devices, and their LUNs are listed in Appendi x B.
At power-up, Autoboot is enabled, and providing the drive and controller
numbers encountered are valid, the following message is displayed upon
the system console:
"Autoboot in progress... To abort hit <BREAK>"
Following this message there is a delay to allow you an opportunity to
abort the Autoboot process if you wish. Then the actual I/O is begun: the
program pointed to within the volume ID of the media specified is loaded
into RAM and control passed to it. If, however, duri ng this time you want
to gain control without Autobo ot, you can press the <BREAK> key or the
software ABORT or RESET switches.
3-6Computer Group Literature Center Web Site
ROMboot
Autoboot is controlled by para meters contained in the ENV co m man d.
These parameters al low the selection of speci fic boot devices and files, and
allow programming of the Boot delay. Refer to the ENV comma nd in
Appendix A for more details.
3
!
Caution
Although streaming tape can be used to autoboot, the
same power supply must be connected to the streaming
tape drive, controller, and the MVME162LX. At powerup, the tape controller will position the streaming tape to
the load point where the volume ID can correctly be read
and used.
If, however, the MVME162LX loses power but the
controller does not, and the tape happens to be at the load
point, the sequ en ces o f com m ands req ui re d (a tta ch and
rewind) cannot be give n to the controller and aut oboot will
not be successful.
ROMboot
As shipped from t he factor y, the 162Bug oc cupies a n EPROM insta lled in
socket XU24. This leaves three sockets (XU21 - XU23) and the flash
available for your use. Contact your Motorola sales office for assistan ce.
This function is confi gured/enabled by the Envir onment (ENV) command
(refer to Appendix A) and executed at power-up (opt ionally also at reset)
or by the RB command assuming there is valid code in the memo ry devices
(or optionally elsewhere on the controller or VMEbus) to support it. If
ROMboot code is installed, a user-written routine is given control (if the
routine meets the format req uirements). One use of ROMboot might be
resetting SYSFAIL* on an unintelligent controller module. The NORB
command disables the function.
For a user’s ROMboot module to gain control through the ROMboot
linkage, four requirements must be met:
1. Power must have just been applied (but the ENV command can
change this to also respond to any reset).
2. Your routine must be located within the controller’ s Flash/PROM
memory map (but the ENV command can change this to any other
portion of the onboard memory, or even offboa rd VMEbus
memory).
http://www.mcg.mot.com/literature3-7
Debugger General Information
3. The ASCII string "BOOT" must be located within the specified
memory range.
4. Your routine must pass a checksum test, which ensures that this
3
routine was really intended to receive control at power-up.
For complete details on how to use ROMboot, refer to the Debugging Package for Motorola 68K CISC CPUs User’s Manual.
Network Boot
Network Auto Boot is a software routine contained in the 162Bug
Flash/PROM that provides a mechanism for booting an operating system
using a network (loca l Ethernet interface) as the boot device. The Network
Auto Boot routine automatical ly scans f or controllers and devices in a
specified sequence unti l a valid b ootable devic e containing a boot media is
found or the list is exhausted. If a valid bootable device is found, a boot
from that device is started. The controller scanning sequence goe s from the
lowest controlle r Logical Unit Number (L UN) detected to the highe st LUN
detected . Re fer to Appendix C for default LUNs).
At power-up, Network Boot is enabled, and providing the drive and
controller numbers encountered are valid, the following message is
displayed upon the system console:
"Network Boot in progress... To abort hit <BREAK>"
Following this m essage ther e is a delay to a llow you to abort the Auto B oot
process if you wish. Then the actual I/O is begun: the program pointed to
within the volume ID of the media specified is loaded into RAM and
control passed to it. If, however, dur ing this time you want to gain control
without Network Boot, you can press the <BREAK> key or the software
ABORT or RESET switches.
Network Auto Boot is controlled by parameters contained in the NIOT
and ENV commands. These parameters allow the selection of specific
boot devices, systems , and files, and all ow programming of the Boot delay.
Refer to the ENV command in Appendix A for additional information.
3-8Computer Group Literature Center Web Site
Restarting the System
You can initialize the system to a known state in three different ways:
reset, abort, and brea k. Ea ch has char acteristics which make it more
appropriate than the others in certain situations.
The debugger has a special feature upon a reset condition. This feature is
activated by depressing the RESET and ABORT switches at the same
time. This f eature instr ucts t he de bugger to use the default setup/ ope ration
parameters in ROM versus your setup/operation parameters in NVRAM.
This feature can be used in the event your setup/operation parameters are
corrupted or do not meet a sanity check. Refer to the ENV comman d
(Appendix A) for the ROM defaults.
Reset
Resta r ting the Sys t em
3
!
Caution
When the RESET button on the controller is depressed for an
extended length of time (varies from board to board), DRAM refresh
may be inhibited and memory contents may be lost . To ensure th at the
contents of DRAM will not be altered, press and release the RESET
button as quickly as possible.
Pressing and releasi ng the controll er’s front panel RESET switch initi ates
a system reset. COLD and WARM reset modes are availa ble. By default,
the 162Bug is in COLD mode. During COLD reset, a total system
initializati on take s place, as i f the c ontroll er had jus t bee n powered up. All
static variables (including disk device and controller parameters) are
restored to their default states. The breakpoint t able and of fset registe rs are
cleared. The target registers are invalidated. Input and output character
queues are cleared. Onboard devices (timer, serial ports, etc.) are reset, and
the two serial ports are reconfigured to their default state.
During WARM reset, the 162Bug variables and tables are preserved, as
well as the target state registers and breakpoints.
Reset must be used if the processor ever halts, or if the 162Bug
environment is ever lost (vector table is destroyed, stack corrupted, etc.).
http://www.mcg.mot.com/literature3-9
Debugger General Information
Abort
Abort is invoked by pressing and releasing the ABORT switch on the
controller’s front pa nel. Whenever Abort is invoked when executing a user
3
program (running target code), a "snapshot" of the processor state is
captured and stored in the target registers. For this reason, abort is most
appropriate when terminating a user program that is being debugged.
Abort should be u sed to regain c ontrol if t he program gets caught in a loop,
etc. The target PC, regi ster content s, etc., help to pi npoint the malf unction.
Pressing and releasing the ABORT switch gene rate s a local board
condition which may interrupt the proce ssor if enabled. The target
registers, reflecting the machine state at the time the ABORT switch was
pressed, are displayed on the scree n. Any brea kpoints installed in your
code are removed and the breakpoint table remains intact. Control is
returned to the debugger.
Break
A "Break" is generated by pressing and releasing the BREAK key on the
terminal keyboard. Break does not generate an interrupt. The only time
break is reco gnized is when characters are sent or received by the c onsole
port. Break removes any breakpoints in your code and keeps the
breakpoint table inta ct. Break also takes a snapshot of the machine state if
the function was entered using SYSCALL. This machine state is then
accessible to you for diagnost ic purposes.
Many times it may be d esirable t o terminate a de bugger c ommand prior to
its completion; for ex ample, during the display of a lar ge block of memory.
Break allows you to terminate the command.
SYSFAIL* Assertion/Negation
Upon a reset/powerup condition the debugger asserts the VMEbus
SYSFAIL* line (refer to the VME b us spe ci fication). SYSFAIL* stays
asserted if any of the following has occurred:
❏ confidence test failure
❏ NVRAM checksum error
❏ NVRAM low battery condition
❏ local memory configuration status
❏ self test (if system mode) has completed with error
❏ MPU clock speed calculation failure
3-10Computer Group Literature Center Web Site
After debugger init ialization is done an d none of the above situations ha ve
occurred, the SYSFAIL* line is negated. This indicates to the user or
VMEbus masters the state of the debugger. In a multi-computer
configuration , other VMEbus ma sters could v iew the pertine nt contro l and
status registers to de termine which CPU is asserting SYSFAIL*.
SYSFAIL* assertion/ne gation is also affected by the ENV command.
Refer to Appendix A for additional information.
MPU Clock Speed Calculation
The clock speed o f the micropr ocessor is calc ulate d and che cked against a
user definab le param et er h oused in NVRAM (re fer to th e CNFG
command in Appendix A). If the check fails, a warning messa ge is
displayed. The calculated cl ock speed is also checked against known clock
speeds and tolerances.
Memory Requirements
The program portion of the 162Bug is approximately 512KB of code,
consisting of downlo ad, debugger, and diagnostic pa ckages. It is contained
entirely in Flash or PROM.
Memory Requirements
3
The 162Bug execute s from $FF800 000 whether in Flash or PROM. If you
remove the jumper at J11 pin s 7 and 8, the a ddress spa ces of th e Flash a nd
PROM are swapped. For the MVME162-2XX (MVME162LX), factory
ship configurat ion is with jum per J11 pins 7- 8 removed (162B ug operates
out of EPROM).
The 162Bug initial stack comple tely changes 8KB of SRAM memory at
addresses off set $C000 from t he SRAM base addr ess, at power up or reset.
ECC DRAM mezzanines are mapped contiguously starting at zero
($00000000), largest first. With two mezzanines of the same size, the
bottom mezzanine is first.
Default on-board
Type of Memory PresentDefault DRAM
Base Address
Single ECC DRAM mezzanine$00000000FFE00000
Two ECC DRAM mezzanines
stacked
http://www.mcg.mot.com/literature3-11
$00000000$FFE00000
SRAM Base
Address
Debugger General Information
The 162Bug require s 2KB of NVRAM for stora ge of boa rd c onfigura tio n,
communication, and booting parameters. This storage area begins at
$FFFC16F8 and ends at $FFFC1EF7.
3
The 162Bug also requires a minimum of 64KB of contiguous read/write
memory to operate. The ENV command controls where this block of
memory is located. Regardless of where the onboard RAM is located, the
first 64KB is used for 162Bug stack and static variable space. The rest is
reserved as user space. Whenever the controller is reset, the target PC is
initialized to the a ddress correspondi ng to the be ginning of t he user space;
the target stack pointer s are initialized to addresses within the user space,
with the target Int errupt Stac k Pointer (IS P) set to the top of the user space.
Terminal Input/Output Control
When entering a command at the prompt, the following contr ol codes may
be entered for limited command line editing:
NoteThe presence of the caret ( ^ ) symbol before a character
indicates that the Contr ol (CTRL) key must be held down
while striki ng the character key.
^X(cancel
line)
^H(backs pac e) The cursor is moved back one position. The character
<DEL>(delet e or
rubout)
^D(redisplay)The entire command line as entered so far is
^A(repeat)Repeats the previous line. This ha ppens only at the
The cursor is backspac ed to the begi nnin g of the l ine. If
the terminal port is configured with the hardcopy or
TTY option (refer to PF command), then a c arriage
return and line fe ed is is sued along with another
prompt.
at the new cursor position is erased. If the hardcop y
option is s e lected, a "/" ch ar acter is typ ed along wit h
the deleted character.
Performs the same function as ^H.
redisplayed on the following line.
command lin e. The last line entered is redisp layed but
not execute d. T he cursor is positione d at the end of the
line. You may enter the line as is or you can add more
characters to it. You can edit the li ne by backspacing
and typing over old characters.
3-12Computer Group Literature Center Web Site
When observing output from any 162Bug command, the XON and XOFF
characters which are in effect for the terminal port may be entered to
control the output, if the XON/XOFF prot ocol is enabled (default). These
character s are initial ized to ^S and ^Q respectively by 162Bug, but you
may change them with the PF command. In the i nitia lized ( def ault) mo de,
operation is as follows:
^S(wait)Console output is halted.
^Q(resume)Console output is resumed.
Disk I/O Support
The 162Bug can initiate disk input /output by communicating with
intelligent disk controller modules over the VMEbus. Disk support
facilities built into 162 Bug consist of command-leve l disk operat ions, disk
I/O system calls (only via one of the TRAP #15 instructions) for use by
user programs, and defined data structures for disk parameters.
Parameters suc h as the address where the module is mapped and the type
and number of devices atta ched to the controlle r module a re kept in table s
by the 162Bug. Default value s for these parameters are assigned at powe rup and cold-start reset, but may be alte red as described in the section on
default param et ers , later in th is ch apt er.
Disk I/O Support
3
Appendix B contains a list of the controllers presently supported, as well
as a list of the default configurations for each controller.
Blocks Versus Sectors
The logical block defines the unit of information for disk devices. A disk
is viewed by the 162Bug as a st orage area divided into logical blocks. By
default, the logical block size is se t to 256 bytes for every block device in
the system. The block size can be changed on a per device basis with the
IOT comman d.
The sector def ines the unit of inf ormat ion for the media, as viewed by the
controller. The sector siz e varies for different controllers, and the value for
a specific device can be displayed and changed with the IOT command.
http://www.mcg.mot.com/literature3-13
Debugger General Information
When a disk tr an sfer i s reques t ed, the start and size of the transfer is
specified in blocks. The 162Bug trans lates this into an equivalent sector
specification, which is then passed on to the controller to initiate the
3
transfer. If the conversio n from blocks to sectors yields a fractional sector
count, an error is returned and no data is tra n sferred.
Device Probe Function
A device probe with entry into the device descriptor table is done
whenever a specified device is accessed (i.e., when system calls such as
.DSKRD , .DS K W R, .DSK C FI G , .DS K FM T , and .DSK C T RL, and
debugger commands BH, BO, IOC, IOP, IOT, MAR, and MAW are
used).
The device probe mechanism utilizes the SCSI commands "Inquiry" and
"Mode Sense". If the specified controller is non-SCSI, the probe simply
returns a status of "devic e present and unknown". The device probe makes
an entry into the device descriptor table with the pertinent data. After an
entry has been made, the next time a probe is done it simply returns with
"device present" status (pointer to the device descriptor).
Disk I/O via 162Bug Comm and s
These following 162Bug commands are provided for disk I/O. Detailed
instructions for their use are found in th e Debugging Package fo r Motorola 68K CISC CPUs User’ s Manual . When a command is issued to a particular
controller LUN and device LUN, these LUNs are remembered by the
162Bug so that the next disk c ommand defaults to use the same controll er
and device.
IOI (Input/Output Inquiry)
This command is used to probe the system for all possible CLUN/DLUN
combinations and display inquir y dat a for devices which support it. The
device descriptor tabl e only has spa ce for 16 device descriptors; with the
IOI command, you can view the table and clear it if necessary.
3-14Computer Group Literature Center Web Site
IOP (Physical I/O to Disk)
IOP allows you to read or write blocks of data, or to format the specified
device in a certain way . IOP crea tes a com ma nd p acket from the
arguments you have specified, and then invokes the proper system call
function to carry out the operation.
IOT (I/O Te ach)
IOT allows you to change any configurable parame ters and attributes of
the device. In addition, it al lows you to see the controller s availabl e in the
system.
IOC (I/O Control)
IOC allows you to send command packets as defined by the particular
controller dire ctly. IOC can also be used to look at the resultant device
packet after using the IOP command.
BO (Bootstrap Operating System)
Disk I/O Support
3
BO reads an operating system or control program from the specified
device into memory, and then transfers control to it.
BH (Bootstrap and Halt)
BH reads an operating system or contro l program from a spec ified device
into memory, and then returns control to the 162Bug. It is used as a
debugging tool.
Disk I/O via 162Bug System Calls
All operations that actually access the disk are done directly or indirectly
by the 162Bug TRAP #15 system calls (the command-level disk
operations provid e a convenient way of using these system calls without
writing and executing a progr am).
http://www.mcg.mot.com/literature3-15
Debugger General Information
The following syst em calls a re provided to allow us er pr ograms to do disk
I/O:
3
.DSKRDDisk read. System call to read blocks from a disk into
memory.
.DSKWRDisk write. System call to write blocks from memory onto a
disk.
.DSKCFIGDisk configure. This function allows you to change the
configuration of the specified device.
.DSKFMTDisk format. This function allows you to send a format
command to the specified device.
.DSKCTRLDisk control. This function is used to implement any special
device control functions that can not be accommodated easily
with any of the other disk functions.
Refer to the Debugging Package for Motorola 68K CISC CPUs User’s Manual for information on using the above and other system calls.
To perform a disk operation, the 162Bug must eventua lly present a
particular disk co ntroller module wit h a controller command pac ket which
has been especially prepared for that type of controller module (this is
accomplished in the respective contr oller dri ver module). It i s importa nt to
note that a command pa cket for one type of contr oller modul e usually does
not have the same format as a command packet for a different type of
module. The system call facilities which do disk I/O accept a generalized
(controller-i ndependent) packet format as an argument, and translate it into
a controller-speci fi c packet, which is then sent to the specified device.
Refer to the system call descriptions in the Debugging Package for Motorola 68K CISC CPUs User’s Manual for additional information on
the format and construction of these standardized "user" packets.
The packets which a controller module expects to be given vary from
controller to cont roller. The disk driver module for the par ticular ha rdware
module (board) must take the standardi zed packet give n to a trap funct ion
and create a new packet which is specificall y tailored for the disk drive
controller it i s sent to. Refer to documen tation on the particula r controller
module for the format of its packets, and for using the IOC comman d.
3-16Computer Group Literature Center Web Site
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.