HP 16600A Series User manual

The test & measurement
equipment you need at
the price you want.
Alltest carries the world’s largest selection of
used/refurbished benchtop test & measurement
equipment at 50% the price of new.
O
Our equipment is guaranteed working, warrantied, and
available with certified calibration from our in-house staff
of technicians and engineers.
• 10+ full time technicians with over 150 years of
specialization
• 90 day warranty & 5 day right of return on all
equipment
•
• 1-3 year warranties for new and
premium-refurbished equipment
• Every unit tested to OEM specifications
• Satisfaction guaranteed
You have plans, we will help you achieve them.
Any project. Any budget.
Get a quote today!
CCall (732) 919-3339 or email sales@alltest.net.
t
Alltest Instruments, Inc.
500 Central Ave.
Farmingdale, NJ 07727
P: (732) 919-3339
F: (732) 919-3332
alltest.net
s
sales@alltest.net

User’s Guide
Publication number E2480-97002 July 1998
© Copyright Hewlett-Packard Company 1994-1998
All Rights Reserved
For Safety information, Warranties, and Regulatory information, see
the pages behind the index.
Solutions for the Motorola
CPU32

2 Solutions for CPU32
HP Solutions for the Motorola CPU32—At a
Glance
This manual describes several ways to connect an HP logic analysis
system to your target system. These connections use an analysis probe,
plus an emulation module (for an emulation solution).
Analysis Probe
The analysis probe connects your logic analyzer to your target system
for state and timing analysis. The analysis probe can be used with an
HP 16600A/700A-series logic analysis system or with other HP logic
analyzers.
The analysis probe can be purchased alone, or as part of an emulation
solution.
Emulation Module and Target Interface Module
The emulation module plugs into your HP 16600A/700A-series logic
analysis system frame. The emulation module lets you use the target
processor’s built-in background debugging features, including run
control and access to registers and memory. A high-level source
debugger can use the emulation module to debug code running on the
target system. You can connect the emulation module to the analysis
probe or you can connect it to a debug port on the target system
through the provided target interface module (TIM).

Solutions for CPU32 3
HP Solutions for the Motorola CPU32—At a Glance
Emulation Solution
The emulation solution includes an analysis probe, an emulation
module, cables and adapters, and the HP B4620B Source Correlation
Tool Set (for analyzing high-level source code). This solution is
designed to be used with an HP 16600A/700A-series logic analysis
system.

4 Solutions for CPU32
In This Book
In This Book
This book documents the following products:
Analysis Probe
Processor supported Product ordered Includes
68331, 68332, 68334, 68335
132-pin PQFP
HP E9589A Option #002 HP E2480A analysis probe and inverse
assembler
68331, 68332
144-pin TQFP
HP E9589A Option #003 HP E2480A analysis probe and inverse
assembler
68336, 68376
160-pin QFP
HP E9596A Option #002 HP E2480A analysis probe and inverse
assembler
Emulation Solution
Processor supported Product ordered Includes
68331, 68332, 68334, 68335
132-pin PQFP
HP 9489A Option #002 HP E2480A analysis probe, inverse
assembler, HP 16610A emulation module,
target interface module (TIM), HP B4620B
Source Correlation Tool Set
68331, 68332
144-pin TQFP
HP 9489A Option #003 HP E2480A analysis probe, inverse
assembler, HP 16610A emulation module,
target interface module (TIM), HP B4620B
Source Correlation Tool Set
68336, 68376
160-pin QFP
HP 9496A Option #002 HP E2480A analysis probe, inverse
assembler, HP 16610A emulation module,
target interface module (TIM), HP B4620B
Source Correlation Tool Set

Solutions for CPU32 5
HP Solutions for the Motorola CPU32—At a Glance 2
In This Book 4
1Overview
Overview 16
Setup Checklist 17
Setup Assistant 19
Analysis Probe 20
Equipment supplied 20
Minimum equipment required 22
Additional equipment supported 22
Logic analyzers supported 23
Logic analyzer software version requirements 24
Emulation Module 25
Equipment supplied 25
Minimum equipment required 26
Emulation Solution 27
Additional Information Sources 28
2 Installing Software
Installing Software 30
Installing and loading 30
What needs to be installed 31
To install the software from CD-ROM
(HP 16600A/700A) 32
To list software packages which are installed (HP 16600A/700A) 33
To install software on other logic analyzers 33
3 Connecting and Configuring the Analysis Probe

