<?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>SDK 14 RTT logging issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24597/sdk-14-rtt-logging-issue</link><description>Hi, 
 The followings are more like an observation rather than a question.. 
 We just upgraded to SDK 14, and realized that some of the RTT logs were mysteriously disappeared. We tried with and without NRF_LOG_DEFERRED, played with buffer sizes, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Aug 2017 12:22:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24597/sdk-14-rtt-logging-issue" /><item><title>RE: SDK 14 RTT logging issue</title><link>https://devzone.nordicsemi.com/thread/96849?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 12:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707fbadc-b7a4-4b28-b44b-00db88a68041</guid><dc:creator>Adam Sillye</dc:creator><description>&lt;p&gt;Thank you, this was exactly what we looking for...
Adam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14 RTT logging issue</title><link>https://devzone.nordicsemi.com/thread/96848?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 10:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ccf3a30-ee24-4fa3-9794-3f1e3ff6ee87</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can configure the RTT behavior if the buffer is full in &lt;code&gt;sdk_config.h&lt;/code&gt; by setting &lt;code&gt;SEGGER_RTT_CONFIG_DEFAULT_MODE&lt;/code&gt; to the mode you want.&lt;/p&gt;
&lt;p&gt;The following modes are supported:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;SKIP  - Do not block, output nothing.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;TRIM  - Do not block, output as much as fits&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;BLOCK - Wait until there is
space in the buffer&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The default mode is SKIP. You could also try to increase the buffer size(&lt;code&gt;SEGGER_RTT_CONFIG_BUFFER_SIZE_UP&lt;/code&gt;) before changing the mode, and see if that solves your issue. E.g. change &lt;code&gt;SEGGER_RTT_CONFIG_BUFFER_SIZE_UP&lt;/code&gt; from 512 to 1024.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>