Skip to main content

IAR Embedded Workbench for Arm 9.70.x

execConfigureTraceETM

In this section:
Syntax
execConfigureTraceETM
For use with

All C-SPY hardware drivers where full instruction trace is supported and enabled.

Description

This macro is executed just before execution begins, and should be used for setting up device-specific registers that might be required to get full instruction trace (ETM/PTM) out to a physical pin, or to configure device-specific parts of an on-chip trace unit (ETB/MTB/PTB).