Sign In
Upload
Manuals
Brands
HP Manuals
Measuring Instruments
MC68040
HP MC68040 Manuals
Manuals and User Guides for HP MC68040. We have
1
HP MC68040 manual available for free PDF download: User Manual
HP MC68040 User Manual (816 pages)
Emulator, Graphical User Interface
Brand:
HP
| Category:
Measuring Instruments
| Size: 6.54 MB
Table of Contents
Table of Contents
9
Part 1 Quick Start Guide
31
In this Part
32
1 Getting Started
33
The Emulator/Analyzer Interface - at a Glance
34
The Softkey Interface
34
Softkey Interface Conventions
35
The Graphical User Interface
36
Graphical User Interface Conventions
38
The Getting Started Tutorial
41
Step 1: Start the Demo
42
Step 2: Display the Program in Memory
44
Step 3: Run from the Transfer Address
45
Step 4: Step High-Level Source Lines
46
Step 5: Display the Previous Mnemonic Display
47
Step 6: Run until an Address
48
Step 7: Display Data Values
49
Step 8: Display Registers
50
Step 9: Step Assembly-Level Instructions
51
Step 10: Trace the Program
52
Step 11: Display Memory at an Address in a Register
54
Step 12: Patch Assembly Language Code
55
The MMU Demonstration
58
Step 13: Obtain the Normal Interface and MMU Demo
59
Step 14: See the Setup of the MMU
61
Step 15: Look at the Translation Table Details for a Single Logical Address
62
Step 16: Look at Details of MMU Table C
63
Step 17: Output Characters on the Seven-Segment Display
64
Step 18: Take a Trace of Emulation Activity
65
Step 20: Take a New Trace
67
Step 21: Inverse Assemble the Trace List
68
Step 22: Reset the Emulator
69
2 Solving Quick Start Problems
71
If the Desired Emulator Interface Won't Start
72
If the Text-Based Softkey Interface Won't Start under X-Windows
72
If You Can't Load the Demo Program
73
If You Can't Display the Program
74
Part 2 Using the Emulator
75
Making Measurements
76
3 Using the Emulator/Analyzer Interface
77
Activities that Occur in the Windows
79
Maximum Number of Windows
79
Using Multiple Terminals
81
Starting the Emulator/Analyzer Interface
82
To See Emulator/Analyzer Availability before Interface Startup
82
To Start the Emulator/Analyzer Interface
83
To Start the Interface Using the Default Configuration
84
To Execute a Command File at Interface Startup
85
To Unlock an Interface that was Left Locked by Another User
86
Opening Other HP 64700 Interface Windows
87
To Open Additional Emulator/Analyzer Windows
87
To Open the High-Level Debugger Interface Window
88
To Open the Software Performance Analyzer (SPA) Interface Window
88
Entering Commands
89
To Turn the Command Line on or off in the Graphical User Interface
89
To Enter Commands on the Command Line
90
To Edit the Command Line Using the Command Line Pushbuttons on the Graphical User Interface
91
To Edit the Command Line Using the Command Line Popup Menu
92
To Edit the Command Line Using the Keyboard
93
To Recall Commands
93
To Execute a Completed Command
94
To Get Online Help on Commands
95
To Display the Error Log
96
To Display the Event Log
96
To Choose a Pulldown Menu Item Using the Mouse (Method 1)
97
Using Special Features of the Graphical User Interface
97
To Choose a Pulldown Menu Item Using the Mouse (Method 2)
98
To Choose a Pulldown Menu Item Using the Keyboard
99
To Choose Popup Menu Items
100
To Copy-And-Paste to the Entry Buffer
101
To Place Values into the Entry Buffer Using the Keyboard
101
To Recall Entry Buffer Values
104
To Use the Entry Buffer
104
To Copy-And-Paste from the Entry Buffer to the Command Line Entry Area
105
To Use Dialog Boxes
106
To Use the Action Keys
106
Using Display-Control Features of the Softkey Interface
110
Copying Information to a File or Printer
111
Exiting the Emulator/Analyzer Interface
113
To End a Single Window in the Interface
113
To End the Emulation Session in All Windows
114
Creating and Executing Command Files
115
Passing Parameters to Command Files
115
Using &Arg_Left in Command Files
116
Using Shell Variables with Command Files
116
Using UNIX Commands and Scripts with Command Files
116
Nesting Command Files
117
Pausing Command Files
117
Restrictions on Commands
117
Status Line Updates
117
Continuing Command File Lines
118
Placing Comments in Command Files
118
Specifying a Search of Several Command File Directories
118
To Create a Command File by Logging Commands
118
To Create a Command File by Using a Text Editor
120
To Execute (or Playback) a Command File
121
To Nest Command Files
122
To Pause Command File Execution
123
To Add a Comment to a Command File
124
To Pass Parameters to a Command File
125
To Increase Flexibility of Command Files by Using &Arg_Left
127
To Specify the Order of Searching Several Command File Directories (HP64KPATH)
128
Forwarding Commands to Other HP 64700 Interfaces
130
To Forward Commands to the High-Level Debugger
130
To Forward Commands to the Software Performance Analyzer
131
Accessing the Terminal Interface
132
To Copy the Terminal Interface Screen Contents to a File
133
To Display the Terminal Interface Screen
133
To Enter Terminal Interface Commands
134
To Get Help on Terminal Interface Commands
136
Accessing the Operating System
137
To Set Environment Variables
137
To Enter UNIX Commands
138
To Display the Name of the Emulation Module
139
4 Using the Emulator
141
The Emulator and Its Applications
142
The Demo Application
143
To Build Programs
143
To Configure the Emulator
145
Loading and Storing Programs
146
To Load a Program
146
To Load the Demo Program
148
To Store a Program
149
To Edit Files
150
Using Symbols
153
To Load a Symbol Database
154
To Display Global Symbols
155
To Display Local Symbols
156
To Display the Parent Symbol of a Symbol
158
To Copy and Paste a Full Symbol Name to the Entry Buffer
159
To Enter a Symbol
160
To Display the Current Directory and Current Working Symbol
161
To Change the Current Working Symbol Context
162
To Change the Directory Context
162
Accessing Processor Memory Resources
164
To Display Program Data Structures
164
To Display Only Source Lines
166
To Display Intermixed Source Lines
167
To Display Symbols Without Source Lines
168
To Display Absolute Addresses
169
To Display Memory in Byte Format
170
To Display Memory in Word Format
171
To Display Memory in Long Word Format
172
To Display Memory in Mnemonic Format
173
To Return to the Previous Mnemonic Display
174
To Display Memory in Real Number Form
175
To Display Memory Repetitively
176
To Redisplay Memory Locations
176
To Modify Memory
177
To Run a Program
180
Using Processor Run Controls
180
To Run Programs from Reset
182
To Run Programs from the Transfer Address
182
To Run Programs until a Selected Address Occurs
183
To Break to the Monitor
184
To Step the Processor
185
To Reset the Processor
188
To Display Registers
189
Viewing and Modifying Registers
189
To Modify Registers
191
Setting Execution Breakpoints in RAM
193
Using Execution Breakpoints
193
Execution Breakpoints in ROM When the MMU Manages Memory
194
Setting Execution Breakpoints in ROM
194
Using Temporary and Permanent Breakpoints
195
To Disable an Execution Breakpoint
196
To Enable Execution Breakpoints
196
To Set a Permanent Breakpoint
197
To Set a Temporary Breakpoint
198
To Set a ROM Breakpoint in RAM
199
To Clear an Execution Breakpoint
200
To Clear All Execution Breakpoints
202
To Display the Status of All Execution Breakpoints
202
Changing the Interface Settings
204
To Set the Source/Symbol Modes
204
To Set the Display Modes
205
Auto Update
206
Field Widths
206
Source/Symbols View
206
To Install the Emulation Probe
207
Using the Emulator In-Circuit
207
To Power-On the Emulator and Your Target System
209
To Probe Target System Sockets
209
To Enable the Processor Memory Management Unit
210
Using the Emulator with MMU Enabled
210
To View the Present Logical-To-Physical Mappings
211
To See Translation Details for a Single Logical Address
213
To See Details of a Translation Table Used to Map a Selected Logical Address
215
Using an FPU with an MC68EC040 or MC68LC040 Target System
217
Using M68040 Support for the M68360 Companion Mode
218
To Set up Custom M68040 Action Keys to Support the M68360 Companion Mode
219
Tasks You May Wish to Perform When Using the M68040/M68360 Companion Mode
224
For more Information
226
5 Using the Emulation-Bus Analyzer
227
Power of the Emulation-Bus Analyzer
228
Making Simple Trace Measurements
229
To Start a Trace Measurement
230
To Display the Trace List
231
To Stop a Trace Measurement
231
To Display the Trace Status
233
To Change the Trace Depth
234
To Modify the Last Trace Command Entered
235
To Define a Simple Trigger Qualifier
236
To Specify a Trigger and Set the Trigger Position
237
To Define a Simple Storage Qualifier
238
Displaying the Trace List
239
To Disassemble the Trace List
242
To Specify Trace Disassembly Options
243
To Specify Trace Dequeueing Options
245
To Display the Trace Without Disassembly
247
To Display Symbols in the Trace List
248
To Display Source Lines in the Trace List
250
To Change the Column Width
251
To Select the Type of Count Information in the Trace List
252
To Offset Addresses in the Trace List
254
To Move through the Trace List
255
To Reset the Trace Display Defaults
255
To Display the Trace List Around a Specific Line Number
256
To Change the Number of States Available for Display
257
To Display Program Memory Associated with a Trace List Line
258
To Open an Edit Window into the Source File Associated with a Trace List Line
258
Analyzing Program Execution When the MMU Is Enabled
259
To Program the Demmuer in a Static Memory System
259
To Load the Demmuer from a Demmuer Setup File
261
To Store a Demmuer Setup File
261
To Trace Program Execution in Physical Address Space
262
Making Complex Trace Measurements
263
To Use Address, Data, and Status Values in Trace Expressions
268
To Enter a Range in a Trace Expression
269
To Use the Sequencer
270
To Specify a Restart Term
271
To Specify Trace Windowing
272
To Specify both Sequencing and Windowing
273
To Count States or Time
274
To Define a Storage Qualifier
275
To Define a Prestore Qualifier
276
To Trace Activity Leading up to a Program Halt
277
To Modify the Trace Specification
278
To Repeat the Previous Trace Command
279
To Capture a Continuous Stream of Program Execution no Matter How Large Your Program
280
Saving and Restoring Trace Data and Specifications
284
To Store a Trace Specification
284
To Store Trace Data
285
To Load a Trace Specification
286
To Load Trace Data
287
Saving and Restoring Demmuer Setup Files
288
To Load a Demmuer Setup File
288
To Store a Demmuer Setup File
288
To Store BBA Data to a File
289
6 Making Coordinated Measurements
291
Using Basis Branch Analysis
289
The Elements of Coordinated Measurements
292
Comparison between CMB and BNC Triggers
294
Setting up for Coordinated Measurements
295
To Connect the Coordinated Measurement Bus (CMB)
295
To Connect to the Rear Panel BNC
297
Starting/Stopping Multiple Emulators
299
To Enable Synchronous Measurements
299
To Disable Synchronous Measurements
300
To Start Synchronous Measurements
300
Using Trigger Signals
301
To Drive the Emulation-Bus Analyzer Trigger Signal to the CMB
303
To Drive the Emulation-Bus Analyzer Trigger Signal to the BNC Connector
304
To Break Emulator Execution on Signal from CMB
305
To Break Emulator Execution on Signal from BNC
306
To Arm the Emulation-Bus Analyzer on Signal from BNC
307
To Arm the Emulation-Bus Analyzer on Signal from CMB
307
Making Example Measurements
308
To Start a Simultaneous Program Run on Two Emulators
308
To Trigger One Emulation-Bus Analyzer with Another
309
To Break to the Monitor on an Analyzer Trigger Signal
310
7 Making Software Performance Measurements
311
Using the Software Performance Measurement Tool
312
Use the Software Performance Analyzer (SPA) for more Capability
312
Understanding Activity Measurements
313
Understanding Duration Measurements
316
To Use the Software Performance Measurement Tool
317
Step 1. Set up the Trace Command
318
Step 2. Initialize the Performance Measurement
319
Step 3. Run the Performance Measurement
323
Step 4. End the Performance Measurement
324
Step 5. Generate the Performance Measurement Report
325
8 Configuring the Emulator
331
Using the Configuration Interface
333
To Start the Configuration Interface
334
To Modify a Configuration Section
336
To Apply Configuration Changes to the Emulator
338
To Store Configuration Changes to a File
338
To Change the Configuration Directory Context
339
To Display the Configuration Context
340
To Access Help Topics
340
To Access Context Sensitive (F1) Help
341
To Exit the Configuration Interface
341
To Load a Configuration
342
Modifying the Monitor Setup
343
To Select the Monitor Type
344
To Select the Monitor Filename
345
To Select the Monitor Address
346
To Select the Monitor Interrupt Priority Level
347
To Select Whether or Not the Emulator will Terminate Monitor Bus Cycles
348
To Select if There will be a Keep-Alive Function, Its Address, and Function Code
349
Mapping Memory
350
To Add Memory Map Entries
352
To Modify Memory Map Entries
355
To Delete Memory Map Entries
357
To Characterize Unmapped Ranges
357
To Map Memory Ranges in Which Data Is Not Loaded into the Caches
358
To Map Memory in Which the Emulator will Terminate Bus Cycles
358
To Map Memory to be Stored Within the Dual-Port Memory
359
Configuring the Emulator General Items Screen
360
To Enable/Disable Target System Interrupts
361
To Enable/Disable the Instruction and Data Caches
362
To Enable/Disable the Memory Management Unit (MMU)
363
To Restrict the Emulator to Real-Time Runs
365
To Enable/Disable Breaks on Writes to ROM
366
To Specify the Memory Access Size
367
To Specify the Initial Value of the Stack Pointer
368
To Specify the Initial Value of the Program Counter
369
Setting the Trace Options
370
To Identify the Data Rate of Your Emulation System for the 1K Analyzer
371
To Include/Exclude Background Monitor Execution in the Trace
371
Modifying the Simulated IO Configuration Items
373
Modifying the Interactive Measurement Specification Configuration Items
374
To Select Whether the Card Cage Rear Panel BNC Is Connected to the Trig1 or Trig2 or both Signals
375
To Select Whether the Coordinated Measurement Bus Is Connected to the Trig1 or Trig2 or both Signals
376
To Select Whether the Emulator will Allow a Signal on Trig2 to Initiate a Break from Target Program Execution
377
To Select Whether or Not the Emulation-Bus Analyzer will Operate With, or Ignore, the Trig2 Line of the Coordinated Measurement Bus
378
Providing MMU Address Translation for the Foreground Monitor
379
Locating the Foreground Monitor Using the MMU Address Translation Tables
381
9 Solving Problems
383
If the Emulator Appears to be Malfunctioning
384
If the Analyzer Fails to Trigger on a Program Address
385
If the Trace Listing Opcode Column Contains Only the Words "Dma Long Write (Retry)" Repeatedly
385
If the Analyzer Triggers on a Program Address When It Should Not
386
If Trace Disassembly Appears to be Partially Incorrect
386
If There Are Unexplained States in the Trace List
387
If the Analyzer Won't Trigger
388
If You See Negative Time or Negative States in the Trace List
388
If the Emulator Won't Work in a Target System
389
If You See Multiple Guarded Memory Accesses
389
If You Suspect that the Emulator Is Broken
390
If Emulation Memory Behavior Is Erratic
391
If You Have Trouble Mapping Memory
391
If You're Having Problems with DMA
392
If You're Having Problems with Emulation Reset
392
If the Demmuer Runs out of Resources During the Loading Process
393
If Verbose Mode Shows Less than Eight Mappings but the Demmuer Is "Out of Resources
394
If You Only See Physical Memory Addresses in the Analyzer Measurement Results
394
If the Demmuer Is Loaded but You Still Get Physical Addresses for some of Your Address Space
395
If the Target System Exhibits Unexpected Behavior after Executing a Breakpoint
396
If You Can't Break into the Monitor after You Enable the MMU
396
Part 3 Reference
397
In this Part
398
10 Using Memory Management
399
Logical Vs Physical
400
Terms and Conditions You Need to Understand
400
Understanding Emulation and Analysis of the Memory Management Unit
400
Non-Paged Dynamic System Example
401
Static and Dynamic System Architectures
401
Static System Example
401
What Are Logical Addresses
401
What Are Physical Addresses
401
Paged Dynamic System Example
402
Where Is the MMU
403
Hardware Enable
404
How the MMU Is Enabled
404
Using Supervisor and User Privilege Modes
404
Restrictions When Using the Emulator with the MMU Turned on
405
Software Enable
405
How the MMU Affects the Way You Compose Your Emulation Commands
406
How the Emulator Helps You See the Details of the MMU Mappings
407
Seeing Details of the MMU Translations
407
Supervisor/User Address Mappings
409
Address Mapping Details
410
Translation Details for a Single Logical Address
410
Status Information
411
How Does the Demmuer Serve the Analyzer
413
Using the Demmuer
413
What Part of the Emulator Needs a Demmuer
413
What Would Happen if the Analyzer Didn't Get Help from the Demmuer
413
Demmuer Options
414
Reverse Translations Are Made in Real Time
414
What the Emulator Does When It Loads the Demmuer
415
Expect Strange Addresses if You Analyze Physical Memory with Multiple Logical Mappings
416
Keep the Demmuer up to Date
416
Restrictions When Using the Demmuer
416
The Analyzer Must be off
416
The Target Program Is Interrupted While the Demmuer Is Being Loaded
416
Resource Limitations
418
Example to Show Resource Limitations
419
The Emulation Memory Map Can Help
419
Dividing the Demmuer Table between User and Supervisor Address Space
421
Solving Problems
422
Failure Caused by Access to Guarded Memory
423
Use the Analyzer with the Demmuer to Find MMU Mapping Problems
423
Failure Due to System Halt
424
A "Can't Break into Monitor" Example
425
Execution Breakpoint Problems
425
11 Emulator Commands
429
How Pulldown Menus Map to the Command Line
431
Emulator Configuration: Memory Map
435
How Popup Menus Map to the Command Line
436
Syntax Conventions
438
Oval-Shaped Symbols
438
Rectangular-Shaped Symbols
438
Circles
439
The -NORMAL- Key
439
Summary of Commands
440
Break
441
Copy
443
Count
449
Display
451
Display Memory
457
Display Mmu
461
Display Trace
464
End
469
Expr
471
Fcode
474
Help
475
Load
476
Log_Commands
479
Modify
480
Performance_Measurement_Initialize
488
Performance_Measurement_Run
490
Pod_Command
491
Qualifier
493
Reset
496
Run
497
Sequencing
499
Set
501
Specify
507
Step
509
Store
512
Symb
514
Trace
522
Trigger
526
Unix_Command
528
Wait
529
Window
531
12 Emulator Error Messages
534
Emulator Error Messages
534
Advertisement
Advertisement
Related Products
HP MC68360
HP MC68EN360
HP MCS-200
HP McDATA
HP Integrity MC990 X
HP MCS 5042
HP MCS G2
HP MC966LL/A
HP McDATA 4Gb SAN Switch
HP MCS
HP Categories
Desktop
Laptop
Server
Monitor
Switch
More HP Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL