We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm new with ARM and µVision, and I try demos from Keil on SAM3U board. In demo, there is TRACE_DEBUG function ( like TRACE_DEBUG("suspend !\n\r")) and I don't see anything appears on Trace Records window. Maybe it's not the good window?
How use TRACE_DEBUG output?
Thanks
Some very early Versions of the SAM3 have a "damaged" SWO, so it is impossible to get any output through ITM, which is required for that.
Please ask Atmel for the Chip version you have on your DevBoard.
Otherwise it's "simple": Target Options -> Debug -> ULink / JLink (both select Cortex driver) -> Settings -> Trace
Set the CPU Core Clock frequency (behind PLL!), let SWO Speed be autodetected, set ITM Ch.0 active and set the tick in the box for priviledge.
In UV Debug Session, select View -> Serial Windows -> ITM printf Viewer.
BR, /th.