HP MC68360 User manual

Graphical User Interface User’s Guide
MC68360/68EN360
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 B3091-97000, December 1993
Edition 2 B3091-97001, April 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

The HP 64780A Emulator
Description
The HP 64780A emulator supports the Motorola 68360 and 68EN360
microprocessor operating at clock speeds up to 25 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.
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
an optional LAN or RS-422 interface. A pair of RS-232 ports 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.
iv

Features
HP 64780A Emulator
•25 MHz active probe emulator
•5V and 3.3V operation
•No wait states to target memory up to 25 MHz
•Fast termination cycles to target memory up to 25 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
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 for emulation memory for processor speeds up to
25 MHz
•Fast termination cycles to emulation memory supported up to 10 MHz
v

In This Book
This manual shows you how to use the HP 64780A emulator through its Graphical
User Interface for the MC68360 microprocessor. It is divided into the following
parts:
Part 1 contains the Quick Start Guide. It shows you how to quickly become
productive with the emulation system.
Part 2 explains how to accomplish common tasks, often requiring use of several
emulator/analyzer commands together. This part assumes you know how to use the
commands to control the emulator. Instructions are given to help you connect the
emulation probe into a target system, get the desired interface on screen, and use
the emulator/analyzer commands to control the emulation processor while making
emulation measurements. This part also shows you how to use the emulation-bus
analyzer for debugging, use the Software Performance Measurement Tool supplied
with the emulator, and couple two or more emulators to coordinate measurements
involving more than one processor.
Part 3 shows you how to change the appearance or behavior of the Graphical User
Interface, and describes in detail each of the commands available in the
emulator/analyzer, and lists each of the messages you may see while using the
MC68360 emulator/analyzer, along with suggested corrective actions.
Part 4 of this book shows you how to install the Graphical User Interface and
Softkey Interface software, and how to update your emulator/analyzer firmware
with the progflash command, and display current firmware version information.
The Hewlett-Packard M68360 Emulator/Analyzer Installation/Service/Terminal
Interface User’s Guide shows you how to install the emulator hardware into the
card cage, install SRAM modules and covers on the emulation probe, and how to
connect the probe to the demo board and verify performance of the emulation
hardware. It also provides a thorough analysis of possible problems and their
solutions. It also lists the complete specifications and characteristics of the
M68360 emulator. It shows you how to connect the emulator into an MC68360
target system and overcome differences between the specifications and
characteristics of the target microprocessor and those of the emulator.
vi

Contents
Part 1 Quick Start Guide
1 Getting Started
The Emulator/Analyzer Interface — At a Glance 4
The Softkey Interface 4
Softkey Interface Conventions 5
The Graphical User Interface 6
Graphical User Interface Conventions 8
The Getting Started Tutorial 11
Step 1. Start the demo 12
Step 2: Display the program in memory 13
Step 3: Run from the transfer address 14
Step 4: Step high-level source lines 15
Step 5: Display the previous mnemonic display 16
Step 6: Run until an address 17
Step 7: Display data values 18
Step 8: Display registers 19
Step 9: Step assembly level instructions 20
Step 10: Trace the program 21
Step 11: Display memory at an address in a register 23
Step 12: Exit the emulator/analyzer interface 24
Solving Problems 24
vii

Part 2 Using The Emulator
2 Plugging into a Target System
Connecting the Emulator to the Target System 29
Step 1. Turn OFF power 30
Step 2. Connect the probe to the target system 31
Step 3. Turn ON power 32
Plugging into the Motorola QUADS Target System 33
To connect the emulator to the Motorola QUADS 34
3 Starting and Exiting HP 64700 Interfaces
Starting the Emulator/Analyzer Interface 41
To start the emulator/analyzer interface 41
To start the interface using the default configuration 42
To run a command file on interface startup 43
To display the status of emulators 43
To unlock an interface that was left locked by another user 44
Opening Other HP 64700 Interface Windows 45
To open additional emulator/analyzer windows 45
To open the high level debugger interface window 46
To open the software performance analyzer (SPA) interface window 46
Exiting HP 64700 Interfaces 47
To close an interface window 47
To exit a debug/emulation session 48
4 Entering Commands
Using Menus, the Entry Buffer, and Action Keys 51
To choose a pulldown menu item using the mouse (method 1) 52
To choose a pulldown menu item using the mouse (method 2) 53
To choose a pulldown menu item using the keyboard 53
To choose pop-up menu items 55
To place values into the entry buffer using the keyboard 56
Contents
viii

To copy-and-paste to the entry buffer 56
To recall entry buffer values 59
To use the entry buffer 59
To copy-and-paste from the entry buffer to the command line entry area 60
To use the action keys 61
To use dialog boxes 61
To access help information 65
Using the Command Line with the Mouse 66
To turn the command line on or off 66
To enter a command 67
To edit the command line using the command line pushbuttons 68
To edit the command line using the command line pop-up menu 69
To recall commands 70
To get help about the command line 70
Using the Command Line with the Keyboard 71
To enter multiple commands on one command line 71
To recall commands 72
To edit commands 72
To access on-line help information 73
Using Command Files 74
To start logging commands to a command file 77
To stop logging commands to a command file 77
To playback (execute) a command file 78
Using Pod Commands 79
To display the pod commands screen 80
To use pod commands 80
Forwarding Commands to Other HP 64700 Interfaces 81
To forward commands to the high level debugger 81
To forward commands to the software performance analyzer 82
Contents
ix