6 Solutions for CPU32
Connecting and Configuring the Analysis Probe 36
Target System Requirements 37
Analysis probe—circuit board dimensions 38
Power-on/Power-off Sequence 39
To power on HP 16600A and HP 16700A-series logic analysis systems 39
To power on all other logic analyzers 39
To power off 40
Connecting the Analysis Probe to the Target System 42
To connect the transition board 43
To connect the analysis probe to the probe adapter 44
Connecting the probe adapter to the target system 45
Connecting the Analysis Probe to the Logic Analyzer 49
To connect the high-density termination cables to the analysis probe 50
Connecting the high-density cables to the logic analyzer 51
To connect to the HP 16600A logic analyzer 52
To connect to the HP 16601A logic analyzer 54
To connect to the HP 16602A logic analyzer 56
To connect to the HP 16603A logic analyzer 58
To connect to the HP 16550A analyzer 60
To connect to the HP 16554/55A/56/57D analyzers 63
To connect to the HP 1660A/AS/C/CS/CP logic analyzers 65
To connect to the HP 1661A/AS/C/CS/CP logic analyzers 67
To connect to the HP 1662A/AS/C/CS/CP logic analyzers 69
To connect to the HP 1670A/D logic analyzer 71
To connect to the HP 1671A/D logic analyzer 73
To connect to the HP 1672A/D logic analyzer 75
Configuring the Analysis Probe 77
To set the ID switches 78
To interpret the LEDs 79
Configuring the analysis probe for address reconstruction 81
To configure with a debugger 81
To configure with a logic analysis system 82
Configuring the Logic Analysis System 83
To load configuration and inverse assembler files—HP 16600/700 logic analysis

Solutions for CPU32 7
systems 84
To load configuration files—other logic analyzers 85
4 Analyzing the CPU32 with a Logic Analyzer
Analyzing the CPU32 with a Logic Analyzer 90
Modes of Operation 91
State mode 91
Timing mode 91
Logic Analyzer Configuration 92
Trigger specification 92
Format menu 92
To qualify stored data 98
Using the Inverse Assembler 99
To display captured state data 99
To align the inverse assembler 101
Inverse assembler output format 102
To use the Invasm menu 104
Inverse assembler error messages 106
5 Symbols and Source Code in the Analyzer
Symbols and Source Code in the Analyzer 108
User-Defined Symbols 109
Predefined CPU32 Symbols 109
Object File Symbols 110
Requirements 110
To use object file symbols in the HP 16600A/700A 111
Compilers 112
Source Code 116
Inverse Assembler Generated PC (Software Address) Label 118
Access to Source Code Files 119

8 Solutions for CPU32
Triggering on Symbols and Source Code 120
To avoid triggering on prefetched instructions 120
To correlate relocatable code using the address offset 121
6 Connecting and Configuring the Emulation Module
Connecting and Configuring the Emulation Module 124
Using the Emulation Control Interface 125
To start the Emulation Control Interface from the main System window 127
To start the Emulation Control Interface from the Workspace window 127
To start the Emulation Control Interface from the Workspace window for an
emulation probe 129
Designing a Target System for the Emulation Module 130
Debug port connections 130
8-pin BDM port 132
10-pin BDM port 132
Target VDD 132
Enabling BDM 133
Installing the Emulation Module 134
To install the emulation module in an HP16700A-series logic analysis system or
an HP16701A expansion frame 135
To install the emulation module in an HP16600A-series logic analysis
system 137
To test the emulation module 138
Connecting the Emulation Module to the Target System 139
To connect to a target system using a 10-pin debug port 140
To connect to a target system via an 8-pin debug port 141
To connect to a target system using an analysis probe 143
To update firmware 144
To display current firmware version information 145
To verify communication between the emulator and target system 145
Configuring the Emulation Module 146
What can be configured 146
To configure using the Emulation Control Interface 147

