Hi there,
We have a Cortex-M33 and the coresight module is configured such that ITM traces are output on 2 pins of trace port TRACECLK and TRACEDATA[0], rather than the more traditional SWO pin.
So I have two questions please:
Is there any way (trace window or GUI) to capture ITM traces in ARM Development Studio using DStream for example? Or can this only be done on Keil MDK (uvision IDE) using Ulink-pro?
How do we configure the IDE trace capture to use only one bit (i.e. TRACEDATA[0]) of the four-pin trace port (on the connector)?
Thanks
Sarah
Hi Stephen,I am still not clear on your statement: Arm DS has no equivalent to the Serial Wire Viewer or Trace Records view, but ARM DS can use Event View to display trace packets from ITM?Also I have a Coxtex-M33, connected with DStream, via SWD, and CSITM goes to SWO, in ARM DS 2023.0 Event Viewer Settings, it complains "Trace source or Device is invalid" with following config:
What could be wrong?
Xiaoming
Hi
Sorry, but SWO is not supported by Arm DS or DSTREAM.
To use SWO, you will need to use the Keil MDK and one of the uLink-family probes instead.
See:
https://www.keil.com/
https://developer.arm.com/documentation/101407/0541/Debugging/Code-and-Data-Trace--Cortex-M-/Trace-Features
https://learn.arm.com/learning-paths/microcontrollers/uv_debug/4_swv/
https://www.keil.com/download/files/swv_on_cortex-m3.pdf
https://community.arm.com/support-forums/f/keil-forum
Hope this helps
Stephen