<?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>nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91890/nrf52-reports-two-jlink-cdc-uart-ports</link><description>Hi 
 For some reasons my Windows 10 laptop reports two JLink CDC UART Ports when I connect one of my nRF52SDK boards.My plan is to use this board with nrf Sniffer / Wirshark, but that does not work when I have two ports for my nrf52DK. 
 Does anyone know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Sep 2022 11:54:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91890/nrf52-reports-two-jlink-cdc-uart-ports" /><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/387071?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2022 11:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a96e4ce2-feee-4e19-88e8-d257e7548087</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I have another solution, but it needs a DK with a chip that supports USB, so either nRF52833 or nRF52840 DK, but unfortunately not the nRF52 DK (with nRF52832). Another, cheaper option is to use the nRF52840 Dongle.&lt;/p&gt;
&lt;p&gt;The solution is that you can use the nRF USB port. This is actually the recommended way to use the sniffer, as &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/running_sniffer.html"&gt;mentioned in the documentation&lt;/a&gt;. This way you can also get more data throughput.&lt;/p&gt;
&lt;p&gt;The way you do this is by flashing the firmware normally first and then connecting the USB to the other USB port (nRF USB). You don&amp;#39;t have to change the position of any switches for that.&lt;br /&gt;nRF power source swtich is kept at VDD and nRF only switch at DEFAULT.&lt;/p&gt;
&lt;p&gt;This way it should be possible to use a board in the sniffer even with the new J-Link chip.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/386915?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 13:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac59e84-f70b-4135-bf0c-3c5a7b008458</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Peder Olav,&lt;/p&gt;
&lt;p&gt;Thank you for all the information. Unfortunately the nRF52DK version 3.0.0 has an nRF chip as a debugger chip, which does not support the sniffer yet.&lt;/p&gt;
&lt;p&gt;I will try to find out if there is any way or workaround to make the sniffer work, but for now the only solution is to use an older DK with the big debugger chip.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/386846?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 12:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b1bff38-f980-4bf2-bf89-23542f47fc37</guid><dc:creator>PederOlav</dc:creator><description>&lt;p&gt;Hi Michal&lt;/p&gt;
&lt;p&gt;At the time, I can only test with one single machine. But I have got two &amp;quot;new&amp;quot; nrf52DK, which have the same behaviour.&lt;/p&gt;
&lt;p&gt;1) PCA 10040, 3.0.0, 2022.12, 1050306386&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;&lt;span&gt;PCA 10040, 3.0.0, 2022.12, 1050377478&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I connect I get these ports up in Device Manager:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1663587789025v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I did a reflashing with the latest FW I found on the web site (j-link-ob-sam3u128-v2-nordicsemi-170724.bin). It did not seem to change anything. Is there a way to read out the FW version of the nrf52DK?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can program the nrf52DK with e.g. nRF Programmer 3.0.3. But when I try to use this with the nRF Sniffer, I get the following error in Wireshark:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1663588316511v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is from the nRF Sniffer log file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;13-Sep-2022 08:10:21 (+0200) INFO: --------------------------------------------------------&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: Software version: 4.1.0&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: Started PID 20796&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: Namespace(capture=False, extcap_interfaces=True, extcap_interface=None, extcap_dlts=False, extcap_config=False, extcap_capture_filter=None, fifo=None, extcap_control_in=None, extcap_control_out=None, extcap_version=&amp;#39;3.6&amp;#39;, device=&amp;#39;&amp;#39;, baudrate=None, only_advertising=False, only_legacy_advertising=False, scan_follow_rsp=False, scan_follow_aux=False, coded=False)&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: Opening serial port COM8&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: closing UART&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: Opening serial port COM8&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: closing UART&lt;br /&gt;13-Sep-2022 08:10:21 (+0200) INFO: Opening serial port COM9&lt;br /&gt;13-Sep-2022 08:10:22 (+0200) INFO: closing UART&lt;br /&gt;13-Sep-2022 08:10:22 (+0200) INFO: Opening serial port COM6&lt;br /&gt;13-Sep-2022 08:10:22 (+0200) ERROR: Error opening UART Cannot configure port, something went wrong. Original message: OSError(22, &amp;#39;The parameter is incorrect.&amp;#39;, None, 87)&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;C:\Users\s29298\AppData\Roaming\Wireshark\extcap\SnifferAPI\Packet.py&amp;quot;, line 74, in __init__&lt;br /&gt; self.uart = UART.Uart(portnum, baudrate)&lt;br /&gt; File &amp;quot;C:\Users\s29298\AppData\Roaming\Wireshark\extcap\SnifferAPI\UART.py&amp;quot;, line 130, in __init__&lt;br /&gt; self.ser.baudrate = baudrate&lt;br /&gt; File &amp;quot;C:\Python310\lib\site-packages\serial\serialutil.py&amp;quot;, line 299, in baudrate&lt;br /&gt; self._reconfigure_port()&lt;br /&gt; File &amp;quot;C:\Python310\lib\site-packages\serial\serialwin32.py&amp;quot;, line 222, in _reconfigure_port&lt;br /&gt; raise SerialException(&lt;br /&gt;serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, &amp;#39;The parameter is incorrect.&amp;#39;, None, 87)&lt;br /&gt;13-Sep-2022 08:10:22 (+0200) INFO: Opening serial port None&lt;br /&gt;13-Sep-2022 08:10:22 (+0200) INFO: Opening serial port COM6&lt;br /&gt;13-Sep-2022 08:10:22 (+0200) ERROR: Error opening UART Cannot configure port, something went wrong. Original message: OSError(22, &amp;#39;The parameter is incorrect.&amp;#39;, None, 87)&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;C:\Users\s29298\AppData\Roaming\Wireshark\extcap\SnifferAPI\Packet.py&amp;quot;, line 74, in __init__&lt;br /&gt; self.uart = UART.Uart(portnum, baudrate)&lt;br /&gt; File &amp;quot;C:\Users\s29298\AppData\Roaming\Wireshark\extcap\SnifferAPI\UART.py&amp;quot;, line 130, in __init__&lt;br /&gt; self.ser.baudrate = baudrate&lt;br /&gt; File &amp;quot;C:\Python310\lib\site-packages\serial\serialutil.py&amp;quot;, line 299, in baudrate&lt;br /&gt; self._reconfigure_port()&lt;br /&gt; File &amp;quot;C:\Python310\lib\site-packages\serial\serialwin32.py&amp;quot;, line 222, in _reconfigure_port&lt;br /&gt; raise SerialException(&lt;br /&gt;serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, &amp;#39;The parameter is incorrect.&amp;#39;, None, 87)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I use my older nRF52 DK,(PCA10040,1.2.4, 2019.19, 682250149), the device manager shows only one COM port and this DK works with the nRF Sniffer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1663588765777v4.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have a feeling there is something with the nRF52DK MCU firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Peder Olav&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/386410?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 13:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709b6d6d-6d36-4bd0-9fcc-8ac0da696867</guid><dc:creator>olgo</dc:creator><description>&lt;p&gt;Sorry for stealing the ticket, just wanted to inform you all that it is a general problem.&lt;/p&gt;
&lt;p&gt;Thanks for your input. Looking forward to hearing from you again in the matter.&lt;/p&gt;
&lt;p&gt;/Ola&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/386399?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 12:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b52b1a-f65e-4070-a274-859f5cc9e1af</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please make a new ticket in the future.&lt;/p&gt;
&lt;p&gt;Unfortunately, there are some issues with the nRF52840 v3.0.x, because of the new interface MCU chip. They use nRF5340, while the old DKs used a Microchip IC (sam3u128).&lt;/p&gt;
&lt;p&gt;Which is also why you cannot flash the firmware made for the old interface MCU on the new one. The firmware for the new interface MCU is not available for download at the time.&lt;/p&gt;
&lt;p&gt;I will ask the developers about the current status, but I know that there is an issue with nRF Sniffer and a few other things not working properly on the new DKs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/386258?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 20:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cda79c1-6605-49ad-931f-2f922f5ab534</guid><dc:creator>olgo</dc:creator><description>&lt;p&gt;I have the exact same problem. Jlink CDC UART Ports on both COM6 and COM7.&lt;/p&gt;
&lt;p&gt;Tried on two different windows machines.&lt;/p&gt;
&lt;p&gt;HW used is&amp;nbsp;&lt;span&gt;nRF52840 DK, version 3.0.3, serial 1050210048&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Interestingly, I can still flash using segger embedded studio but nRF Sniffer does not work.&lt;/p&gt;
&lt;p&gt;I can also not flash using the normal programmer nor rfGo Studio.&lt;/p&gt;
&lt;p&gt;I downloaded&amp;nbsp;j-link-ob-sam3u128-v2-nordicsemi-170724.bin and dropped it in the mounted drive but it does not update.&lt;/p&gt;
&lt;p&gt;FAIL.TXT tells me that &amp;quot;The currently active SWD interface does not support MSD drag and drop&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reports two JLink CDC UART Ports</title><link>https://devzone.nordicsemi.com/thread/386001?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 13:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd63b841-9992-4217-ba59-f9e824a67bdd</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Peder Olav,&lt;/p&gt;
&lt;p&gt;Does this happen only on that single machine?&lt;/p&gt;
&lt;p&gt;Just to make sure, it is the old nRF52 DK, not for example nRF52840 DK? Please also provide me with the DK version number.&lt;/p&gt;
&lt;p&gt;What kind of errors do you get? Any screenshots?&lt;/p&gt;
&lt;p&gt;What you could try doing is reflashing the J-Link &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf52-dk/download#infotabs"&gt;Interface MCU firmware&lt;/a&gt; (as it is documented &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf52832_dk%2FUG%2Fnrf52_DK%2Fintro.html"&gt;here&lt;/a&gt;) and see if that solves the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>