Solutions for CPU32 9
To configure using the built-in commands 148
To configure using a debugger 149
To configure the processor type 150
To configure the processor clock speed (BDM communication speed) 151
To set the default clock rate if the processor clock rate is less than 8 MHz 152
Detailed information about processor clock rates 154
To configure restriction to real-time runs 156
Testing the emulator and target system 157
To test memory accesses 157
To test with a running program 157
7 Using Internal Registers (SIM and EMSIM Registers)
Internal Registers (SIM and EMSIM Registers) 160
The purpose of SIM Registers 160
The purpose of EMSIM registers 160
Configuring the SIM Registers 161
Summary 161
How SIM Register Values are Set 161
The effect of processor type on the EMSIM registers 162
Using the Emulation Control Interface or built-in commands 162
Configuring EMSIM Register Values 163
To copy target SIM registers to EMSIM registers 163
To manually define EMSIM values 163
Configuring SIM Register Values 165
To copy EMSIM registers to target SIM registers 165
To manually define SIM values 166
Saving and Loading EMSIM Values 167
To save EMSIM values in a configuration file 167
To load EMSIM values from a configuration file 167
Configuring SIM and EMSIM Values Using Built-In Commands 169
To compare SIM and EMSIM registers 169
Summary of EMSIM-related built-in commands 170

10 Solutions for CPU32
Internal Representation of SIM and EMSIM Registers 171
8 Using the Emulator with a Debugger
Using the Emulator with a Debugger 174
Setting up Debugger Software 177
To connect the logic analysis system to the LAN 178
To change the port number of an emulator 180
To verify communication with the emulator 181
To export the logic analysis system’s display to a workstation 182
To export the logic analysis system’s display to a PC 183
Using the Green Hills debugger 184
Compatibility 184
Overview 184
Getting started 184
To configure the emulation module, analysis probe, and target using an initial-
ization script 188
To perform common debugger tasks 190
To send commands to the emulation module 190
To view commands sent by MULTI to the emulation module 190
To reinitialize the system 191
To disconnect from the emulation module 191
Error conditions 191
Using the Software Development Systems debugger 193
Compatibility 193
Overview 193
Startup behavior 193
Getting started 194
To send commands to the emulation module 200
Download performance 201
Error conditions 202
9 Using the Analysis Probe and Emulation Module Together
Using the Analysis Probe and Emulation Module Together 204
What are some of the tools I can use? 204

Solutions for CPU32 11
Which assembly-level listing should I use? 204
Which source-level listing should I use? 205
Where can I find practical examples of measurements? 205
Triggering the Emulation Module from the Analyzer 206
To stop the processor when the logic analyzer triggers on a line of source code
(Source Viewer window) 206
To stop the processor when the logic analyzer triggers (Intermodule
window) 207
To minimize the “skid”effect 208
To stop the analyzer and view a measurement 208
Tracing until the processor halts 210
To capture a trace before the processor halts 210
Triggering the Logic Analyzer from the Emulation Module 211
The emulation module trigger signal 211
Group Run 212
To trigger the analyzer when the processor halts 214
To trigger the analyzer when the processor reaches a breakpoint 215
10 Hardware Reference
Hardware Reference 218
Analysis probe—operating characteristics 219
Theory of operation and clocking 220
Address reconstruction overview 220
Analysis probe signal-to-connector mapping (Timing) 223
State connector signal definition 231
Emulation module—operating characteristics 235
Emulation module—electrical characteristics 236
11 General-Purpose ASCII (GPA) Symbol File Format
General-Purpose ASCII (GPA) Symbol File Format 238

12 Solutions for CPU32
GPA Record Format Summary 240
SECTIONS 242
FUNCTIONS 243
VARIABLES 244
SOURCE LINES 245
START ADDRESS 246
Comments 246
12 Troubleshooting the Analysis Probe
Troubleshooting the Analysis Probe 248
Logic Analyzer Problems 249
Intermittent data errors 249
Unwanted triggers 250
No activity on activity indicators 250
No trace list display 250
Analyzer won’t power up 251
Analysis Probe Problems 252
Target system will not boot up 252
Erratic trace measurements 253
Capacitive loading 253
Inverse Assembler Problems 254
No inverse assembly or incorrect inverse assembly 254
Inverse assembler will not load or run 255
Intermodule Measurement Problems 256
An event wasn’t captured by one of the modules 256
Analysis Probe Messages 257
“. . . Inverse Assembler Not Found”257
“Measurement Initialization Error”258
“No Configuration File Loaded”259
“Selected File is Incompatible”260
“Slow or Missing Clock”260
“Time from Arm Greater Than 41.93 ms”260
“Waiting for Trigger”261

