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

CLI problem? warning Backends flushed.

SDK: 15.3.0

I have developed PCA10056 board based on CLI example.

I tried to print debug strings.

but, [00: 00: 32.310,668] <warning> app: Prints backends flushed repeatedly.

and then, uart_cli:~$ input line is disappeared and dead.

how can I solve Backends flushed warning?

at dead, gdb where full - 

#0  0x00007ebc in app_usbd_string_desc_get (idx=0 '\000', langid=0) at ../../../../nRF52_SDK/components/libraries/usbd/app_usbd_string_desc.c:291
        lang_idx = 0 '\000'
        str_pos = 2 '\002'
#1  0x00000000 in ?? ()
No symbol table info available.

Parents
  • It could seem that you are queuing more packets than the logging backend is able to process. 

    Snippet from nrf_log_frontend_dequeue(void) in nrf_log_frontend.c
    
    else
    {
        //Could not allocate memobj - backends are not freeing them on time.
        nrf_log_backend_t const * p_backend = m_log_data.p_backend_head;
        //Flush all backends
        while (p_backend)
        {
            nrf_log_backend_flush(p_backend);
            p_backend = p_backend->p_cb->p_next;
        }
        NRF_LOG_WARNING("Backends flushed");
    }

    Could you try to increase the log buffer, i.e. increase 

    NRF_LOG_BUFSIZE 

    in sdk_config.h?

    Best regards

    Bjørn

  • It is not working... I increase 16384 from 2048.

    I guess it is related on Log queue. how can I increase LOG queue? 

    I increase some values of log in sdk_config.h file. but It doesn't work...

Reply Children
Related