<?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>Clear example using Segger RTT on Zephyr with SES and nRF5340-PDK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59759/clear-example-using-segger-rtt-on-zephyr-with-ses-and-nrf5340-pdk</link><description>Nordic boards come with the awesome JLINK-OB, and I&amp;#39;d love to use Segger RTT for app tracing, but have been not been able to get it working in Zephyr using the nRF5340-PDK. I looked around DevZone and tried some suggestions targeted to the nRF9160, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Apr 2020 10:34:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59759/clear-example-using-segger-rtt-on-zephyr-with-ses-and-nrf5340-pdk" /><item><title>RE: Clear example using Segger RTT on Zephyr with SES and nRF5340-PDK?</title><link>https://devzone.nordicsemi.com/thread/243148?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 10:34:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6587ab6-679c-4e58-bcf1-c53b1643b840</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not have any example to show you this. But it must be very straightforward. Just use the API shown &lt;a href="https://docs.zephyrproject.org/latest/reference/logging/index.html"&gt;here&lt;/a&gt;&amp;nbsp;and set the backend to RTT as my initial reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clear example using Segger RTT on Zephyr with SES and nRF5340-PDK?</title><link>https://devzone.nordicsemi.com/thread/243147?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 10:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3de934c-30a0-4e14-8fc2-0a0f078868b4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;On some experimental project I was doing, I was using the below configuration in my proj.conf and it worked quite fine with the segger logs&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USE_SEGGER_RTT=y
CONFIG_SEGGER_RTT_MAX_NUM_UP_BUFFERS=3
CONFIG_SEGGER_RTT_MAX_NUM_DOWN_BUFFERS=3
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=28000
CONFIG_SEGGER_RTT_BUFFER_SIZE_DOWN=16
CONFIG_SEGGER_RTT_PRINTF_BUFFER_SIZE=14000
CONFIG_SEGGER_RTT_MODE_NO_BLOCK_SKIP=y
CONFIG_SEGGER_RTT_MODE=0
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You might also take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46083/how-to-setup-zephyr-for-rtt-logging-with-nrf9160"&gt;this&lt;/a&gt; thread to see how to stop uart from flushing to the console. The logging mechanism is the same for any variant in Zephyr.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>