AutoFocus User’s Guide
48
©1989-2018 Lauterbach GmbH
To check the ETM trace signals - ETMv3.x:
1.
Run the command
Trace.List TP
to display the captured trace data in a
Trace.List
window:
2.
Enable the
AutoInit
mode (
Analyzer.AutoInit ON
), and then do one single step to get a trace
capture. The
Trace.List
window will look similar to this:
When looking for sources of error (e.g. pin swapping in your trace port pinout or timing issues), you
may want to disassemble the captured data manually. This requires some knowledge of the trace
protocol (for more information refer to the ETM architecture specification).
Below please find an example on how to reconstruct the execution address from the traced data
without knowing too much about the trace protocol:
ETMv3 signal
Description
TCTL
Trace control signal defines valid TP packets. The signal is low
active. Invalid states will cause Harderrors and Flowerrors.
TP
Trace packet signals hold information about data, address and
program counter. Invalid values will cause Flowerrors.
Gaps indicate that there is no
valid trace data.
(TCTL signal = 1)
Example: 8bit ETMv3.x port