HP 64780A User manual

Installation/Service/Terminal Interface Guide
MC68360 Emulator/Analyzer
(HP 64780A)

Notice
Hewlett-Packard makes no warranty of any kind with regard to this material,
including, but not limited to, the implied warranties of merchantability and
fitness for a particular purpose. Hewlett-Packard shall not be liable for errors
contained herein or for incidental or consequential damages in connection with the
furnishing, performance, or use of this material.
Hewlett-Packard assumes no responsibility for the use or reliability of its software
on equipment that is not furnished by Hewlett-Packard.
© Copyright 1993, 1996, Hewlett-Packard Company.
This document contains proprietary information, which is protected by copyright.
All rights are reserved. No part of this document may be photocopied, reproduced
or translated to another language without the prior written consent of
Hewlett-Packard Company. The information contained in this document is subject
to change without notice.
MS-DOS(R) is a U.S. registered trademark of Microsoft Corporation.
UNIX(R) is a registered trademark in the United States and other countries,
licensed exclusively through X/Open Company Limited.
Hewlett-Packard Company
P.O. Box 2197
1900 Garden of the Gods Road
Colorado Springs, CO 80901-2197, U.S.A.
RESTRICTED RIGHTS LEGEND. Use, duplication, or disclosure by the U.S.
Government is subject to restrictions set forth in subparagraph (C) (1) (ii) of the
Rights in Technical Data and Computer Software Clause at DFARS 252.227-7013.
Hewlett-Packard Company, 3000 Hanover Street, Palo Alto, CA 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set forth
in FAR 52.227-19(c)(1,2).
ii

Printing History
New editions are complete revisions of the manual. Many product updates and
fixes do not require manual changes, and manual corrections may be done without
accompanying product changes. Therefore, do not expect a one-to-one
correspondence between product updates and manual revisions.
Edition 1
Edition 2 64780-97000, December 1993
64780-97001, March 1996
Edition 3 64780-97002, September 1996
Safety and Certification and Warranty
Safety information, and certification and warranty information can be found at the
end of this manual on the pages before the back cover.
iii

iv

The HP 64780A Emulator
Description
The HP 64780A emulator supports the Motorola 68360 and 68EN360
microprocessor operating at clock speeds up to 33 MHz. The emulator supports
both 5V and 3.3V operation. The emulator plugs directly into a PGA socket, and it
can be plugged into a PQFP target system using optional accessories.
In this manual, the emulator is referred to by Model Number 64780A, and the
Motorola microprocessor is referred to by MC68360.
The emulator plugs into the modular HP 64700 instrumentation card cage and
offers 80 channels of processor bus analysis with the HP 64794A or HP 64704A
emulation-bus analyzer. Up to eight megabytes of emulation memory may be
installed on the probe. High performance download is achieved through the use of
a LAN (standard in the HP 64700B; optional in HP 64700A) or RS-422 interface.
An RS-232 port and a firmware-resident interface allow debugging of a target
system at remote locations.
For software development, the HP AxCASE environment is available on SUN
SPARCsystems and on HP workstations. This environment includes an ANSI
standard C compiler, assembler/linker, a debugger, the HP Software Performance
Analyzer that allows you to optimize your product software, and the HP Branch
Validator for test suite verification. The C compiler, assembler/linker, and
debugger are also available for MS-DOS systems.
Language support is also available from several third-party vendors. This capability
is provided through the HP 64700’s ability to consume several industry standard
output file formats.
Ada language support is provided on HP 9000 workstations by third-party vendors
such as Alsys and Verdix. An Ada application developer can use the HP emulator
and any compiler that generates HP/MRI IEEE-695 to do exhaustive, real-time
debugging in-circuit or out-of-circuit.
Motorola’s initial release of the MC68360 was "Revision A1". HP used that
original version in its first emulator shipments. Since that time, Motorola has
released follow-on versions "B1," "B2," "C," and "MC68MH360". Each
v

subsequent version fixed errata from the previous version. HP is currently using
33-MHz Revision C in its HP 64780A emulator.
Motorola continues to ship prior revisions of the MC68360, and the MC68MH360.
If you would like to use one of the non-Revision C parts in your HP 64780A
emulator, HP offers an upgrade kit. Contact your local HP field engineer for
ordering information.
Along with the upgrade kit, you will have to supply your own non-Revision C part
(order separately). You will install your non-Revision C part in the processor
socket on the emulator probe by following instructions supplied with the upgrade
kit.
Features
HP 64780A Emulator
•33 MHz active probe emulator
•5V and 3.3V operation
•No wait states required to access target memory for processor speeds up to
33 MHz
•Fast termination cycles to target memory up to 33 MHz
•Unlimited software breakpoints
•Symbolic support
•36 inch cable and 219 mm (8.8") x 102 mm (4") probe, terminating in PGA
package
•Background and foreground monitors
•Simulated I/O with workstation interfaces
•Consumes IEEE-695, HP-OMF, Motorola S-Records, and Extended Tek Hex
File formats directly. (Symbols are available with IEEE-695 and HP-OMF
formats.)
•Multiprocessor emulation
–synchronous start of 32 emulation sessions
–cross triggerable from another emulator, logic analyzer, or oscilloscope
•Demo board and self test module included
vi

