Hi Alice,
thank you very much for your detailed visualisations on how to setup the SWO Tracing.
In my case I already verified the electrical connection of the SWO pin (MXCA-156 PCB) to my MCU-Link Pro Debug Probe. The PDF you mentioned has indeed more detailed information and extends my knowledge. Nevertheless it does not really explain/disprove my assumutions of DWT usage.
In my setup I already see data from Interrupt returns and Interrupt entry points in the "SWO Interrupts" windows: (this is live data from my SW! Meaningfull data and correct timing information.)
AlexRu_0-1764332623019.png
With this information I verfied that my electrical connection via SWO pin is working, trace clocks are enabled and frequency is as expected in my SWO Trace Config.
What I am missing (or maybe there is a misunderstanding on my side?) is the function to trace Data via a Data Watch comparator (DWT) to the SWO trace pin in window "SWO Data".
After enabeling the "play" button I dont receive any trace information:
AlexRu_1-1764333027216.png
I even veriefied that with my config of MXCA156 the data watchpoints are limited to 2 comparators, so the IDE seems to be able to set them and warns about too many Data Watch points set (I did it intentionally to check the plausibility):
AlexRu_2-1764333135738.png
So my question is: Does the IDE support this method of debugging or is there a misunderstanding on my side and the DWT does not provide this kind of Data tracing capabilities at all?