Step 10: Trace The Program - HP MC68360 User Manual

Emulator / analyzer graphical user interface
Table of Contents

Advertisement

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 <RETURN>
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 <RETURN>
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.
Chapter 1: Getting Started
Step 10: Trace the program
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68en36064780a

Table of Contents