<?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>nRF52 RTT debug problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13667/nrf52-rtt-debug-problem</link><description>I&amp;#39;m developing an embedded application using the nRF52 device. I am using GCC to build the C software and a segger flash device to program the nRF52, all using linux. I wish to generate debug information during the execution of my code and up until present</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 May 2016 15:22:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13667/nrf52-rtt-debug-problem" /><item><title>RE: nRF52 RTT debug problem</title><link>https://devzone.nordicsemi.com/thread/52208?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 15:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7578f374-2a11-4136-bc5d-e9ff28573068</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Have a look at this post to solve your issue: &lt;a href="https://devzone.nordicsemi.com/question/44790/rtt-on-os-x/?answer=44881#post-id-44881"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 RTT debug problem</title><link>https://devzone.nordicsemi.com/thread/52207?ContentTypeID=1</link><pubDate>Fri, 06 May 2016 09:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08287b6b-88b7-4a91-ae74-60c1e425fb76</guid><dc:creator>lee</dc:creator><description>&lt;p&gt;I&amp;#39;ve found the solution.&lt;/p&gt;
&lt;p&gt;I needed to start JLinkExe before running JLinkRTTClient.&lt;/p&gt;
&lt;p&gt;First I call JLinkExe -device NRF52832_XXAA -if SWD -speed 12000 -autoconnect 1&lt;/p&gt;
&lt;p&gt;Then I connect using JLinkRTTClient and I can now view the debug output.&lt;/p&gt;
&lt;p&gt;I also removed app_trace_init from my code as this doesn&amp;#39;t seem to be necessary in my case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 RTT debug problem</title><link>https://devzone.nordicsemi.com/thread/52205?ContentTypeID=1</link><pubDate>Fri, 06 May 2016 09:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c1eee88-f069-4522-81a2-bc363b94007d</guid><dc:creator>lee</dc:creator><description>&lt;p&gt;Thanks James. The tutorial uses the RTT viewer which doesn&amp;#39;t yet exist on Linux if I&amp;#39;ve understood correctly. I did find the solution which I&amp;#39;ll indicate below.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 RTT debug problem</title><link>https://devzone.nordicsemi.com/thread/52206?ContentTypeID=1</link><pubDate>Thu, 05 May 2016 15:53:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bde8cea-66aa-4cf7-b9a6-e899ffab5bd5</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;Please try to follow the RTT Debugging tutorial here:
&lt;a href="https://devzone.nordicsemi.com/tutorials/6/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using the RTT Viewer you have the ability to log all data on channel 1 into a file.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s working well for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>