<?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 over UART Unresponsive</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48628/cli-over-uart-unresponsive</link><description>I developed a FreeRTOS application which uses NRF_LOG and CLI enabled. The CLI is used to accept user input, and I used NRF_LOG for system logging. Everything works great over RTT, however the UART only prints out the welcome message then basically freezes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jul 2019 16:42:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48628/cli-over-uart-unresponsive" /><item><title>RE: CLI over UART Unresponsive</title><link>https://devzone.nordicsemi.com/thread/196331?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2019 16:42:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5e974f5-81b9-40fa-ae1f-3d01ec8a3bbc</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Nope, what I ended up doing was using the FreeRTOS+ source code which contains its own CLI module.&amp;nbsp; I brought that source code into my project and connected it to the SDK peripherals.&amp;nbsp; Its a very similar API to the SDK CLI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI over UART Unresponsive</title><link>https://devzone.nordicsemi.com/thread/196103?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2019 03:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7519a8fe-ad1f-40a1-ae1a-7476b672547e</guid><dc:creator>wael</dc:creator><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;It looks like I&amp;#39;m facing a similar problem to yours. I had filed this issue:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48934/logging-over-cli-with-freertos"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48934/logging-over-cli-with-freertos&lt;/a&gt;&amp;nbsp;but did not get any responses from the community.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Were you able to find a way to get CLI working&amp;nbsp;with FreeRTOS?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Wael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI over UART Unresponsive</title><link>https://devzone.nordicsemi.com/thread/194349?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2019 12:11:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd205645-969b-479a-9482-c49612290e8f</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="6793" url="~/f/nordic-q-a/48628/cli-over-uart-unresponsive/193272"]CLI mode doesn&amp;#39;t like to run along side freeRTOS[/quote][quote userid="6793" url="~/f/nordic-q-a/48628/cli-over-uart-unresponsive/193957"]the CLI module known to be incompatible running in freeRTOS[/quote]
&lt;p&gt;Yes,&amp;nbsp;CLI UART with FreeRTOS is not fully compatible, as indicated in your other case a couple of months ago(id 220382). Some issues was fixed in SDK 15.3, e.g.&amp;nbsp;&lt;span&gt;app_timer_start() implementation for freertos (app_timer_freertos.c) asserting when called in UART&amp;nbsp;interrupt. But there&amp;nbsp;could also be other issues.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI over UART Unresponsive</title><link>https://devzone.nordicsemi.com/thread/193957?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 20:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58fbf1c5-ed46-4a64-94d3-9f495b9659a8</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Is the CLI module known to be incompatible running in freeRTOS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI over UART Unresponsive</title><link>https://devzone.nordicsemi.com/thread/193272?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 00:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67d2b56f-2273-43fc-812d-a8b1f9115d29</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I think this is likely because the CLI mode doesn&amp;#39;t like to run along side freeRTOS.&amp;nbsp; It only response to Received user input when the&amp;nbsp;RX ring buffer size number of characters is received.&amp;nbsp; Once this is exceeded a second time the module ASSERTs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>