To capture a continuous stream of program
execution no matter how large your program
The following example can be performed in emulation systems using the deep
analyzer (it cannot be done with the 1K analyzer). It shows you how to capture all
of the execution of your target program. You may wish to capture target program
execution for storage, for future reference, and/or for comparison with execution
after making program modifications. The execution of a typical target program will
require more memory space than is available in the trace memory of an analyzer.
This example shows you how to capture all of your target program execution while
excluding unwanted execution of the emulation monitor.
1 Choose Trace
→
Display Options ..., and in the dialog box, enter 0 or the total
depth of your deep analyzer trace memory in the entry field beside Unload Depth.
Then click OK or Apply. This sets unload depth to maximum.
2 For this measurement, the analyzer will drive trig1 and the emulator will receive
trig1 from the trigger bus inside the card cage. The trig1 signal is used to cause the
emulator to break to its monitor program shortly before the trace memory is filled.
This use of trig1 is not supported in workstation interface commands. Therefore,
terminal interface commands (accessible through the pod command feature) must
be used. Enter the following commands:
Settings
→
Pod Command Keyboard
tgout trig1 -c <states before end of memory> (trigger output trig1 before trace
complete)
bc -e trig1 (break conditions enabled on trig1)
Click the suspend softkey
Note that "tgout trig1 -c <states...>" means generate trig1 as an output when the
state that is <states...> before the end of the trace memory is captured in the trace
memory; "bc -e trig1" means enable the emulator to break to its monitor program
when it receives trig1.
Select a value for <states before end of memory> that allows enough time and/or
memory space for the emulator to break to its monitor program before the trace
memory is filled. Otherwise, some of your program execution will not be captured
in the trace. Many states may be executed before the emulation break occurs,
depending on the state of the processor when the trig1 signal arrives. Also, if your
program executes critical routines in which interrupts are masked, the occurrence of
Chapter 5: Using the Emulation-Bus Analyzer
Making Complex Trace Measurements
250
Содержание 64783A
Страница 1: ...User s Guide for the Graphical User Interface MC68040 EC040 LC040 Emulator Analyzer HP 64783A B ...
Страница 30: ...xxx ...
Страница 31: ...Part 1 Quick Start Guide 1 ...
Страница 33: ...1 Getting Started 3 ...
Страница 70: ...40 ...
Страница 71: ...2 Solving Quick Start Problems Solutions to problems you might face during the Getting Started procedures 41 ...
Страница 75: ...Part 2 Using The Emulator 45 ...
Страница 140: ...110 ...
Страница 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Страница 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Страница 290: ...260 ...
Страница 311: ...7 Making Software Performance Measurements How to make software performance measurements on your programs 281 ...
Страница 331: ...8 Configuring the Emulator 301 ...
Страница 382: ...352 ...
Страница 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Страница 397: ...Part 3 Reference 367 ...
Страница 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Страница 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Страница 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Страница 451: ...display Chapter 11 Emulator Commands display 421 ...
Страница 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Страница 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Страница 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Страница 470: ...Examples end end locked end release_system See Also emul700 emulator_name help end Chapter 11 Emulator Commands end 440 ...
Страница 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Страница 501: ...set Chapter 11 Emulator Commands set 471 ...
Страница 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Страница 582: ...552 ...
Страница 583: ...13 Setting X Resources 553 ...
Страница 598: ...568 ...
Страница 606: ...576 ...
Страница 607: ...15 Microtec Language Tools Used With MC68040 Emulators Using the emulator analyzer with Microtec language tools 577 ...
Страница 613: ...16 Specifications and Characteristics 583 ...
Страница 627: ...Part 4 Concept Guide 597 ...
Страница 629: ...17 X Resources and the Graphical User Interface 599 ...
Страница 639: ...Part 5 Installation and Service Guide 609 ...
Страница 645: ...Chapter 18 Connecting the Emulator to a Target System Plugging The Emulator Into A Target System 615 ...
Страница 697: ...19 Installation and Service 667 ...
Страница 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Страница 755: ...20 Installing Updating Emulator Firmware 725 ...
Страница 762: ...732 ...
Страница 778: ...748 ...
Страница 810: ...X server 554 604 X Window System 54 Index 780 ...