<?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>Easy redirect RTT output to UART(E)  ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54142/easy-redirect-rtt-output-to-uart-e</link><description>Platform info: SDK153, MESH 3.2 and using SEGGER RTT for debug logging output with __LOG(...) 
 I have a strange behaviour in one of my application, where it work very fine as long as my target is attached to J-LINK adapter (using RTT log-output), but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 09 Nov 2019 13:05:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54142/easy-redirect-rtt-output-to-uart-e" /><item><title>RE: Easy redirect RTT output to UART(E)  ?</title><link>https://devzone.nordicsemi.com/thread/219356?ContentTypeID=1</link><pubDate>Sat, 09 Nov 2019 13:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a7c67be-dbdc-478c-ba8f-c0ebc26b7c21</guid><dc:creator>Jesper W.</dc:creator><description>&lt;p&gt;Hi Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The RTT viewer did not help me, so I found it easier to do a quick and dirty hardcoding directly to NRF_UART0/EasyDMA&amp;nbsp;and&amp;nbsp;&amp;nbsp;&lt;span&gt;replaced the&amp;nbsp;log_callback_rtt with&amp;nbsp;my&amp;nbsp;log_callback_uarte(...).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;#undef LOG_CALLBACK_DEFAULT&lt;br /&gt; #define LOG_CALLBACK_DEFAULT log_callback_uarte&lt;/p&gt;
&lt;p&gt;Thanks :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Easy redirect RTT output to UART(E)  ?</title><link>https://devzone.nordicsemi.com/thread/219275?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2019 12:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13cc8782-7a87-41e5-b7f8-768640084a8c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tried connect the RTT viewer, etc after the device is started to behave strangely? The RTT buffer in RAM might contain a&amp;nbsp;crash log if we are lucky. I think it would require some effort to add UART logging, but it&amp;#39;s certainly possible.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>