<?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>CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56569/cli-problem-warning-backends-flushed</link><description>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] &amp;lt;warning&amp;gt; app: Prints backends flushed repeatedly. 
 and then, uart_cli:~$ input line is disappeared and dead. 
 how can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jul 2021 06:13:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56569/cli-problem-warning-backends-flushed" /><item><title>RE: CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/thread/321934?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 06:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4c0eee0-797d-40ed-aee1-f312949c14ef</guid><dc:creator>yu1998</dc:creator><description>&lt;p&gt;I&amp;#39;m wondering if i enter too fast the cli will stuck and cannot enter anymore how do I fix that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/thread/315007?ContentTypeID=1</link><pubDate>Sat, 12 Jun 2021 15:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be8f8ec-60d9-448c-b449-d3fea184f209</guid><dc:creator>gilbertjuly</dc:creator><description>&lt;p&gt;Are these two lines a must?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t want to use CLI function, I just want the flash crashlog backend function, but &amp;quot;Backends flushed&amp;quot; message kept showing...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/thread/231771?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 00:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90563bb9-80b0-4e2f-bbed-58464b6086d2</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;I found solution.&lt;/p&gt;
&lt;p&gt;attach&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());
cli_process();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;after log print.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/thread/229854?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 13:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8afba3b1-e2a2-43ae-9c6c-540a4c947933</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hmm, try increasing the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE&lt;/p&gt;
&lt;p&gt;and possibly&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_LOG_MSGPOOL_ELEMENT_SIZE&lt;/p&gt;
&lt;p&gt;in sdk_config.h&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/thread/229499?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 00:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec96f610-e322-438a-80b1-3dcc25946cc5</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span&gt;It is not working... I increase&amp;nbsp;&lt;/span&gt;&lt;/span&gt;16384 from&amp;nbsp;2048.&lt;/p&gt;
&lt;p&gt;I guess it is related on Log queue. how can I increase LOG queue?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I increase some values of log in sdk_config.h file. but It doesn&amp;#39;t work...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI problem? warning Backends flushed.</title><link>https://devzone.nordicsemi.com/thread/229418?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 13:28:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:529f4758-8577-4eca-b538-71685050ec85</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;It could seem that you are queuing more packets than the logging backend is able to process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;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-&amp;gt;p_cb-&amp;gt;p_next;
    }
    NRF_LOG_WARNING(&amp;quot;Backends flushed&amp;quot;);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could you try to increase the log buffer, i.e. increase&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_LOG_BUFSIZE&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in sdk_config.h?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>