Arm Cortex ETMv4: Program trace is recorded when only data trace is selected

15-Jul-2024

Devices that feature an ETMv4 (such as most devices of the S32K3xx family) include program trace when it is configured to output any data trace.

The ETM is used even when exclusively selecting Data in the Profiler Configuration or when using the Trace Wizard to record only data trace. As a result, the additional program trace that is being recorded may cause trace FIFO overflows.


Possible solution

When data trace needs to be recorded exclusively, manually configure the Trace trigger to use DWT and ITM instead of the ETMv4. 


More resources in winIDEA Help

Was this answer helpful?