<?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>Logging SDK15 Segger RTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36629/logging-sdk15-segger-rtt</link><description>While I&amp;#39;m waiting on answers to other questions, I thought I would try to nrf_Logging with the Segger RTT up and running. It sounds like a pretty tool. 
 I have created a very simple UART program and included calls to the NRF_LOG_INFO routines just to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jul 2018 06:27:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36629/logging-sdk15-segger-rtt" /><item><title>RE: Logging SDK15 Segger RTT</title><link>https://devzone.nordicsemi.com/thread/141452?ContentTypeID=1</link><pubDate>Thu, 26 Jul 2018 06:27:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a463ea8-467b-46d0-8f5f-af9e3b805a2d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Glad to hear you fixed it. Thanks for letting us know what the problem was.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging SDK15 Segger RTT</title><link>https://devzone.nordicsemi.com/thread/141376?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 15:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d97e5582-6071-487d-ad27-0f8a484787f7</guid><dc:creator>W9</dc:creator><description>&lt;p&gt;I as finally able to get logging active on Segger RTTviewer. I think I just wasn&amp;#39;t waiting long enough for the bootloader to timeout and fire up again. Now I working on getting it active within my app.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Wayne&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging SDK15 Segger RTT</title><link>https://devzone.nordicsemi.com/thread/141009?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 14:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c5a392d-d762-452e-a403-d4fd2933d308</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you call&amp;nbsp;NRF_LOG_PROCESS() repeatedly so that you ensure that the queue is emptied? You should call it until it returns false before you e.g. go to sleep.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging SDK15 Segger RTT</title><link>https://devzone.nordicsemi.com/thread/140989?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 13:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c86584e0-ce26-40bf-b831-dd4c745d7b12</guid><dc:creator>W9</dc:creator><description>&lt;p&gt;I did have DEFERRED_LOGGING enabled. I added the NRF_LOG_PROCESS() in my main loop, but I still don&amp;#39;t see anything with RTTViewer.&amp;nbsp; However, if I launch (SEGGER)&amp;nbsp;GDB_server and then RTTClient, I see some logs in the Client window. (My understanding was that RTTViewer is a stand-alone program that does not the GDB-server running)&lt;/p&gt;
&lt;p&gt;I must still have some config error that is hiding the logs from RTTViewer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging SDK15 Segger RTT</title><link>https://devzone.nordicsemi.com/thread/140974?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 12:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9115d7d4-9f79-4ba6-8c3e-249e63f05388</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should be enough to call&amp;nbsp;&lt;code&gt;NRF_LOG_INIT(NULL)&lt;/code&gt; and&amp;nbsp;&lt;code&gt;NRF_LOG_DEFAULT_BACKENDS_INIT()&lt;/code&gt; (I assume&amp;nbsp;&lt;code&gt;NRF_BACKEND_INIT()&lt;/code&gt; which you wrote was a typo).&lt;/p&gt;
&lt;p&gt;The typical reasons for not seeing RTT output are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Incorrectly configured sdk_config.h, or&lt;/li&gt;
&lt;li&gt;Deferred logging enabled in sdk_config.h but not handled in the application main loop (no calls to &lt;code&gt;NRF_LOG_PROCESS()&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>