<?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>Scanner freezes application without debugger connected on SD 6.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35380/scanner-freezes-application-without-debugger-connected-on-sd-6-0-0</link><description>Hello 
 The scanner causes the code to freeze when a debugger is not connected. 
 We are developing a system where one of our units is to run on the nRF52832. During development of the application we ran in to a problem after porting to SDK15 from 14</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Jun 2018 13:54:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35380/scanner-freezes-application-without-debugger-connected-on-sd-6-0-0" /><item><title>RE: Scanner freezes application without debugger connected on SD 6.0.0</title><link>https://devzone.nordicsemi.com/thread/135962?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 13:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f93c6a6-423d-48d9-8629-e9eeb40f4041</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;I was able to resolve this issue by setting RTT config mode:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;o&amp;gt; SEGGER_RTT_CONFIG_DEFAULT_MODE  - RTT behavior if the buffer is full.
 

// &amp;lt;i&amp;gt; The following modes are supported:
// &amp;lt;i&amp;gt; - SKIP  - Do not block, output nothing.
// &amp;lt;i&amp;gt; - TRIM  - Do not block, output as much as fits.
// &amp;lt;i&amp;gt; - BLOCK - Wait until there is space in the buffer.
// &amp;lt;0=&amp;gt; SKIP 
// &amp;lt;1=&amp;gt; TRIM 
// &amp;lt;2=&amp;gt; BLOCK_IF_FIFO_FULL 

#ifndef SEGGER_RTT_CONFIG_DEFAULT_MODE
#define SEGGER_RTT_CONFIG_DEFAULT_MODE 1
#endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The problem was we had this in block, after some troubleshooting on our own hardware. This caused the chip to halt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>