Solutions for CPU32 13
Returning Parts to Hewlett-Packard for Service 262
To return a part to Hewlett-Packard 262
To obtain replacement parts 263
Cleaning the Instrument 264
13 Troubleshooting the Emulation Module
Solving Problems 266
Troubleshooting Guide 267
Emulation Module Status Lights 268
Emulation Module Built-in Commands 269
To telnet to the emulation module 269
To use the built-in commands 270
Problems with the BDM Connection 272
If a user interface behaves erratically 272
Problems with Configuration 273
If you have problems displaying some registers 273
If you have problems initializing some registers 273
Problems with the Target System 274
If boot area accesses fail 274
Problems with the LAN Interface 275
If LAN communication does not work 275
If it takes a long time to connect to the network 275
Problems with the Emulation Module 276
To run the built-in performance verification test using the logic analysis
system 276
To run complete performance verification tests using a telnet connection 277
If a performance verification test fails 279
Returning Parts to Hewlett-Packard for Service 280
To return a part to Hewlett-Packard 280
To obtain replacement parts and cables 281

14 Solutions for CPU32
To clean the instrument 281
Glossary

15
1
Overview

16 Solutions for CPU32
Overview
This chapter describes:
•Setup Checklist
•Setup Assistant
•Equipment used with the analysis probe (including a list of logic analyzers
supported)
•Equipment used with the emulation module
•System configurations
•Additional information sources

Solutions for CPU32 17
Chapter 1: Overview
Setup Checklist
Setup Checklist
Follow these steps to connect your equipment:
•Check that you received all of the necessary equipment. See page 20
(analysis probe) or page 25 (emulation module).
•If you need to install an emulation module in an HP 16600A/700A series
logic analysis system, see page 134.
•Install the software. See page 29.
•If you have an HP 16600A/700A-series logic analysis system, use the Setup
Assistant to help you connect and configure the analysis probe and
emulation module. See page 19.
•If you do not have an HP 16600A/700A-series logic analysis system, install
the analysis probe (see page 42).

18 Solutions for CPU32
Chapter 1: Overview
Setup Checklist
Install emulation
module
(if necessary)
Install software
Installation done. Begin
making measurements.
Emulation
module
connection
type?
Connect emulation
module to analysis
probe
Emulation
solution?
No
Through
Analysis Probe
Direct to Target
Connect emulation
module
Connect emulation module
to target interface module
Connect target interface
module to target
Yes
Download executable to
target
Load program symbols
into analyzer
Create executable with
symbol information
Use source
correlation?
No
Yes
E2476F02.VSD
Install analysis probe
Connect analysis
probe to target system
Connect analyzer
cables
Load inverse
assembler

Solutions for CPU32 19
Chapter 1: Overview
Setup Assistant
Setup Assistant
The Setup Assistant is an online tool for connecting and configuring
your logic analysis system for microcontroller and bus analysis. The
Setup Assistant is available on the HP 16600A and HP 16700A-series
logic analysis systems. You can use the Setup Assistant in place of the
connection and configuration procedures provided in this manual.
This menu-driven tool will guide you through the connection
procedures for connecting the logic analyzer to an analysis probe, an
emulation module, or other supported equipment. It will also guide you
through connecting an analysis probe to the target system.
Start the Setup Assistant by clicking its icon in the system window.
If you ordered this product with your HP 16600A/700A-series logic
analysis system, the logic analysis system has the latest software
installed, including support for this product. If you received this
product after you received your logic analysis system, see the
“Installing Software”chapter (page 29).
Other manuals for 16600A Series
1
This manual suits for next models
1
Table of contents
Other HP Measuring Instrument manuals

HP
HP 8508A Instruction and safety manual

HP
HP HP 8753E User manual

HP
HP HP 8712ET Installation and operation manual

HP
HP 8568B Installation and operation manual

HP
HP 16530A User manual

HP
HP 8163A Series Operating instructions

HP
HP 1660C Series User manual

HP
HP 84125C User manual

HP
HP HP 8901A Operating and safety instructions

HP
HP 333A Service manual