<?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>When we transfair the big amound of data via RTT &amp;quot;port&amp;quot; the data is corrupted.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39603/when-we-transfair-the-big-amound-of-data-via-rtt-port-the-data-is-corrupted</link><description>Hi, everyone, 
 We are developing the BLE project on nRF52832 chip by using RTT / UART logging. Previously we monitored the project via UART communication port. But than we had to use the UART port for other purpose and due to this reason we migrated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Nov 2018 11:18:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39603/when-we-transfair-the-big-amound-of-data-via-rtt-port-the-data-is-corrupted" /><item><title>RE: When we transfair the big amound of data via RTT "port" the data is corrupted.</title><link>https://devzone.nordicsemi.com/thread/155923?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 11:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1fc72ea-b0a9-428f-9a00-8741b6aa7172</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe these threads are relevant:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33797/how-to-enable-blocking-log-output-with-rtt---sdk15"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33797/how-to-enable-blocking-log-output-with-rtt---sdk15&lt;/a&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22474/why-nrf_log_info-is-going-crazy/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/22474/why-nrf_log_info-is-going-crazy/&lt;/a&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/28113/segger_rtt_config_default_mode-blocking-app/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/28113/segger_rtt_config_default_mode-blocking-app/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Your application should not hang, even if you don&amp;#39;t have a debugger connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When we transfair the big amound of data via RTT "port" the data is corrupted.</title><link>https://devzone.nordicsemi.com/thread/153716?ContentTypeID=1</link><pubDate>Sun, 21 Oct 2018 06:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c26eaf5-1761-4e6b-89b2-f94af1a0ef21</guid><dc:creator>Boris</dc:creator><description>&lt;p&gt;Thank you very much,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This helped me and works clearer although sometemes the corruptions can exist.&lt;/p&gt;
&lt;p&gt;But the debugger disconnection disturbs me:&lt;/p&gt;
&lt;p&gt;The application can hang &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;only&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;during the debugger&amp;nbsp;disconnect&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;ion&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;or can hang also when it started to work without any debugger connected to it?&lt;/p&gt;
&lt;p&gt;Can I&amp;nbsp;keep the this option &amp;quot;&lt;strong&gt;SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL&lt;/strong&gt;&amp;quot; for relising or I must use it for debugging only and when I relise the program for everyday usage I must&amp;nbsp;return this option back to &amp;quot;&lt;strong&gt;SEGGER_RTT_MODE_NO_BLOCK_SKIP&lt;/strong&gt;&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When we transfair the big amound of data via RTT "port" the data is corrupted.</title><link>https://devzone.nordicsemi.com/thread/153504?ContentTypeID=1</link><pubDate>Thu, 18 Oct 2018 14:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8dc2349-7bb4-44e4-84d0-0081248f5590</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Check SEGGER_RTT_Conf.h, SEGGER_RTT_MODE_DEFAULT definition.&lt;/p&gt;
&lt;p&gt;The default &lt;strong&gt;SEGGER_RTT_MODE_NO_BLOCK_SKIP&lt;/strong&gt; will throw data away once the RTT buffers are full. You can try &lt;strong&gt;SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL&lt;/strong&gt;, but that may cause your application to hang when the debugger is disconnected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>