<?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>NRF52DK stops without the debagging processes turned on?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88348/nrf52dk-stops-without-the-debagging-processes-turned-on</link><description>Hello all, 
 I have made a simple app that runs in loop on the nRF52DK, in general it reads data from the sensor via twi and turns on the leds ... 
 When the program is run within the Segger studio the data is observed, for example, data is read by the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 May 2022 10:53:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88348/nrf52dk-stops-without-the-debagging-processes-turned-on" /><item><title>RE: NRF52DK stops without the debagging processes turned on?</title><link>https://devzone.nordicsemi.com/thread/370169?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 10:53:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94cbb75f-d6b8-4bc1-852c-27c396ac5f78</guid><dc:creator>MuRa</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help.&amp;nbsp; Indeed, the RTT is used to print out the values that are obtain from the sensor.&lt;/p&gt;
&lt;p&gt;Previous configuration:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//
  // Configure J-Scope RTT buffer for THREE unsigned ints
  //
  SEGGER_RTT_ConfigUpBuffer(JS_RTT_Channel, &amp;quot;JScope_U4U4U4&amp;quot;, &amp;amp;JS_RTT_UpBuffer[0], sizeof(JS_RTT_UpBuffer), SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And current configuration:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; SEGGER_RTT_ConfigUpBuffer(JS_RTT_Channel, &amp;quot;JScope_U4U4U4&amp;quot;, &amp;amp;JS_RTT_UpBuffer[0], sizeof(JS_RTT_UpBuffer), SEGGER_RTT_MODE_NO_BLOCK_SKIP);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is now working!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52DK stops without the debagging processes turned on?</title><link>https://devzone.nordicsemi.com/thread/369779?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 12:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b3cc13f-f5f5-417f-bf92-93153bf70372</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using RTT logging? If you do, have you configured this to&amp;nbsp;BLOCK_IF_FIFO_FULL in your sdk_config.h file?&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 0
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If not, what are you doing in your application? Is there any errors reported before the &amp;quot;freeze&amp;quot;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>