Skip to main content

IAR Embedded Workbench for Arm 10.10.x

execConfigureTraceSWO

In this section:
Syntax
execConfigureTraceSWO
For use with

All C-SPY hardware drivers where ITM trace over the SWO communication channel is supported and enabled.

Description

This macro is executed just before execution begins, including when execution starts after being halted by a breakpoint and during single-stepping. Use it to set up device-specific registers that might be required to get ITM trace over the SWO communication channel out to a physical pin.

Configuring SWO/ITM or TPIU should generally not be required here, because this is handled by the probe driver.