Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

ARM Cortex: Starting trace while cores are running produces undesired trace messages

17-Dec-2022

If you start tracing while a core is running, the sequential configuration of trace components might produce undesired artifacts in the trace stream (e.g. considerable amount of  ITM trace before ETM messages start).

Note that ARM Cortex trace does not have a global trace switch that "turns on / off" ITM, ETM etc. 


Possible solution:

1. Stop CPU(s) via Stop button in the Debug Toolbar. 

2. Start trace via Begin New Session button in the Analyzer Toolbar. 

3. Run CPU(s) via the Debug Toolbar. 

4. Stop trace via Stop  the Analyzer Toolbar or stop CPU(s) via Stop  in the Debug Toolbar. 

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!