<?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>nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84847/nrf52840dk-jlink-ob-usb-cdc-offsets-1-character</link><description>I have read through similar posts, though none seem to talk directly about the DK and the JLink OB (SAM IC) missing bytes itself. 
 To start off with, I have created a basic console application on NCS v1.8.0 on my nrf52840dk. Utilising the USB CDC for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Jul 2022 12:39:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84847/nrf52840dk-jlink-ob-usb-cdc-offsets-1-character" /><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/376216?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2022 12:39:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2dec9f3-437a-4959-9c7a-e9e35b10f6d9</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;OK thanks for the update. Go forth with a new ticket and and all your system info, then we can work on a solution there.&amp;nbsp;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/376100?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2022 06:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:609f0c08-1f04-457c-804d-b92086bff686</guid><dc:creator>blablub</dc:creator><description>&lt;p&gt;Hi, thanks for your reply. Yes I also tried with an external hub, but still connected to the same AMD USB root controller. I have no other USB controllers on this specific machine. I will open a new Devzone Ticket for that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/375845?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 14:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd973c5b-c13c-4d17-8925-ade711ce9e40</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi blablub,&lt;br /&gt;&lt;br /&gt;The issue might be a AMD issue, have you tried with an external powered USB hub?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And also, you can create a new Devzone ticket an&amp;nbsp;link to this and we will try to find a solution with you.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/375605?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 15:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15bfba22-c91e-428d-873b-ce585900e0cb</guid><dc:creator>blablub</dc:creator><description>&lt;p&gt;Hello rfleming, I use the same nrf52840dk board as you do. I even have the same rev. 2.0.1 on my table. VCOM was not usable when the issue occurs. (I have also other revisions which show the same issue).&lt;/p&gt;
&lt;p&gt;While developing a product, I came across the same weird issues. When typing on the Zephyr shell, I was always lagging a character behind. No one else at my company experienced such issues and we use the boards extensively. This made developing scripts for VCOM unusable.&lt;/p&gt;
&lt;p&gt;My findings are:&lt;/p&gt;
&lt;p&gt;- I had only a single workstation which caused the problem every time I programmed a new image. Ryzen 5900x with a B550 board. Thinkpads were ok. The workstation was running for months and a cold boot eventually solved the issue.&lt;/p&gt;
&lt;p&gt;- Flashing a new FW to the interface MCU resets the problem. But it was persistent until then.&lt;/p&gt;
&lt;p&gt;- Never tried a rev. 3.0.0 board, but with rev. 3.0.0 the Atmel chip was replaced with an Nordic one. Maybe it helps.&lt;/p&gt;
&lt;p&gt;- When I solder an external FTDI USB to UART adapter to the VCOM pins i have no issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/354325?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 11:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac2c5c4a-e98f-43e5-94ef-85888587a807</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Sorry for the misunderstanding,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes the interface MCU has a bootloader on it, you can access it by holding the reset button while powering on the kit, does&amp;nbsp;show up as a BOOTLOADER drive.&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645531171312v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;then its drag and drop.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/354234?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 23:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d359dc6a-ee1b-4851-a531-a3e3a9f3ee00</guid><dc:creator>rfleming</dc:creator><description>&lt;p&gt;Hi Jon,&lt;/p&gt;
&lt;p&gt;In this case I was referring to programming the Atmel (Microchip) based ATSAM3U2CA - the IC chosen to use as the Jlink OB. I do believe this IC is supported by the Atmel ICE. However, I do also have an external JLink Pro that I could use to reprogram the Onboard Jlink OB as well. Though I don&amp;#39;t know what the best way to go about it. Does the OB for instance, have a bootloader that I could simply upgrade/reflash its firmware over USB? Or is it better to reflash the chip entirely?&lt;/p&gt;
&lt;p&gt;As you mentioned though if I don&amp;#39;t come to a solution, I may just bypass the USB CDC convenience and use and external USB to Serial converter.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Ryan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/354154?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 13:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cdb2f6c-ae57-418a-8ead-ec65550523d5</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The&amp;nbsp;Atmel ICE programmer will not work, as far as i am aware it does not support nRF products, so you will have to find some other tool to use it i belive.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It has ben asked before here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18486/nrfjprog-supported-swd-devices"&gt;(+) nrfjprog supported SWD devices - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you try to use a different interface, bypass the debugger chip. &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/solder_bridge.html?cp=4_0_4_7_12"&gt;Cutting SB50 to 53&lt;/a&gt; will give you access to the MCU lines so you could use something else then the onboard programmer chip.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/354015?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 00:29:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eec4b1cd-69aa-44aa-9cdc-b2cf53f7eae1</guid><dc:creator>rfleming</dc:creator><description>&lt;p&gt;Unfortunately, I only have the 1x nrf52840dk. It is also the only Nordic&amp;nbsp;kit&amp;nbsp;I have that contains the onboard J-Link IC. All others require the external programmers.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: Also note I have Atmel Studio installed with an Atmel ICE programmer, so if required I could simply write any new/old binary with that. If, of course the security IO is not set etc. I know this is a competitors IC of sorts, so it could be a bit of a conflict and I am happy to reach out to Segger directly if that&amp;#39;s more appropriate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840dk Jlink OB USB cdc offsets 1 character</title><link>https://devzone.nordicsemi.com/thread/353910?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 15:42:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6819a1a2-ce53-4702-8b52-3560c6c6adf3</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you have a different DK to test and probe to see if it acts differently? just to confirm that it might be a JLink OB IC issue.&lt;br /&gt;&lt;br /&gt;I will look at this case and get back to you with more questions and answers, early next week.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>