<?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>error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79559/error-app-fatal-error</link><description>Dear Members, 
 
 How can I find the cause of 
 &amp;lt;error&amp;gt; app: Fatal error ? 
 I can&amp;#39;t see an error code ? 
 
 Is it possible hardware error because voltage surge ? Can capacitor rectify it ? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Sep 2021 09:58:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79559/error-app-fatal-error" /><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329974?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 09:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78e9683c-1698-4990-bfb6-c6b362c6cfe7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I am not sure, that depends on the root cause of this issue. Which SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329964?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 09:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b3c0911-f139-4b56-8658-98c7d00bcce0</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;do you think 1024 for RxBuffer ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329960?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 08:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bbe711d-b311-4ee0-a2a0-6790733bcdd0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not see that the baud rate is relevant here. Did you try to &lt;em&gt;increase&lt;/em&gt; the buffer? There is also a &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/51930/libuarte-sdk15-3-hwfc-does-not-look-fully-supported/210773#210773"&gt;thread here,&lt;/a&gt; which may be relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329948?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 07:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01b16239-16b3-40ac-8056-174239d9a283</guid><dc:creator>RixtronixLAB</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/79559/error-app-fatal-error/329849#329849"]NRF_CLI_LIBUARTE_DEF().[/quote]
&lt;p&gt;I have uint8_t&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;rxBuffer[256]; &lt;/p&gt;
&lt;p&gt;for libuarte GPS , I try reducing the size but still got the same error, any ideas ?,&lt;/p&gt;
&lt;p&gt;How can I handle incoming data faster ? it&amp;#39;s connected at 9600 baud, is it too slow ? thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_libuarte_async_config_t nrf_libuarte_async_config1 = {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .tx_pin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SER_APP_TX_PIN,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .rx_pin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SER_APP_RX_PIN,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .baudrate&amp;nbsp;&amp;nbsp; = NRF_UARTE_BAUDRATE_9600,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .parity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NRF_UARTE_PARITY_EXCLUDED,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .hwfc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NRF_UARTE_HWFC_DISABLED,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .timeout_us = 1000,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .int_prio&amp;nbsp;&amp;nbsp; = APP_IRQ_PRIORITY_LOW&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329849?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 12:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d83eab-f249-43b3-ac16-c4af956bfc75</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looking at the code line 230 has the&amp;nbsp;APP_ERROR_CHECK_BOOL you see in this snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    case NRF_LIBUARTE_DRV_EVT_RX_BUF_REQ:
    {
        if (p_libuarte-&amp;gt;p_ctrl_blk-&amp;gt;rx_halted)
        {
            break;
        }

        if (rx_buffer_schedule(p_libuarte) == false)
        {
            if (p_libuarte-&amp;gt;p_ctrl_blk-&amp;gt;hwfc)
            {
                p_libuarte-&amp;gt;p_ctrl_blk-&amp;gt;rx_halted = true;
            }
            else
            {
                NRF_LOG_ERROR(&amp;quot;(evt) Failed to allocate buffer for RX.&amp;quot;);
                APP_ERROR_CHECK_BOOL(false);
            }
        }
        break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So it seems like you are not handling incoming data fast enough in your application. I suggest you either try to handle incoming data faster, or change the buffer sizes which you configure where you use&amp;nbsp;NRF_CLI_LIBUARTE_DEF().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329843?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 12:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbf5177c-5adc-45d5-919e-0b2e9ace2609</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;I got this error :&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: ERROR 0 [NRF_SUCCESS] at ..\..\..\..\..\..\..\..\components\librari&lt;br /&gt;&lt;br /&gt;\libuarte\nrf_libuarte_async.c:230&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;at: 0x000390A3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;rror&amp;gt; app: End of error report &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How can I rectify it ? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329721?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 07:18:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc7ec59d-7d95-4f2b-896a-c227f4100c00</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Thanks Einar, I&amp;#39;m compiling and uploading now, I&amp;#39;ll keep posted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329714?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 06:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:606e7635-dfca-4a94-9e03-ce3758fd3889</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;With Keil, go to Project -&amp;gt; Options for Target ...., and then select the C/C++ tab. There add &amp;quot;DEBUG&amp;quot; and &amp;quot;DEBUG_NRF&amp;quot; to the preprocessor define list as shown here:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/keil_5F00_defines.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;If you want to debug (break in code, inspect with a debugger etc.) it makes sense to also set the optimization level to 0. That is not related to logging, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329703?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 05:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1be289b-33be-4d34-8a17-0ed3c1b87902</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;I get a clue just now, when the board lost connection with the sensor, ANT HRM sensor, it&amp;#39;s giving me&lt;/p&gt;
&lt;h1 class="name"&gt;&lt;span style="font-size:75%;"&gt;&amp;quot;error app: Fatal error&amp;quot;&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;If I used Keil, how can set &amp;quot;Debug&amp;quot; build ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error  app: Fatal error ?</title><link>https://devzone.nordicsemi.com/thread/329136?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 06:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77e5753-5b80-4c1e-8c9d-699d89c77569</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I can&amp;#39;t see an error code ?[/quote]
&lt;p&gt;You will get more information (file name, line number and error code) by testing with a debug build. If you use a Segger embedded studio project from the SDK, simply select &amp;quot;Debug&amp;quot; from the build configurations dropdown menu. If using something else, define &amp;quot;DEBUG&amp;quot; and &amp;quot;DEBUG_NRF&amp;quot;.&lt;/p&gt;
[quote user=""]Is it possible hardware error because voltage surge ? Can capacitor rectify it ?[/quote]
&lt;p&gt;We need to know what the error code was and from where it was returned before we can consider what caused it and how it can be fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>