<?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/"><channel><title>Debugging with Real Time Terminal</title><link>/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><description>In SDK 12.0.0 or later, logging/debugging over RTT is built in to the logger module NRF_LOG . To enable logging over RTT, &amp;quot;check&amp;quot; the NRF_LOG_BACKEND_SERIAL_USES_RTT option in sdk_config.h in the configuration wizard.
This tutorial is there...</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Fri, 13 Nov 2020 19:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>jalan</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Is there any instruction/blog/example for this for SDK17?&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Thu, 22 Aug 2019 09:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Archana Fugare</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;HI how to do this in segger embedded studio, please tell&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Thu, 09 May 2019 20:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Vasiliy Baryshnikov</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Problem: How do I get RTT woking on Mac?&lt;/p&gt;
&lt;p&gt;Fix: &lt;br /&gt;You can run the SEGGER_RTT_printf() and other functions and they will show up through the Debug Terminal in Segger Embedded Studio.&lt;img alt=" " src="/resized-image/__size/320x240/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8f609741-12c4-4636-9570-ed2d2a9d225c/Screenshot-2019_2D00_05_2D00_09-13.41.53.png" /&gt;&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Sat, 24 Nov 2018 01:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>EthanHunt</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;Looks like instructions are outdated as per latest SDK release 15.2.0 but it&amp;#39;s moreover the same process to follow.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Need to enable&amp;nbsp;&lt;/span&gt;NRF_LOG_BACKEND_RTT_ENABLED macro in sdk_config.h file then even normal&amp;nbsp;NRF_LOG_* statements&amp;nbsp;will able to log statements on the Segger RTT application.&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Mon, 19 Mar 2018 09:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Canic</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;*** Using Compiler &amp;#39;V5.06 update 5 (build 528)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;&lt;br /&gt;Build target &amp;#39;nrf51422_xxac&amp;#39;&lt;br /&gt;compiling main.c...&lt;br /&gt;..\..\..\main.c(611): warning: #223-D: function &amp;quot;SEGGER_RTT_WriteString&amp;quot; declared implicitly&lt;br /&gt; SEGGER_RTT_WriteString(0, &amp;quot;Hello World!\n&amp;quot;);&lt;br /&gt;..\..\..\main.c(617): warning: #223-D: function &amp;quot;SEGGER_RTT_WaitKey&amp;quot; declared implicitly&lt;br /&gt; c = SEGGER_RTT_WaitKey(); // will block until data is available&lt;br /&gt;..\..\..\main.c(620): warning: #223-D: function &amp;quot;SEGGER_RTT_printf&amp;quot; declared implicitly&lt;br /&gt; SEGGER_RTT_printf(0, &amp;quot;%sResetting in %d second..%s\n&amp;quot;, RTT_CTRL_BG_BRIGHT_RED, 1, RTT_CTRL_RESET);&lt;br /&gt;..\..\..\main.c(620): error: #20: identifier &amp;quot;RTT_CTRL_BG_BRIGHT_RED&amp;quot; is undefined&lt;br /&gt; SEGGER_RTT_printf(0, &amp;quot;%sResetting in %d second..%s\n&amp;quot;, RTT_CTRL_BG_BRIGHT_RED, 1, RTT_CTRL_RESET);&lt;br /&gt;..\..\..\main.c(620): error: #20: identifier &amp;quot;RTT_CTRL_RESET&amp;quot; is undefined&lt;br /&gt; SEGGER_RTT_printf(0, &amp;quot;%sResetting in %d second..%s\n&amp;quot;, RTT_CTRL_BG_BRIGHT_RED, 1, RTT_CTRL_RESET);&lt;br /&gt;..\..\..\main.c(582): warning: #177-D: function &amp;quot;power_manage&amp;quot; was declared but never referenced&lt;br /&gt; static void power_manage(void)&lt;br /&gt;..\..\..\main.c: 4 warnings, 2 errors&lt;br /&gt;&amp;quot;.\_build\nrf51422_xxac.axf&amp;quot; - 2 Error(s), 4 Warning(s).&lt;br /&gt;Target not created.&lt;br /&gt;Build Time Elapsed: 00:00:02&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Tue, 21 Nov 2017 15:58:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Wael</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello:&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having a probem with the SEGGER_RTT_printf, it prints the folllowing message:
e[4;41mResetting in 1 second..e[0m&lt;/p&gt;
&lt;p&gt;I know the RTT_CTRL_BG_BRIGHT_RED is defined as &amp;quot;\e[4;41m&amp;quot;. why isnt it able to resolve this? I do get warning when compiling&lt;/p&gt;
&lt;p&gt;main.c(3280): warning:  #192-D: unrecognized character escape sequence
SEGGER_RTT_printf(0, &amp;quot;%sResetting in %d second..%s\n&amp;quot;,
TT_CTRL_BG_BRIGHT_RED, 1, RTT_CTRL_RESET);&lt;/p&gt;
&lt;p&gt;while printfs and SEGGER_RTT_WriteString have no problems. Can someone please tell me why this is happening. Your time and effort is greatly appreciated. I&amp;#39;m using Keil&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Mon, 19 Jun 2017 19:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Denna</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Does the nRF52 PCA10040 dev board support RTT?&lt;/p&gt;
&lt;p&gt;I tried the following these instructions running SDK v13.0.0, but no luck.&lt;/p&gt;
&lt;p&gt;&amp;quot;In SDK 12.0.0 or later, logging/debugging over RTT is built in to the logger module NRF_LOG. To enable logging over RTT, &amp;quot;check&amp;quot; the NRF_LOG_BACKEND_SERIAL_USES_RTT option in sdk_config.h in the configuration wizard.&amp;quot;&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Thu, 04 May 2017 18:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Nikolaus Wittenstein</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;You can use the terminal to view the RTT output on a Mac.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Thu, 04 May 2017 18:37:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Lola</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;and where is the J-Link RTT Viewer on a mac ? there is no such thing of course.
Why are mac users treated as if they not exist ? mac is the future not pc.
mac sales are raising and there are some people with taste that use mac, count them in ! :)&lt;/p&gt;
&lt;p&gt;At least comment that this thing is not for mac.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Mon, 10 Apr 2017 15:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>raoloka</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m using sdk 11.0 with nRF51822 ... In order to use both UART and RTT, do I need to anything more? The sdhandler log seems to be printing okay, but anything sent to uart don&amp;#39;t seem to disappear ...&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Wed, 15 Mar 2017 17:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Brantel</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I was getting linking errors like L6200E: when trying to follow this tutorial with version 13 of the SDK and current versions of KEIL and JLink.&lt;/p&gt;
&lt;p&gt;Apparently the newer SDKs have built in support and you do not need to add the RTT group or the files to that group.  If you do, remove them and it will get rid of these errors.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Thu, 09 Mar 2017 06:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>JungWon Kim</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks for this posting. it&amp;#39;s very helpful me.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Mon, 19 Dec 2016 19:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>usamak</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Is it possible to use RTT for debugging if the application also uses the serial port on the nRF52?&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Sat, 29 Oct 2016 00:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Akshay</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I just missed the above comment. adding this &amp;quot;NRF_LOG_USES_RTT=1&amp;quot; in define worked. Thanks for the help.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Debugging with Real Time Terminal</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-with-real-time-terminal</link><pubDate>Fri, 28 Oct 2016 22:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f609741-12c4-4636-9570-ed2d2a9d225c</guid><dc:creator>Akshay</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Can anybody tell me why i am getting this error? I know i must be doing some silly mistake but i am unable to figure it out.&lt;/p&gt;
&lt;p&gt;&lt;img src="/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-13-DZ-403/1.JPG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;i have included the (SEGGER_RTT.h) file in my main.c and have added all necessary files in project folder. am using keil&lt;/p&gt;
&lt;p&gt;&lt;img src="/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-13-DZ-403/2.JPG" alt="image description" /&gt;
any help is appreciated.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1166&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>