Emulation-bus analyzer
•80-channel emulation-bus analyzer
•Post-processed dequeued trace with symbols
•Eight events, each consisting of address, status, and data comparators
•Events may be sequenced eight levels deep and can be used for complex
trigger qualification and selective store
Emulation memory
•Up to 8 Mbytes of emulation memory
•All emulation memory is dual-ported
•Mapping resolution is 256 bytes
•No wait states required to access emulation memory for processor speeds up to
33 MHz when using 20ns SIMM memories, and
25 MHz when using 25 ns SIMM memories
(1 wait state required above 25 MHz with 25 ns SIMMs)
•Fast termination cycles to emulation memory supported up to 10 MHz
vii

In This Book
This manual covers the HP 64780A emulator for the MC68360 microprocessor. It
is divided into the following parts:
Part 1, “Installation,” shows you how to install and connect all of the
emulator/analyzer hardware in the card cage, connect the card cage to a host
computer in several typical configurations, and connect the emulator probe into the
demo board and into your target system.
Part 2, “Service,” shows you how to install and update emulator/analyzer firmware,
solve problems you may encounter while using the emulator/analyzer, and obtain
replacement parts for the emulator/analyzer from Hewlett-Packard.
Part 3, “Terminal Interface Reference,” introduces the interfaces available to use
with the emulator/analyzer, and shows you how to use the terminal interface for the
emulator/analyzer.
This manual replaces the Terminal Interface Reference which accompanied earlier
HP emulators. For information on the Terminal Interface, see Part 3.
You should read the book Concepts of Emulation and Analysis when you have the
chance to do so; it contains a good conceptual introduction to the emulation
process, and also describes how an emulation monitor works. Another book, the
HP 64700 Card Cage Installation/Service Guide, tells you more about installation
and configuration of the HP 64700 Card Cage. If you have a problem with the
emulator and don’t understand how to fix it, a listing of HP Sales and Service
offices is in the Support Services Guide in the back of this binder.
viii

Contents
Part 1 Installation Guide
1 Preparing the Emulator
Preparing the Emulator 4
What you need 5
Antistatic precautions 6
Step 1. Install optional memory modules on Deep Analyzer card (if using the deep
analyzer) 7
Step 2. Connect the Emulator Probe Cables 9
Step 3. Install Boards into the HP 64700 Card Cage 11
Step 4. Install emulation memory modules and system clock modules on emulator
probe 24
Step 5. Connect the power cord 30
2 Connecting to a Host Computer
Step 1: Choose a system configuration 34
Step 2: Connect the LAN cable 34
Step 3: Install host software 35
Step 4: Configure the LAN parameters 36
To configure LAN parameters using "ipconfig700" 37
To configure LAN parameters using the terminal interface 40
If "telnet" does not access the emulator 43
ix

3 Connecting to the Demo Board
Installation 46
Step 1. Connect the emulator probe to the demo target system 47
Step 2. Apply power to the HP 64700 49
Step 3. Verify the performance of the emulator 50
4 Connecting the Emulator to a Target System
Plugging The Emulator Into A Target System 52
Understanding an emulator 52
Target system design 52
Buffering and AC specifications 53
DC specifications 53
Clocks 53
Target power 54
Equivalent circuits 55
Connecting the emulator to the target system 58
Verifying Operation Of The Emulator In Your Target System 59
Additional equipment 59
Probing 59
Selecting a clock module 60
Clock module information 61
Clock module circuits 63
If you have problems working with a target oscillator 64
If you have problems working with a target crystal 64
If a different clock frequency is required 65
Running the emulator configured like the processor 67
To verify operation of the target system 69
Interpreting the trace list 75
Fixing timing problems 77
Installing the emulator in a target system without known good software 78
Contents
x

Installing Emulator Features 80
Evaluating the reset facilities 80
Installing the background monitor 82
Resetting into the background monitor 82
Testing memory accesses with the background monitor 84
Running a program from the background monitor 85
Breaking into the background monitor 86
Exiting the background monitor 86
Software breakpoint entry into the background monitor 87
Stepping with the background monitor 88
Installing the foreground monitor 89
Resetting into the foreground monitor 90
Dealing with keep-alive circuitry by using the custom foreground monitor 92
Testing memory access with the foreground monitor 93
Running a program from the foreground monitor 94
Breaking into the foreground monitor 95
Exiting the foreground monitor 95
Software breakpoint entry into the foreground monitor 95
Stepping with the foreground monitor 96
Installing emulation memory 96
Contents
xi

