<?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>Nucleo L0 Debugging with USB</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41045/nucleo-l0-debugging-with-usb</link><description> 
Hi All, 

 
I&amp;#39;m going through the STM32Cube RTC example, and I&amp;#39;d like to see
the output of the sprintf in the serial window. I opened the serial
window and nothing is being printed. 

 
I&amp;#39;ve been reading around debugging using uVision IDE, and read</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Nucleo L0 Debugging with USB</title><link>https://community.arm.com/thread/93524?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2015 07:17:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0cda222a-ddc5-49c3-bd9b-c0b39d3ff982</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
The ST-LINK on the Nucleo provides a VCP (Virtual Serial Port),
check Device Manager for the COM port this is on. You can use a
Terminal program to connect to this, and you&amp;#39;d need to write code on
the STM32 to enable the USART connected to the VCP (nominally USART2
PA2/PA3 on other Nucleos, but read the manual)&lt;/p&gt;

&lt;p&gt;
The Cortex-M0 does not support the SWV (Serial Wire Viewer)
method, ie &amp;quot;Debug (printf) Viewer&amp;quot;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nucleo L0 Debugging with USB</title><link>https://community.arm.com/thread/64029?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2015 02:39:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:35662d3f-36e1-49eb-8dc7-e8efcdc7df1a</guid><dc:creator>Gary Olson</dc:creator><description>&lt;p&gt;&lt;p&gt;
The Sprintf does not print to a com port. What it does is write to
the ram. You can see the&lt;br /&gt;
string if you look in the memory window at the address of the pointer
to the string.&lt;/p&gt;

&lt;p&gt;
in the memory window there is a text box where you should put the
variable name of the string pointer. the data should appear in the
memory window as the program is executing in debug.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>