<?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>Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82673/shell-uart-jlink-cdc-adm-rx-issue</link><description>Hi All, 
 I have a project which uses the zephyr shell, but I can reproduce the issue with zephyr/samples/subsys/shell/shell_module or any other sample making use of the UART input functionality sample. The sample appears to run correctly but when I input</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jan 2022 10:35:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82673/shell-uart-jlink-cdc-adm-rx-issue" /><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/349715?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 10:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e27462a3-b6b8-4c04-86cb-992b3a2f4d61</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That is excellent news. Thanks for the update, and for raising this with Segger &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/349620?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 16:39:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4a0ceab-c05d-41c4-b7a9-c2c67519a192</guid><dc:creator>Jean-Yves Moulin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I opened a bug report at SEGGER 20 days ago, the bug should be fixed in &lt;span style="color:#000000;float:none;font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;V7.60f&lt;/span&gt; of JLink (released today).&lt;/p&gt;
&lt;p&gt;The Segger DK firmware should be updated automatically by JLink tools (JLinkExe, GDBServer...etc).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/348844?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 07:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3be202be-3935-4985-b861-701d26e4cd7f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to contact Segger directly they can be reached through email at support@segger.com&lt;/p&gt;
&lt;p&gt;They are usually pretty responsive to technical requests.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/348613?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 03:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c73107d-211a-4d0b-a2f4-60eac5d990e2</guid><dc:creator>zoob</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/farhangj"&gt;Farhang&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Glad this helped you out! I understand your frustration as I myself faced this issue for a few days before I was able to figure out what happened.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Does Nordic release this FW or Segger?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I believe this FW is released by Segger, it is bundled with&amp;nbsp;&lt;a href="https://www.segger.com/downloads/jlink/"&gt;https://www.segger.com/downloads/jlink/&lt;/a&gt;. Looking at the release notes I think this is the offending change&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1642648812508v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been keeping an eye out on the&amp;nbsp;release notes&amp;nbsp;but haven&amp;#39;t seen any further updates to this particular firmware so I can only assume it has not been fixed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Are they informed of this bug?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I personally did not inform them, I replied with my solution/answer in this thread because it was the first place I started looking incase others experienced this before me. Perhaps I wrongly assumed that this issue would have been reported by others&amp;nbsp;and promptly fixed by Segger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/348594?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 21:35:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6603c159-69e4-4c0e-849a-050648a8769f</guid><dc:creator>Farhang</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/zoob"&gt;zoob&lt;/a&gt;&amp;nbsp;I came across the same issue with the Segger FW. The UART through USB CDC ACM somewhat works...but not perfectly enough. Sometimes characters get stuck or lost in the internal buffer of Segger, it seems.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;Part of my issues with the SMP Srv sample was caused by this buggy JLINK FW. I program the SMP SRV sample with serial support overlays -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;per instructions&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;span class="go"&gt;west build \&lt;/span&gt; &lt;span class="go"&gt; -b frdm_k64f \&lt;/span&gt; &lt;span class="go"&gt; samples/subsys/mgmt/mcumgr/smp_svr \&lt;/span&gt; &lt;span class="go"&gt; -- \&lt;/span&gt; &lt;span class="go"&gt; -DOVERLAY_CONFIG=&amp;#39;overlay-serial.conf;overlay-fs.conf;overlay-shell-mgmt.conf&amp;#39;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then if I update my Segger to the version provided in Segger software package 7.60d using the configurator, I can&amp;#39;t get MCUMGR responses for echo or &amp;quot;image list&amp;quot; command.&lt;br /&gt;If I downgrade Segger FW to version provided in 7.58d everything works.&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/new-FW-vs-Old.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;Frustrating because I spent hours trying to figure out why SMP wasn&amp;#39;t working on my custom FW - changing stacks and KCONFIG settings.. then realized it is the Segger FW.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Does Nordic release this FW or Segger? Are they informed of this bug?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/343478?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 16:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbd66aa2-ce3a-4134-87db-9679863ce5d8</guid><dc:creator>zoob</dc:creator><description>&lt;p&gt;With the help of the Zephyr community I figured out that the issue is with the latest FW bundled with&amp;nbsp;&lt;span&gt;J-Link Software and Documentation Pack. This FW gets updated automatically (did not realize this) and that is why the issue persisted.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The fix for me is to use the Jlink FW bundled with J-Link Software and Documentation&amp;nbsp;&lt;strong&gt;7.58d&lt;/strong&gt;&amp;nbsp;which include&amp;nbsp;&lt;strong&gt;FW&amp;nbsp;J-Link OB-SAM3U128-V2-NordicSemi compiled Feb&amp;nbsp; 2 2021 16:47:20.&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;J-link 7.58e &amp;amp; 7.60 contain FW&amp;nbsp;J-Link OB-SAM3U128-V2-NordicSemi compiled DEC&amp;nbsp; 3 2021 15:41:28 which was broken for me.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/343297?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 04:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af668460-60e1-4b87-8039-c16c713b202d</guid><dc:creator>zoob</dc:creator><description>&lt;p&gt;&lt;span&gt;I checked with&amp;nbsp;a logic analyzer, using an FTDI -&amp;gt; uart1 it works perfectly fine. The jlink ACM (uart0), however, fails to send the first character correctly. Seems the issue is with Jlink? I am sending the data using the exact same command to both interfaces &lt;/span&gt;&lt;code class="inline"&gt;python -c &amp;quot;import serial; s = serial.Serial(&amp;#39;/dev/ttyACM0&amp;#39;, baudrate=115200); s.write(b&amp;#39;help\r&amp;#39;)&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code class="inline"&gt;FTDI -&amp;gt; uart1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1639456801087v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Jlink ACM -&amp;gt; uart0&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1639456865605v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code class="inline"&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell/UART (Jlink CDC ADM) RX Issue</title><link>https://devzone.nordicsemi.com/thread/343220?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 14:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677adefd-0e70-4b49-a980-223b5e6dbb30</guid><dc:creator>zoob</dc:creator><description>&lt;p&gt;I was able to reproduce this issue on my other nrf52840dk board by simply flashing the&amp;nbsp;&lt;span&gt;&lt;em&gt;zephyr/samples/subsys/shell/shell_module&lt;/em&gt; sample from the main branch of nrf connect sdk which uses zephyr from about tag v2.7.0-ncs1-rc2. So it looks like its unrelated to my project but simply using the latest ncs. Going back to an older version of the ncs does not fix this behavior&amp;nbsp;so I&amp;#39;m guessing some settings persist (in the softdevice?).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>