<?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>nrf log not shown on RTT viewer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56783/nrf-log-not-shown-on-rtt-viewer</link><description>I know there have been many posts on this forum regarding a similar issue, I have spent a whole day reading them and trying to get this working, to no avail. 
 Basically my goal is to view logs through nRF52840 chip SW pin -&amp;gt; segger flasher box -&amp;gt; laptop</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jan 2020 19:32:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56783/nrf-log-not-shown-on-rtt-viewer" /><item><title>RE: nrf log not shown on RTT viewer</title><link>https://devzone.nordicsemi.com/thread/230167?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 19:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:646cf6e2-b0e0-4f08-81ca-15736c21d5a6</guid><dc:creator>cpeng</dc:creator><description>&lt;p&gt;Turns out i did not quite initialize nrf log quite well in the other project. For nrf log to work properly the main function must contain the following codes:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; APP_ERROR_CHECK(NRF_LOG_INIT(NULL));
 NRF_LOG_DEFAULT_BACKENDS_INIT();
     NRF_LOG_INFO(&amp;quot;Blah\r\n&amp;quot;);
     NRF_LOG_FLUSH();&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf log not shown on RTT viewer</title><link>https://devzone.nordicsemi.com/thread/230155?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 18:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:782be486-e1c7-42d4-9498-57bcead7e84e</guid><dc:creator>cpeng</dc:creator><description>&lt;p&gt;This project you recommend works! Now I need to figure out what made the other project not working.&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf log not shown on RTT viewer</title><link>https://devzone.nordicsemi.com/thread/230081?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 13:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3105fc55-400a-44a7-b321-4bbc0ac19262</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;To begin with, could you try the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open&amp;nbsp;&lt;em&gt;C:\Nordic\nRF5_SDK\nRF5_SDK_16.0.0_98a08e2\examples\peripheral\temperature\pca10056\blank\ses\temperature_pca10056.emProject&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;/em&gt;Replace&amp;nbsp;C:\Nordic\nRF5_SDK\nRF5_SDK_16.0.0_98a08e2\examples\peripheral\temperature\pca10056\blank\config\sdk_config.h with the following file:&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d15ade6001b048109d38e95f06846e78/sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../sdk_5F00_config.h&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Connect your nRF52840 DK (pca10056) to your computer and turn it on&lt;/li&gt;
&lt;li&gt;Open a debugger session in SES
&lt;ul&gt;
&lt;li&gt;Debug--&amp;gt;Go&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Check if you see the RTT logging in the Debug Terminal:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d15ade6001b048109d38e95f06846e78/pastedimage1579611770163v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>