<?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>unable to use RTT in nrf91</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61864/unable-to-use-rtt-in-nrf91</link><description>Hi all, 
 I&amp;#39;m trying to get the Thingy device work with (SEGGER&amp;#39;s) RTT. I used the asset_tracker sample application and edited it to just print to RTT in a loop after all inits. Sadly, printing to RTT never outputs anything on the RTT Client. 
 I&amp;#39;ve already</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jun 2020 08:41:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61864/unable-to-use-rtt-in-nrf91" /><item><title>RE: unable to use RTT in nrf91</title><link>https://devzone.nordicsemi.com/thread/255180?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 08:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959f71ce-af55-414a-a49c-0109592b3aa3</guid><dc:creator>MosheSmartAmr</dc:creator><description>&lt;p&gt;nevermind it worked after SW update.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to use RTT in nrf91</title><link>https://devzone.nordicsemi.com/thread/254301?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 14:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78d55ad9-4c78-4c90-ad29-d3c5421c68d7</guid><dc:creator>MosheSmartAmr</dc:creator><description>&lt;p&gt;Thanks Simon.&lt;/p&gt;
&lt;p&gt;I still get this after setting the&amp;nbsp;RTT viewer (seems like the DK is not recognized bt the RTT VIEWER):&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2020_2D00_06_2D00_10-at-15.40.51.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to use RTT in nrf91</title><link>https://devzone.nordicsemi.com/thread/251989?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 14:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77fbbb65-88e8-4adf-8d29-c34ff1b7a6ac</guid><dc:creator>Simon</dc:creator><description>&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;margin-top:0px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;I was able to make it work, I did the following:&lt;/p&gt;
&lt;ul style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;
&lt;li&gt;Connected the Thingy:91 to an nRF91 DK using a cable like&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://odseven.com/products/10-pin-2x5-socket-1-27mm-idc-swd-cable-150mm-long"&gt;this&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Modified&amp;nbsp;ncs\zephyr\samples\hello_world:
&lt;ul&gt;
&lt;li&gt;Added&amp;nbsp;include($ENV{ZEPHYR_BASE}/../nrf/cmake/boilerplate.cmake) to CMakeLists.txt&lt;/li&gt;
&lt;li&gt;Added these configurations to prj.conf:&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y&lt;/pre&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then I programmed and flashed the Thingy trough the 91 DK debugger&lt;/li&gt;
&lt;li&gt;Opened J-Link RTT Viewer:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-abd5629aa0da44259b256e848b4f9d5b/pastedimage1590587876174v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It worked (I put the log in a while(true) loop with a delay)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-abd5629aa0da44259b256e848b4f9d5b/pastedimage1590587948194v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;It is important to not disconnect the 10-pin cable that goes between the Thingy:91 and the 91 DK, since the RTT logging goes through this&lt;/span&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>