<?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>Is that bad to call RTT functions if there is no SEGGER connected?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10250/is-that-bad-to-call-rtt-functions-if-there-is-no-segger-connected</link><description>Is that bad to call RTT functions if there is no SEGGER connected? 
 I mean, if there is no RTT viewer connected, what the RTT library does with the message to transmit? Does it put the message in queue? Does it use some RAM? If I forgot to remove this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Nov 2015 21:14:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10250/is-that-bad-to-call-rtt-functions-if-there-is-no-segger-connected" /><item><title>RE: Is that bad to call RTT functions if there is no SEGGER connected?</title><link>https://devzone.nordicsemi.com/thread/38057?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2015 21:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894c730e-97ab-4b2a-abef-43922783c4ca</guid><dc:creator>S&amp;#233;bastien Despont</dc:creator><description>&lt;p&gt;Thanks you for your answer. I didn&amp;#39;t change RTT configuration, so it should be fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is that bad to call RTT functions if there is no SEGGER connected?</title><link>https://devzone.nordicsemi.com/thread/38059?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2015 21:03:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adea6083-ce11-4b83-9f64-dfe75c1435a3</guid><dc:creator>S&amp;#233;bastien Despont</dc:creator><description>&lt;p&gt;Thanks for your answer, can you link the RTT web page?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is that bad to call RTT functions if there is no SEGGER connected?</title><link>https://devzone.nordicsemi.com/thread/38058?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2015 21:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efa78940-f049-4fec-8fdc-0533eb9a3100</guid><dc:creator>Bill Siever</dc:creator><description>&lt;p&gt;The RTT web page says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The developer does not have to create
a special debug version and the code
can stay in place in a release
application.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Since the RTT routines just copy to a special block in memory they can run without the debugger connected.  The final application would have slightly worse performance if it&amp;#39;s present (a little slower; more code executed so more power consumption; RAM allocated that isn&amp;#39;t needed).&lt;/p&gt;
&lt;p&gt;Just to add a little more to Martijn&amp;#39;s  response:  It uses non-blocking by default.  The Q&amp;amp;A section on the RTT page (&lt;a href="https://www.segger.com/jlink-rtt.html"&gt;https://www.segger.com/jlink-rtt.html&lt;/a&gt;) mentions:	&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;SEGGER-RTT uses non-blocking mode per
default, which means it does not halt
program execution if no debugger is
present and J-Link is not even
connected. The application program
will continue to work&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is that bad to call RTT functions if there is no SEGGER connected?</title><link>https://devzone.nordicsemi.com/thread/38056?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2015 20:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed88e02b-d408-4301-9dbd-03851e1527c2</guid><dc:creator>Martijn</dc:creator><description>&lt;p&gt;It depends on what you configured..
You can configure it for trim, skip or block.
In trim an skip mode it is no problem,  it will continue.  But in in block mode it wait until there is room, which is never...
By default it is configured for trim I believe where as much data gets put into buffer as fits and skips the rest.&lt;/p&gt;
&lt;p&gt;And yes it does use ram, rtt initialises itself the first time it is called.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>