<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>TRACE_DEBUG in µVision4</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27168/trace_debug-in-vision4</link><description> 
Hi, 

 
I&amp;#39;m new with ARM and &amp;#181;Vision, and I try demos from Keil on
SAM3U board. 
In demo, there is TRACE_DEBUG function ( like TRACE_DEBUG(&amp;quot;suspend
!\n\r&amp;quot;)) and I don&amp;#39;t see anything appears on Trace Records window.
Maybe it&amp;#39;s not the good window? 
</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: TRACE_DEBUG in µVision4</title><link>https://community.arm.com/thread/58107?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2010 02:57:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:deba232f-d9df-49b5-9cb0-36ed123f945e</guid><dc:creator>Thorsten de Buhr</dc:creator><description>&lt;p&gt;&lt;p&gt;
Some very early Versions of the SAM3 have a &amp;quot;damaged&amp;quot; SWO, so it
is impossible to get any output through ITM, which is required for
that.&lt;/p&gt;

&lt;p&gt;
Please ask Atmel for the Chip version you have on your
DevBoard.&lt;/p&gt;

&lt;p&gt;
Otherwise it&amp;#39;s &amp;quot;simple&amp;quot;:&lt;br /&gt;
Target Options -&amp;gt; Debug -&amp;gt; ULink / JLink (both select Cortex
driver) -&amp;gt; Settings -&amp;gt; Trace&lt;/p&gt;

&lt;p&gt;
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.&lt;/p&gt;

&lt;p&gt;
In UV Debug Session, select View -&amp;gt; Serial Windows -&amp;gt; ITM
printf Viewer.&lt;/p&gt;

&lt;p&gt;
BR,&lt;br /&gt;
/th.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>