<?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>Disable RTT logs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75946/disable-rtt-logs-and-enable-logs-over-uart</link><description>Hi, I want to disable RTT logs which appear on RTT viewer and want to redirect them over UART to Teraterm or some other Serial Logger. The reason is that apparently I cant use a python script to display the data traffic sent to RTT viewer as mentioned</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Jun 2021 03:02:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75946/disable-rtt-logs-and-enable-logs-over-uart" /><item><title>RE: Disable RTT logs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/thread/313529?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 03:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5988d30c-61d0-48db-a125-f4dbad6d7640</guid><dc:creator>Ukhan</dc:creator><description>&lt;p&gt;Thanks for sharing the reference material, I&amp;#39;d have a look into it.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/75946/disable-rtt-logs-and-enable-logs-over-uart/313339#313339"]and the code has loaded onto the target?[/quote]
&lt;p&gt;Yes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/75946/disable-rtt-logs-and-enable-logs-over-uart/313339#313339"]you have done a full rebuild?[/quote]
&lt;p&gt;Yes.&lt;br /&gt;&lt;br /&gt;Haven&amp;#39;t been able to switch logs from RTT to UART tho.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable RTT logs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/thread/313339?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 09:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253c8ece-67b6-4615-8a03-85a4c1c70664</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;you have done a full rebuild?&lt;/p&gt;
&lt;p&gt;and the code has loaded onto the target?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable RTT logs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/thread/313338?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 09:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23bc0088-0222-42e5-a7e7-f197c144801c</guid><dc:creator>awneil</dc:creator><description>[quote userid="99189" url="~/f/nordic-q-a/75946/disable-rtt-logs-and-enable-logs-over-uart/313324#313324"]how to&amp;nbsp;access RTT via Python[/quote]
&lt;p&gt;AIUI, it&amp;#39;s a telnet session&lt;/p&gt;
&lt;p&gt;You&amp;#39;d have to go to Segger&amp;nbsp; for details &amp;amp; support - it&amp;#39;s nothing to do with Nordic.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/"&gt;https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/#example-code"&gt;https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/#example-code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/RTT"&gt;https://wiki.segger.com/RTT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/RTT#TELNET_channel_of_J-Link_software"&gt;https://wiki.segger.com/RTT#TELNET_channel_of_J-Link_software&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/j-link-sdk/"&gt;https://www.segger.com/products/debug-probes/j-link/technology/j-link-sdk/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable RTT longs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/thread/313330?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 09:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077891dc-94b2-487f-8d78-95699cdc304f</guid><dc:creator>Ukhan</dc:creator><description>&lt;p&gt;As&amp;nbsp;to your suggestion, I have all those flags enabled, but no success. I still get data on RTT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable RTT longs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/thread/313324?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 09:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f9577eb-67ad-46b5-bdd1-862b8bbc2dba</guid><dc:creator>Ukhan</dc:creator><description>&lt;p&gt;It may be a little off topic, but can you guide, if possible, on how to&amp;nbsp;access RTT via Python.&amp;nbsp;Because my requirement at this point is to get the script run with the data.&lt;br /&gt;&lt;br /&gt;Any&amp;nbsp;references you can share would be much appreciated.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable RTT longs and Enable Logs over UART</title><link>https://devzone.nordicsemi.com/thread/313316?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 08:49:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f72622e0-5ca8-4f32-82c1-68eb33e48c5e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You should also be able to access the RTT stuff via Python - I think it&amp;#39;s basically just a Telnet session? Segger have some stuff on it...&lt;/p&gt;
&lt;p&gt;The settings are in the &lt;strong&gt;sdk_config.h&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;NRF_LOG_BACKEND_RTT_ENABLED or&amp;nbsp;NRF_LOG_BACKEND_RTT_ENABLED&lt;/p&gt;
&lt;p&gt;to use the UART, you may also need&amp;nbsp;NRFX_UARTE_ENABLED and/or NRFX_UART_ENABLED and/or&amp;nbsp;UART_ENABLED&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>