Download MCDS User`s Guide

Transcript
Trace Control
TRACE32 provides two different methods for controlling the MCDS trace:
•
The Analyzer commands are used to control the off-chip trace [A].
•
The Onchip commands are used to control the on-chip trace [B].
A
B
MCDS allows only one of these trace methods to be active at the same time. Unless stated otherwise the
commands described here can be applied to Analyzer as well as to Onchip.
In this chapter:
•
Trace state and mode
•
Trace buffer size and usage
•
TraceTrigger configuration
Here, only the most important commands are described. For more information about these commands as
well as those not mentioned here, please refer to the command group Trace.
Trace States
The DISable state prevents tracing at all. The EMEM is not configured so it can be used exclusively for
another purpose, e.g. calibration. Refer to chapter Emulation Memory for more information. Using the
MCDS for triggering is possible in this state, any trace data generated by the chip will be ignored.
The default trace state is OFF, which means that TRACE32 configures the necessary parts of the EMEM for
tracing. Note that in the OFF state no trace data is recorded.
The EMEM is ready to capture trace data in the Arm state. Any generated trace data will be recorded.
©1989-2015 Lauterbach GmbH
MCDS User’s Guide
21
MCDS Basic Features