HP MC68360 User Manual page 244

Emulator / analyzer graphical user interface
Table of Contents

Advertisement

Chapter 7: Using the Emulation-Bus Analyzer
Making Complex Trace Measurements
Note that when you set a delay specification using tgout -c or tgout -t (trigger
output delay before trace complete/after trigger), the trace will indicate complete as
soon as the analyzer has captured the state specified, even though the entire trace
memory has not been filled.
If the notation "trig1 break" remains on the status line without being replaced by
"Emulation trace complete", it indicates the trace memory is not completely filled,
and no more states are being captured.
7 Store the entire trace memory content in a file with a command like:
wait measurement_complete ; copy trace to <directory/filename>
The "wait" command is inserted ahead of the "copy" command to ensure that the
unload of trace data is complete before you try to store it. Without "wait", you will
get an ERROR message warning that the unload is still in process. The
<filename> is an ASCII filename for a binary file that can be viewed using the
load trace command.
8 Start a new trace with the command: trace again
9 Resume the program run from the point where it was interrupted when the emulator
broke to the monitor with the command: run
10 Wait until the notation "trig1 break" and/or "Emulation trace complete" appears on
the status line. Then store the new trace memory content in a new file with
commands like:
stop_trace
wait measurement_complete ; copy trace to <directory/filename+1>
Note that "filename+1" in the above command suggests use of consecutive
filenames to store your execution files, such as FILENAME1, FILENAME2, etc.
Repeat steps 8 through 10 above until all program execution has been captured.
Your destination directory will have a set of files that, taken together, contain all of
your program execution. Note that if you did not prevent capture of foreground
monitor cycles in step 3 above, the last few trace lines in each file may contain
monitor cycles.
224

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68en36064780a

Table of Contents