5 Configuring the Emulator
Using the Configuration Interface 85
To start the configuration interface 86
To modify a configuration section 88
To apply configuration changes to the emulator 90
If apply to emulator fails 91
To store configuration changes to a file 92
To change the configuration directory context 93
To display the configuration context 93
To access help topics 94
To access help for a configuration item in a dialog box 94
To exit the configuration interface 95
To load an existing configuration file 95
Verifying the Emulator Configuration 96
To display information about chip selects 96
To display information about bus interface ports 97
To display information about the memory map 97
To display information about the reset mode configuration 98
To review the upper address mode of the present configuration 98
To display information about the present clock input mode 99
To display assembly language instructions for setting up the SIM 99
To check for configuration inconsistencies 100
To verify the emulator configuration 101
6 Using the Emulator
Using the EMSIM Registers 105
To view the SIM register differences 107
To synchronize to the 68360 SIM registers 107
To synchronize to the EMSIM registers 108
To restore default values in the EMSIM registers 108
To assign an MBAR value for the M68360 register set 109
Loading and Storing Absolute Files 110
To load absolute files 110
To load absolute files without symbols 111
To store memory contents into absolute files 111
Contents
x

Using Symbols 112
To load symbols 112
To display global symbols 113
To display local symbols 114
To display a symbol’s parent symbol 118
To copy-and-paste a full symbol name to the entry buffer 119
Using Context Commands 120
To display the current directory and symbol context 121
To change the directory context 122
To change the current working symbol context 122
Executing User Programs 123
To run programs from the current PC 123
To run programs from an address 124
To run programs from the transfer address 124
To run programs from reset 124
To run programs from soft reset 125
To run programs until an address 125
To stop (break from) user program execution 126
To step high-level source lines 126
To step assembly-level instructions 127
To reset the emulation processor 128
Using Software Breakpoints 129
To display the breakpoints list 130
To enable/disable breakpoints 131
To set a permanent breakpoint 133
To set a temporary breakpoint 135
To set all breakpoints 135
To deactivate a breakpoint 136
To re-activate a breakpoint 136
To clear a breakpoint 138
To clear all breakpoints 140
Displaying and Modifying Registers 141
To display register contents 141
Obtaining mnemonic displays of the 68360 registers using the Action Keys 142
To modify register contents 144
To modify registers using the Action Keys 145
Contents
xi

Displaying and Modifying Memory 146
To display memory 146
To display memory in mnemonic format 147
To return to the previous mnemonic display 147
To display memory in hexadecimal format 148
To display memory at an address 149
To display memory repetitively 150
To modify memory 150
Displaying Data Values 151
To display data values 151
To clear the data values display and add a new item 152
To add items to the data values display 152
Changing the Interface Settings 153
To set the source/symbol modes 153
To set the display modes 154
Using System Commands 156
To set UNIX environment variables 156
To display the name of the emulation module 157
To display the event log 157
To display the error log 158
To edit files 158
To copy information to a file or printer 162
To save peripheral register settings to a file 164
To load peripheral register settings from a file 164
To remove all temporary files 165
To generate boot code for configuring the SIM60 unit 165
To open a terminal emulation window 165
Using emulator support for the M68360 Companion Mode 166
Tasks you may wish to perform when using the M68360 companion Mode 167
For more information 169
Using Simulated I/O 170
To display the simulated I/O screen 170
To use simulated I/O keyboard input 171
Contents
xii

Using Basis Branch Analysis 172
To store BBA data to a file 172
7 Using the Emulation-Bus Analyzer
Power of the Emulation-Bus Analyzer 174
Making Simple Trace Measurements 175
To start a trace measurement 176
To stop a trace measurement 177
To display the trace list 177
To display the trace status 179
To change the trace depth 180
To modify the last trace command entered 181
To define a simple trigger qualifier 182
To specify a trigger and set the trigger position 183
To define a simple storage qualifier 184
If you are having problems tracing 185
Displaying the Trace List 186
To disassemble the trace list 189
To specify trace disassembly options 190
To specify trace dequeueing options 192
To display the trace without disassembly 194
To display symbols in the trace list 195
To display source lines in the trace list 197
To change the column width 198
To select the type of count information in the trace list 199
To offset addresses in the trace list 201
To reset the trace display defaults 202
To move through the trace list 202
To display the trace list around a specific line number 203
To change the number of states available for display 204
To display program memory associated with a trace list line 205
To open an edit window into the source file associated with a trace list line 205
Contents
xiii

