
Step 10: Trace the program
When the analyzer traces program execution, it looks at the data on the
emulation processor’s bus and control signals at each clock cycle. The
information seen at a particular clock cycle is called a state.
When one of these states matches the "trigger state" you specify, the analyzer
stores states in trace memory. When trace memory is filled, the trace is said
to be "complete."
1
Click on the
Recall
button to the right of the entry buffer.
A selection dialog box appears. You can select from entry buffer values that
have been entered previously or that have been predefined.
2
Click on "main" in the selection dialog box, and click the "OK"
pushbutton.
Notice that the value "main" has been returned to the entry buffer.
3
To trigger on the address "main" and store states that occur after the
trigger, choose
Trace
→
After ()
.
Or, using the command line, enter:
trace after main
Notice the message "Emulation trace started" appears on the status line.
This shows that the analyzer has begun to look for the trigger state which is
the address "main" on the processor’s address bus.
4
Run the emulator demo program from its transfer address by
choosing
Execution
→
Run
→
from Transfer Address
.
Or, using the command line, enter:
run from transfer_address
Notice that now the message on the status line is "Emulation trace complete".
This shows the trigger state has been found and the analyzer trace memory
has been filled.
Getting Started
Step 10: Trace the program
41
Содержание 64782
Страница 2: ...User s Guide for the Graphical User Interface HP 64782 MC6833x Emulation Analysis ...
Страница 22: ...Part 1 Quick Start Guide 21 ...
Страница 23: ...A one glance overview of the product and a few task instructions to help you get comfortable Part 1 22 ...
Страница 24: ...1 Getting Started 23 ...
Страница 50: ...Part 2 User s Guide 49 ...
Страница 51: ...A complete set of task instructions and problem solving guidelines with a few basic concepts Part 2 50 ...
Страница 52: ...2 Plugging into a Target System 51 ...
Страница 54: ...3 Starting and Exiting HP 64700 Interfaces 53 ...
Страница 64: ...4 Entering Commands 63 ...
Страница 94: ...5 Configuring the Emulator 93 ...
Страница 133: ...132 ...
Страница 134: ...6 Using the Emulator 133 ...
Страница 194: ...7 Using the Emulation Analyzer 193 ...
Страница 255: ...254 ...
Страница 256: ...8 Making Software Performance Measurements 255 ...
Страница 290: ...9 Using the External State Analyzer 289 ...
Страница 303: ...302 ...
Страница 304: ...10 Making Coordinated Measurements 303 ...
Страница 321: ...320 ...
Страница 322: ...11 Setting X Resources 321 ...
Страница 336: ...Part 3 Reference 335 ...
Страница 337: ...Descriptions of the product in a dictionary or encyclopedia format Part 3 336 ...
Страница 338: ...12 Emulator Analyzer Interface Commands 337 ...
Страница 415: ...set Emulator Analyzer Interface Commands set 414 ...
Страница 429: ... SYMB Emulator Analyzer Interface Commands SYMB 428 ...
Страница 445: ...444 ...
Страница 446: ...13 Error Messages 445 ...
Страница 489: ...488 ...
Страница 490: ...Part 4 Concept Guide 489 ...
Страница 491: ...Topics that explain concepts and apply them to advanced tasks Part 4 490 ...
Страница 492: ...14 Concepts 491 ...
Страница 507: ...506 ...
Страница 508: ...Part 5 Installation Guide 507 ...
Страница 509: ...Instructions for installing and configuring the product Part 5 508 ...
Страница 510: ...15 Installation 509 ...
Страница 527: ...526 ...
Страница 528: ...16 Installing Updating Emulator Firmware 527 ...
Страница 535: ...534 ...
Страница 539: ...538 ...
Страница 549: ...548 ...