<?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>SDK libuartes problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74107/sdk-libuartes-problem</link><description>Hi there, 
 
 
 
 I&amp;#39;m using nrf52840 DK and Custom board, SDK 17.0.2, Segger Embedded Studio(SES v5.20 
 my problem was the code running fine but after a while it will go to the app_error_weak.c file and stop to NRF_BREAKPOINT_COND; line. 
 i don&amp;#39;t understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Apr 2021 05:41:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74107/sdk-libuartes-problem" /><item><title>RE: SDK libuartes problem</title><link>https://devzone.nordicsemi.com/thread/305688?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 05:41:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e93459-8656-4c56-9edf-ffff900e7d91</guid><dc:creator>HimanshuR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Resolved the issue. Thank you so much for the help.&lt;/p&gt;
&lt;p&gt;Himanshu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK libuartes problem</title><link>https://devzone.nordicsemi.com/thread/305634?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 16:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f3949b5-7dc2-4725-bad3-22ef55555b32</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Thank you, that helps. It looks like the problem is that you do not release the RX buffers&amp;nbsp;after they have been processed in the&amp;nbsp;NRF_LIBUARTE_ASYNC_EVT_RX_DATA event. You need to call&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__libuarte__async.html#gaca89dd833a2d39f9896836d76ea42e45"&gt;nrf_libuarte_async_rx_free&lt;/a&gt;(), with with the received buffer and length, if not the library will run out of buffers to use.&lt;/p&gt;
&lt;p&gt;E.g:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;case NRF_LIBUARTE_ASYNC_EVT_RX_DATA
    strcat(uart0_array, p_evt-&amp;gt;data.rxtx.p_data);
    // Done processing buffer, release buffer back to libUARTE
    nrf_libuarte_async_rx_free(p_libuarte, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);
    break;
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK libuartes problem</title><link>https://devzone.nordicsemi.com/thread/305618?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 15:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43b41f72-ea52-44b7-90fd-9ce09712ca6b</guid><dc:creator>HimanshuR</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;thanks for replying, here you go with a clear picture and I also paste the RRT log into the code section. because of this we stuck and not moving forward please help me out.&lt;/p&gt;
&lt;p&gt;himanshu&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 0 [NRF_SUCCESS] at D:\Raj\nRF5_SDK_17.0.2_d674dde\components\libraries\libuarte\nrf_libuarte_async.c:230
00&amp;gt; 
00&amp;gt; PC at: 0x00002D1B
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: End of error report
00&amp;gt; &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="493" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/logs.jpeg" width="672" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK libuartes problem</title><link>https://devzone.nordicsemi.com/thread/305458?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 09:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84dabecc-35a4-401c-b233-070d9f6db074</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you post the full output from your RTT Viewer window? It is not visible in your screenshot exactly where the error occurred. It is also strange if you managed to end up in the error handler with an error code of zero (NRF_SUCCESS).&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>