<?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>Difficulties directing shell to both RTT and UART backend</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90266/difficulties-directing-shell-to-both-rtt-and-uart-backend</link><description>Hi, 
 I am experiencing difficulties directing shell to both RTT and UART backend simultaneously for ncs v1.8.0. UART stops outputting while RTT is disconnected and only seems to output when RTT viewer is connected. 
 I am using the sample in zephyr/samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jul 2022 14:17:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90266/difficulties-directing-shell-to-both-rtt-and-uart-backend" /><item><title>RE: Difficulties directing shell to both RTT and UART backend</title><link>https://devzone.nordicsemi.com/thread/379157?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 14:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c58d7c-d8cb-4acc-80ea-844460f21d4e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Alyssa,&lt;/p&gt;
&lt;p&gt;It looks like some timing issue, where deactivation of the RTT shell deactivates the UART shell at the same times.&lt;/p&gt;
&lt;p&gt;I tried to increase the loop sleep time to 1 second, and the issue did not appear as often as before.&lt;/p&gt;
&lt;p&gt;In addition to this, I were able to decrease the apparance of the issue by tuning the Shell backend configurations using the VS Code Kconfig extension:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1659017251122v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I try to change the configurations a bit yourself, and see if you are able to solve the issue.&lt;/p&gt;
&lt;p&gt;Another thing which is weird:&lt;/p&gt;
&lt;p&gt;When I try to reproduce the issue while debugging using VS Code (without Kconfig changes), both RTT and UART works all the time, even if I repeatedly reconnect RTT.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulties directing shell to both RTT and UART backend</title><link>https://devzone.nordicsemi.com/thread/378756?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 14:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d62063a-9ac9-45b0-944e-424935fb8c66</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Alyssa,&lt;/p&gt;
&lt;p&gt;Due to lower staffing in the summer vacation, it takes longer than normal to answer cases.&lt;/p&gt;
&lt;p&gt;I am sorry that it takes some time. But I will have a closer look at your case and give you an answer by end of Thursday.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulties directing shell to both RTT and UART backend</title><link>https://devzone.nordicsemi.com/thread/378365?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2022 16:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a58a993b-6c40-4af9-a9f7-405c325bd378</guid><dc:creator>ahoward</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like shell functionality and logging on both RTT and UART. It&amp;#39;s able to this as long as RTT is connected, but once the viewer is disconnected, both logging and shell functionality stop on UART.&lt;/p&gt;
&lt;p&gt;Alyssa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulties directing shell to both RTT and UART backend</title><link>https://devzone.nordicsemi.com/thread/378263?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2022 10:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3e09ee4-0711-4acd-9974-6a69296ee07f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Alussa,&lt;/p&gt;
&lt;p&gt;So you need to have shell functionality (input+output) on the RTT, but only log on UART(output)?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>