This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

error app: Fatal error ?

Dear Members,

How can I find the cause of

<error> app: Fatal error ?

I can't see an error code ?

Is it possible hardware error because voltage surge ? Can capacitor rectify it ?

Thanks

Parents
  • I got this error :

    <error> app: ERROR 0 [NRF_SUCCESS] at ..\..\..\..\..\..\..\..\components\librari

    \libuarte\nrf_libuarte_async.c:230
                                               

     at: 0x000390A3
                                                                  

    rror> app: End of error report

    How can I rectify it ? thanks

  • Hi,

    Looking at the code line 230 has the APP_ERROR_CHECK_BOOL you see in this snippet:

        case NRF_LIBUARTE_DRV_EVT_RX_BUF_REQ:
        {
            if (p_libuarte->p_ctrl_blk->rx_halted)
            {
                break;
            }
    
            if (rx_buffer_schedule(p_libuarte) == false)
            {
                if (p_libuarte->p_ctrl_blk->hwfc)
                {
                    p_libuarte->p_ctrl_blk->rx_halted = true;
                }
                else
                {
                    NRF_LOG_ERROR("(evt) Failed to allocate buffer for RX.");
                    APP_ERROR_CHECK_BOOL(false);
                }
            }
            break;

    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 NRF_CLI_LIBUARTE_DEF().

Reply
  • Hi,

    Looking at the code line 230 has the APP_ERROR_CHECK_BOOL you see in this snippet:

        case NRF_LIBUARTE_DRV_EVT_RX_BUF_REQ:
        {
            if (p_libuarte->p_ctrl_blk->rx_halted)
            {
                break;
            }
    
            if (rx_buffer_schedule(p_libuarte) == false)
            {
                if (p_libuarte->p_ctrl_blk->hwfc)
                {
                    p_libuarte->p_ctrl_blk->rx_halted = true;
                }
                else
                {
                    NRF_LOG_ERROR("(evt) Failed to allocate buffer for RX.");
                    APP_ERROR_CHECK_BOOL(false);
                }
            }
            break;

    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 NRF_CLI_LIBUARTE_DEF().

Children
Related