Making Complex Trace Measurements 206
To use address, data, and status values in trace expressions 210
To enter a range in a trace expression 211
To use the sequencer 212
To specify a restart term 213
To specify trace windowing 214
To specify both sequencing and windowing 215
To count states or time 216
To define a storage qualifier 217
To define a prestore qualifier 218
To trace activity leading up to a program halt 219
To modify the trace specification 220
To repeat the previous trace command 221
To capture a continuous stream of program execution no matter how large your
program 222
Saving and Restoring Trace Data and Specifications 225
To store a trace specification 225
To store trace data 226
To load a trace specification 227
To load trace data 228
8 Making Software Performance Measurements
Activity Performance Measurements 231
To set up the trace command for activity measurements 233
To initialize activity performance measurements 234
To interpret activity measurement reports 238
Duration Performance Measurements 246
To set up the trace command for duration measurements 247
To initialize duration performance measurements 249
To interpret duration measurement reports 251
Running Measurements and Creating Reports 255
To run performance measurements 255
To end performance measurements 256
To create a performance measurement report 257
Contents
xiv

9 Making Coordinated Measurements
Setting Up for Coordinated Measurements 263
To connect the Coordinated Measurement Bus (CMB) 263
To connect to the rear panel BNC 265
Starting/Stopping Multiple Emulators 267
To enable synchronous measurements 267
To start synchronous measurements 268
To disable synchronous measurements 268
Using Trigger Signals 269
To drive the emulation analyzer trigger signal to the CMB 272
To drive the emulation analyzer trigger signal to the BNC connector 272
To break emulator execution on signal from CMB 273
To break emulator execution on signal from BNC 273
To arm the emulation analyzer on signal from CMB 274
To arm the emulation analyzer on signal from BNC 274
Contents
xv

Part 3 Reference
10 Setting X Resources
To modify Graphical User Interface resources 280
To use customized scheme files 284
To set up custom action keys 286
To set initial recall buffer values 287
To set up demos or tutorials 289
11 Emulator/Analyzer Interface Commands
How Pulldown Menus Map to the Command Line 294
How Pop-up Menus Map to the Command Line 299
Syntax Conventions 301
Commands 302
break 303
bbaunld 304
cmb_execute 305
copy 306
copy local_symbols_in 309
copy memory 310
copy registers 312
copy trace 313
display 314
display configuration_info 316
display data 319
display global_symbols 322
display local_symbols_in 323
display memory 324
display registers 328
display simulated_io 329
display software_breakpoints 330
display trace 331
end 335
--EXPR-- 336
FCODE 339
forward 341
help 342
load 344
Contents
xvi

log_commands 346
modify 347
modify configuration 348
modify keyboard_to_simio 349
modify memory 350
modify register 353
modify software_breakpoints 354
performance_measurement_end 356
performance_measurement_initialize 357
performance_measurement_run 359
pod_command 360
QUALIFIER 362
RANGE 364
reset 366
run 367
SEQUENCING 369
set 371
specify 376
STATE 378
step 380
stop_trace 382
store 383
--SYMB-- 385
sync_sim_registers 392
trace 393
TRIGGER 396
wait 398
WINDOW 400
12 Emulator Error Messages
Emulator error messages 404
Contents
xvii

Part 4 Concept Guide
13 Concepts of the EMSIM and EMRAM
Concepts of the EMSIM and EMRAM 445
Concepts of the EMRAM 447
Concepts of Show Cycles 447
EMSIM/EMRAM Utility Command 448
Contents
xviii

Part 5 Installation and Service Guide
14 Installation
Connecting the HP 64700 to a Computer or LAN 456
Installing HP 9000 Software 457
Step 1. Install the software from the media 457
Step 2. Verify the software installation 459
Step 3a. Start the X server and the Motif Window Manager (mwm) 460
Step 3b. Start HP VUE 460
Step 4. Set the necessary environment variables 461
Installing Sun SPARCsystem Software 463
Step 1. Install the software from the media 463
Step 2. Start the X server and OpenWindows 464
Step 3. Set the necessary environment variables 464
Step 4. Verify the software installation 466
Step 5. Map your function keys 467
Verifying the Installation 468
Step 1. Determine the logical name of your emulator 468
Step 2. Start the interface with the emul700 command 469
Step 3. Exit the Graphical User Interface 472
15 Installing/Updating Emulator Firmware
To update emulator firmware with "progflash" 475
To display current firmware version information 478
If there is a power failure during a firmware update 479
Glossary
Index
Contents
xix

xx
This manual suits for next models
2
Table of contents
Other HP Measuring Instrument manuals
Popular Measuring Instrument manuals by other brands

Endress+Hauser
Endress+Hauser RIA46 Brief operating instructions

Delmhorst
Delmhorst P-2000 owner's manual

Keysight Technologies
Keysight Technologies U4301 user guide

Agilent Technologies
Agilent Technologies 16902A Service guide

Beko
Beko METPOINT OCV Instructions for installation and operation

VOLTCRAFT
VOLTCRAFT MF-90 operating instructions

ADTEK
ADTEK CS2-SG manual

Gigahertz Solutions
Gigahertz Solutions ME 3030B manual

Bitzer
Bitzer KT-170-4 technical information

PCB Piezotronics
PCB Piezotronics IMI SENSORS 602D02 Installation and operating manual

Start italiana
Start italiana XMT-SI-485 installation manual

Tektronix
Tektronix RSA5103 Service manual