Part 2 Service
5 Installing/Updating Emulator Firmware
When to update the firmware 100
Updating the firmware using a workstation 100
Updating the firmware using a PC 101
Step 1. Connect the HP 64700 card cage to your PC 102
Step 2: Install the firmware update utility 103
Step 3: Run "progflash" to update emulator firmware 105
If the "progflash" routine won’t work 108
6 Solving Problems
To verify the performance of the emulator 111
What is pv doing to the Emulator? 113
Troubleshooting 113
To ensure software compatibility 114
To display the emulator status 115
To check the version of the Terminal Interface software 116
If the Performance Verification reports massive PV failures 116
If the emulator appears to be malfunctioning 116
If interrupts are not detected by your emulator 117
If the analyzer triggers on a program address when it should not 118
If trace disassembly appears to be partially incorrect 118
If you see unexplained states in the trace list 119
If the analyzer won’t trigger 119
If you suspect that the emulator is broken 120
If emulation memory behavior is erratic 120
If emulation memory addressing appears incorrect 121
If you’re having problems with DMA 124
If you see exclamation marks "!" in count columns of the trace lists 124
If you see negative time or state counts in trace lists 125
If you do not see the counter overflow indication "!" where you expected to see it
in a trace list 125
Contents
xii

Part 3 Terminal Interface Reference
8 Using the Terminal Interface
When to Use the Terminal Interface 134
Learning About the Terminal Interface 135
To start the Terminal Interface 135
To view a list of available commands 136
To view help on individual commands 137
To view help on command syntax 138
Graphical Interfaces 139
Why use a graphical interface? 139
9 Specifications and Characteristics
Processor Compatibility 142
Electrical 142
Motorola JTAG and BDM 142
HP 64780A Maximum Ratings 143
HP 64780A Electrical Specifications 144
HP 64780A Timing Specifications 146
HP 64780A AC Timing Specifications 146
Physical 155
Environmental 156
BNC, labeled TRIGGER IN/OUT 156
Communications 157
Glossary
Index
Contents
xiv

Part 1
Installation Guide
1

2

1
Preparing the Emulator
How to connect the emulator probe and power cord.
3

Preparing the Emulator
This chapter shows you how to install the emulation and analysis hardware in the
emulator card cage.
The installation tasks are described in the following steps:
1 Install optional memory modules on the deep analyzer card, if desired.
2 Connect the HP 64780A emulator probe to the HP 64748C emulator control
card.
3 Install cards into the HP 64700 card cage.
4 Install emulation memory modules on the emulator probe.
5 Connect a power cord to the HP 64700 Card Cage.
Chapter 1: Preparing the Emulator
4

What you need
Equipment supplied
The minimum system contains:
•HP 64780A 68360 PGA Emulator Probe
•Demo target system (shipped with the emulator probe).
•HP 64748C Emulation Control card.
•HP 64794A/C/D Emulation-Bus Analyzer (deep analyzer with ) card, or
HP 64704A Emulation-Bus Analyzer (1K analyzer) card.
•80-Channel Analyzer Extender Ribbon Cable.
•HP 64700A or HP 64700B Card Cage.
Optional parts are:
•HP 64172A 256-Kbyte Memory Modules for additional memory depth.
•HP 64172B 1-Mbyte Memory Modules for additional memory depth.
•HP 64173A 4-Mbyte Memory Modules for additional memory depth.
•HP 64708A Software Performance Analyzer.
•HP 64701A LAN Interface card (HP 64700A only).
Equipment and tools needed
In order to install and use the MC68360 emulation system, you need:
•Flat-blade screwdriver with shaft at least 5 inches long (13 mm approx).
•Torx T-10 screwdriver (if installing the optional LAN card for the
HP 64700A).
The illustrations in this manual show the HP 64700B Card Cage. The locations of
some components may be slightly different if you are using an HP 64700A Card
Cage.
Chapter 1: Preparing the Emulator
5

Antistatic precautions
Printed-circuit boards contain electrical components that are easily damaged by
small amounts of static electricity. To avoid damage to the emulator boards, follow
these guidelines:
•If possible, work at a static-free workstation.
•Handle the boards only by the edges; do not touch components or traces.
•Use a grounding wrist strap that is connected to the HP 64700 chassis.
Note If you already have a modular HP 64700 Series Card Cage and want to remove the
existing emulator and insert an HP 64780A emulator in its place, the HP 64700
Series generic firmware and analyzer firmware may NOT be compatible, and the
software will indicate incompatibility. In this event, you must purchase a Flash
EPROM board to update the firmware. Instructions for installing this board and
programming it from a PC or HP 9000 are provided in the HP 64700 Card Cage
Installation/Service manual. Instructions for installing and updating emulator
firmware are covered in Chapter 5, "Installing/Updating Emulator Firmware".
Note If you already have a modular HP 64700 Series Card Cage and want to remove the
1K analyzer and install the deep analyzer in its place, the analyzer firmware will be
updated by your installation because the analyzer firmware is contained on the
analyzer card.
Chapter 1: Preparing the Emulator
6
Table of contents
Other HP Measuring Instrument manuals