<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>printf() function doesn&amp;#39;t print anything to vscode terminal</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90685/printf-function-doesn-t-print-anything-to-vscode-terminal</link><description>Hey Nordic, 
 I am using 
 
 SDKv17.1.0 
 VSCODE as IDE 
 S140 as softdevice 
 Windows 
 
 Let me first insert my code snippet: 
 
 Here, NRF_LOG_INFO() function works, meaning that, I can see the log messages on PuTTY but printf() doesn&amp;#39;t print anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 08:23:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90685/printf-function-doesn-t-print-anything-to-vscode-terminal" /><item><title>RE: printf() function doesn't print anything to vscode terminal</title><link>https://devzone.nordicsemi.com/thread/380304?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 08:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ba16f64-4bbf-49b1-8495-6d02222794f6</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Thanks for the update Omer, appreciate it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printf() function doesn't print anything to vscode terminal</title><link>https://devzone.nordicsemi.com/thread/380262?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 06:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3b6ef2-6766-46de-ac85-c9f22295593b</guid><dc:creator>&amp;#214;mer</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;After talking with one of the senior engineers in the office, it turned out that it is different to run a &amp;quot;.c&amp;quot; program on a computer than on a development kit. Since those programs are run on our DKs, &amp;quot;printf()&amp;quot; statements cannot reach the values to be printed. For this, &amp;quot;NRF_LOG_INFO()-like&amp;quot; functions are used to print out something to PuTTY, and it gets the data from the board using UART.&lt;/p&gt;
&lt;p&gt;Thanks for your reply though,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printf() function doesn't print anything to vscode terminal</title><link>https://devzone.nordicsemi.com/thread/380202?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 15:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f38c78f-46e0-4ed2-9cb0-cc630bcabe70</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;From a Nordic viewpoint this is not something we support. If you want to use VS Code then i suggest that you upgrade to the nRF Connect SDK.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So printf() works when you are using putty? But not with VS code terminal?&lt;br /&gt;&lt;br /&gt;What terminal in VS code are you using? This question might be better suited on a VS code forum if it is not specific to one of our VS Code extensions.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Have you tested with one of our examples from the nRF 5 SDK?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is this a question about you nRF5 SDK project or a VS code issue?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>