<?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>printing out debug statement</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22506/printing-out-debug-statement</link><description>Is there an easier way to print out debugging statement that does not need an installation of a logging package in keil. 
 I am trying to place print statements within the code to debug the program. For an example, if I introduce a code and want to make</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Aug 2020 10:40:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22506/printing-out-debug-statement" /><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/265058?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 10:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdaf8d93-dba6-4460-b354-92a3c95f40dc</guid><dc:creator>codebreaker176</dc:creator><description>&lt;p&gt;Can you please give the exact syntax for printing statements in segger studio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/88555?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 15:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2940ab00-1591-4ec2-9ffa-4ed5a84c3f91</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Good timing. I was just typing the same suggestion!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/88554?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 15:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e42e8cf9-97c1-4af9-a216-fbefdddd5e4c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;@binhnguyens  There is an on-board J-Link debugger on the nRF-DK, you don&amp;#39;t need to buy a seperate j-link debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/88553?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 14:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e892d40b-e8d9-4a41-ae45-12830ff3ce87</guid><dc:creator>John</dc:creator><description>&lt;p&gt;That would be option 2. Printing out the UART to a terminal program. Nordic nicely encapsulates that with the NRF_LOG stuff. What is your setup if the UART doesn&amp;#39;t work for you either?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/88552?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 14:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9fb45e8-93f1-42fe-b063-b5b64390e760</guid><dc:creator>binhnguyens</dc:creator><description>&lt;p&gt;is there just a program that can debug? at the moment, i wouldn&amp;#39;t like to purchase a j-link just to debug&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/88551?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 06:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42b9d56a-b0ad-4843-aa10-5a21d5089196</guid><dc:creator>CBD</dc:creator><description>&lt;p&gt;The segger printing is very useful and easy to use. It even allows you to change the colour of the displayed text, so that log statements for error conditions can really stand out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printing out debug statement</title><link>https://devzone.nordicsemi.com/thread/88550?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 20:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1a9173a-3f18-4a6d-8c9c-c2feef283423</guid><dc:creator>John</dc:creator><description>&lt;p&gt;A couple of options jump to mind for you:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;If you are using a Segger J-Link for programming/debugging you can print through the Segger RTT and use their RTT viewer on your computer to see the output. I&amp;#39;ve used this on a couple of projects and its a great help.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Nordic also provides a NRF_LOG that can print out the UART to a terminal program. If you aren&amp;#39;t using the UART this would be an option for you.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There are examples of both in the SDK example projects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>