<?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>Wireshark doesn&amp;#39;t see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61410/wireshark-doesn-t-see-nrf51-dongle-sniffer</link><description>The nRF sniffer is not listed in the Wireshark interface list. 
 Software versions: Windows 10 Pro 64 bit, Python 3.8, Wireshark 3.2.3, nRF Connect 3.3.3, Sniffer 3.0.0. 
 I programmed the dongle with hex image: sniffer_pca10031_129d2b3.hex . The toolbar</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 May 2020 14:58:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61410/wireshark-doesn-t-see-nrf51-dongle-sniffer" /><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/251754?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 14:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dec245ef-cc69-4283-913b-d5e8819c7f1a</guid><dc:creator>Han Vertegaal</dc:creator><description>&lt;p&gt;The &amp;#39;JLink CDC UART Port (COM3)&amp;#39; is listed in the Device Manger.&lt;/p&gt;
&lt;p&gt;Running as Admin doesn&amp;#39;t change the outcome.&lt;/p&gt;
&lt;p&gt;It seems to me that there is a problem with the virtual COM port on this specific PC, as the software runs on other PCs. The same problem occurs with unrelated software, so I think it&amp;#39;s fair to close this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/251421?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 09:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67c08f05-8cb9-4a6c-9c1b-a62f2157f10f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Han Vertegaal"]Could it be that the programmer bypasses the COM port emulator and talks directly to the USB?[/quote]
&lt;p&gt;&amp;nbsp;As your thought, the programmer app communicates through the Jlink interface while the BLE app communicates through the VCOM.&amp;nbsp;&lt;/p&gt;
[quote user="Han Vertegaal"]2020-05-18T11:44:13.970Z ERROR Received status with code 5 IO_RESOURCES_UNAVAILABLE, message: &amp;#39;Error setting up serial port COM3. open: Access is denied.: Access is denied.&amp;#39;[/quote]
&lt;p&gt;You could try to run nRF connect as admin since the error says &amp;quot;access denied&amp;quot;, and also check if the JLink COM port is listed in the &amp;quot;Device manager&amp;quot;.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/251177?ContentTypeID=1</link><pubDate>Fri, 22 May 2020 07:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:219dd688-f211-4b6d-9d2e-46cc13fd0533</guid><dc:creator>Han Vertegaal</dc:creator><description>&lt;p&gt;Sorry for the delay. I tried, but the problem remains.&lt;/p&gt;
&lt;p&gt;Do you have an idea about the difference between the BLE app and the programmer where it comes to communicating with the device. Could it be that the programmer bypasses the COM port emulator and talks directly to the USB?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/250608?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 08:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18c62205-1100-40cf-b33e-86e608f97695</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Han,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try other USB ports and do the&amp;nbsp;&lt;span&gt;Vidar&amp;#39;s suggestion again?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/250426?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 11:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677a4693-8b1d-4f08-a194-f2b063342531</guid><dc:creator>Han Vertegaal</dc:creator><description>&lt;p&gt;I erased the dongle using the programmer. Then started BLE, but I got the exact same log (error opening COM3). Next, I reprogrammed the device so I can user it as a sniffer again on my other PC. Reprogramming worked fine. Next, I started BLE again, and it prompted me that the dongle needed to be reprogrammed. Clicking Ok in the dialog resulted in the following log:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;2020-05-18T11:43:49.575Z INFO Application data folder: C:\Users\han\AppData\Roaming\nrfconnect\pc-nrfconnect-ble&lt;br /&gt;2020-05-18T11:43:49.648Z DEBUG App pc-nrfconnect-ble v2.3.2 official&lt;br /&gt;2020-05-18T11:43:49.648Z DEBUG App path: C:\Users\han\.nrfconnect-apps\node_modules\pc-nrfconnect-ble&lt;br /&gt;2020-05-18T11:43:49.648Z DEBUG nRFConnect 3.3.3 is supported by the app (^3.2.0)&lt;br /&gt;2020-05-18T11:43:49.648Z DEBUG nRFConnect path: C:\Users\han\AppData\Local\Programs\nrfconnect\resources\app.asar&lt;br /&gt;2020-05-18T11:43:49.648Z DEBUG HomeDir: C:\Users\han&lt;br /&gt;2020-05-18T11:43:49.649Z DEBUG TmpDir: C:\Users\han\AppData\Local\Temp&lt;br /&gt;2020-05-18T11:44:00.109Z INFO Validating connectivity firmware for device with serial number 000680450780...&lt;br /&gt;2020-05-18T11:44:12.565Z INFO Connectivity firmware is valid.&lt;br /&gt;2020-05-18T11:44:12.565Z INFO Getting information from J-Link debugger...&lt;br /&gt;2020-05-18T11:44:13.251Z INFO Found device type: nRF51. J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00.&lt;br /&gt;2020-05-18T11:44:13.251Z INFO Connectivity firmware version: 4.1.1. SoftDevice API version: 2. Baud rate: 1000000.&lt;br /&gt;2020-05-18T11:44:13.251Z INFO Opening adapter connected to COM3&lt;br /&gt;2020-05-18T11:44:13.970Z ERROR Received status with code 5 IO_RESOURCES_UNAVAILABLE, message: &amp;#39;Error setting up serial port COM3. open: Access is denied.: Access is denied.&amp;#39;&lt;br /&gt;2020-05-18T11:44:13.971Z DEBUG State change: STATE_START -&amp;gt; STATE_FAILED&lt;br /&gt;2020-05-18T11:44:16.996Z ERROR Error occured when opening port. Errorcode: Unknown value (0x8029)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Looking at the memory map using the programmer, it seem that the BLE app did indeed program a new image, but subsequently failed to connect.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1589803117154v1.png" alt=" " /&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Apparently, if the BLE app communicates through J-Link (as does the programmer) everything works, but when it accesses the COM3 port directly (?) it fails.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/250419?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 11:37:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b73d4903-7810-4063-9625-4ae03813e7c9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Han,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try Vidar&amp;#39;s suggestion in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58744/nrf51-dongle-pca10031-firmware-overwritten/238510#238510"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/250402?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 10:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:093867f6-d7ef-4219-9ed9-f5b0bbdfb620</guid><dc:creator>Han Vertegaal</dc:creator><description>&lt;p&gt;I tried resetting the dongle, but that brings no change.&lt;/p&gt;
&lt;p&gt;The BLE tool log is as follows:&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;2020-05-18T10:16:55.684Z INFO Application data folder: C:\Users\han\AppData\Roaming\nrfconnect\pc-nrfconnect-ble&lt;br /&gt;2020-05-18T10:16:55.757Z DEBUG App pc-nrfconnect-ble v2.3.2 official&lt;br /&gt;2020-05-18T10:16:55.757Z DEBUG App path: C:\Users\han\.nrfconnect-apps\node_modules\pc-nrfconnect-ble&lt;br /&gt;2020-05-18T10:16:55.757Z DEBUG nRFConnect 3.3.3 is supported by the app (^3.2.0)&lt;br /&gt;2020-05-18T10:16:55.757Z DEBUG nRFConnect path: C:\Users\han\AppData\Local\Programs\nrfconnect\resources\app.asar&lt;br /&gt;2020-05-18T10:16:55.757Z DEBUG HomeDir: C:\Users\han&lt;br /&gt;2020-05-18T10:16:55.757Z DEBUG TmpDir: C:\Users\han\AppData\Local\Temp&lt;br /&gt;2020-05-18T10:17:04.417Z INFO Validating connectivity firmware for device with serial number 000680450780...&lt;br /&gt;2020-05-18T10:17:04.863Z ERROR Error while setting up device 000680450780: Opening COM3: Access denied&lt;br /&gt;2020-05-18T10:17:04.866Z INFO Device closed.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The programmer log id as follows:&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;2020-05-18T10:19:57.973Z INFO Application data folder: C:\Users\han\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer&lt;br /&gt;2020-05-18T10:19:58.053Z DEBUG App pc-nrfconnect-programmer v1.4.2 official&lt;br /&gt;2020-05-18T10:19:58.054Z DEBUG App path: C:\Users\han\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer&lt;br /&gt;2020-05-18T10:19:58.054Z DEBUG nRFConnect 3.3.3 is supported by the app (^3.3.0)&lt;br /&gt;2020-05-18T10:19:58.054Z DEBUG nRFConnect path: C:\Users\han\AppData\Local\Programs\nrfconnect\resources\app.asar&lt;br /&gt;2020-05-18T10:19:58.054Z DEBUG HomeDir: C:\Users\han&lt;br /&gt;2020-05-18T10:19:58.054Z DEBUG TmpDir: C:\Users\han\AppData\Local\Temp&lt;br /&gt;2020-05-18T10:19:58.068Z INFO Using nrfjprog library 10.8.0, pc-nrfjprog-js 1.7.2&lt;br /&gt;2020-05-18T10:20:01.836Z INFO Using nrfjprog to communicate with target&lt;br /&gt;2020-05-18T10:20:02.228Z INFO Using J-Link Software version 6.62&lt;br /&gt;2020-05-18T10:20:02.817Z INFO Segger serial:&amp;nbsp; 680450780&lt;br /&gt;2020-05-18T10:20:02.817Z INFO Segger speed:&amp;nbsp; 2000&amp;nbsp; kHz&lt;br /&gt;2020-05-18T10:20:02.817Z INFO Segger version:&amp;nbsp; J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00&lt;br /&gt;2020-05-18T10:20:02.818Z INFO Core probed: 680450780.&lt;br /&gt;2020-05-18T10:20:02.818Z INFO Core RAM: 32KiB.&lt;br /&gt;2020-05-18T10:20:02.818Z INFO Core ROM: 256KiB in pages of 1KiB.&lt;br /&gt;2020-05-18T10:20:02.938Z INFO Model: NRF51xxx_xxAC_REV3.&lt;br /&gt;2020-05-18T10:20:03.288Z INFO Core0: Reading device non-volatile memory. This may take a few seconds.&lt;br /&gt;2020-05-18T10:20:03.310Z INFO Core0: UICR has been read. Click read button to read full non-volatile memory.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/250375?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 08:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1bfbd49-e83b-4435-a474-6f6015f5c6a0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can program the nRF51 dongle with&amp;nbsp;&lt;span&gt;nRF Connect Programmer, you suppose to could use&amp;nbsp;&amp;nbsp;nRF51 dongle with nRF Connect BLE. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Did you also press the reset button on nRF51 dongle before connecting with&amp;nbsp;nRF Connect BLE &amp;nbsp;as using&amp;nbsp;nRF Connect Programmer?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it still cannot work after pressing the&amp;nbsp;reset button then connecting, could you provide the log of&amp;nbsp;nRF Connect BLE?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-87cfcfc0250d4950b3800421d214b09e/nRF-Connect-log.PNG" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wireshark doesn't see nrf51 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/250172?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 11:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c073073c-f907-4343-a4db-6a74168b6da2</guid><dc:creator>Han Vertegaal</dc:creator><description>&lt;p&gt;In the mean time I installed nRF Connect BLE, and saw that it couldn&amp;#39;t open the COM port on which the dongle operates. Because other software also has problems opening COM ports over USB, I conclude it is not so much an nRF software problem as a problem with my PC. So I re-installed everything on another PC and now it works fine, Wireshark and everything. Problem solved.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;However&lt;/strong&gt;, I can still program the dongle using nRF Connect, and I assume it uses the same USB attached COM port. What is the difference between nRF Connect Programmer and nRF Connect BLE? One of them works fine, while the other does not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>