Specifications

Table Of Contents
ARM Debugger 1 8 T r a c e E x t e n s i o n s
©1989-2014 Lauterbach GmbH
Trace Extensions
There are two types of trace extensions available on the ARM:
ARM-ETM: an Embedded Trace Macrocell or Program Trace Macrocell is integrated into the
core. The Embedded Trace Macrocell provides program and data flow information plus trigger
and filter features. The Program Trace Macrocell provide similar features but no data trace. The
TRACE32 does not distinguish between ETM and PTM. The ETM command group is used for
both.
Please refer to the online help books ”ARM-ETM Trace” (trace_arm_etm.pdf) and ARM-ETM
Programming Dialog” (trace_arm_etm_dialog.pdf) for detailed information about the usage of
ARM ETM/PTM.
Please note that in case of CoreSight ETM/PTM you need to inform the debugger about the
CoreSight trace system on the chip. If you can select the chip you are using (e.g. ‘SYStem.CPU
OMAP4430’) then this is automatically done. If you select a core (e.g. ‘SYStem.CPU CortexA9’)
then you need to configure the debugger in your start-up script by using commands like
SYStem.CONFIG.ETM.Base, SYStem.CONFIG.FUNNEL.Base, SYStem.CONFIG.TPIU.Base,
SYStem.CONFIG.FUNNEL.ATBSource, SYStem.CONFIG.TPIU.ATBSource. In case a HTM or
ITM/STM module is available and shall be used you need also settings for that.
ARM7 Bus Trace: the Preprocessor for ARM7 family samples the external address and data bus.
The features for the Bus Trace are described in this book.
The commands for the ARM7 bus trace are: SYStem.Option AMBA, SYStem.Option NODATA,
TrOnchip.TEnable and TrOnchip.TCYcle.