HP 64782 User Manual page 221

For the graphical user interface
Hide thumbs Also See for 64782:
Table of Contents

Advertisement

Using the Emulation Analyzer
To capture a continuous stream of program execution no matter how large your
program
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.
For this measurement, the analyzer will drive trig1 and the emulator
2
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:
a. Choose Settings→Pod Command Keyboard.
b. Enter tgout trig1 -c <states before end of memory>
(trigger output trig1 before trace complete).
c. Enter bc -e trig1 (break conditions enabled on trig1).
d. 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 trig1 may be ignored until the
critical routine is completed (when using a foreground monitor).
If you are using a foreground monitor, enter the following additional
3
pod commands to prevent the trace memory from capturing monitor
execution. The following example commands will obtain this result
in some emulators:
a. Choose Settings→Pod Command Keyboard.
b. Enter trng addr=<address range occupied by your monitor>
(trigger on range address = <address range>)
where <address range> is expressed as <first addr>..<last addr>.
c. Enter tsto !r (trace store not range).
d. Click the suspend softkey.
220

Advertisement

Table of Contents
loading

Table of Contents