<?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>Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51468/setting-up-the-nrfsniffer</link><description>Hi, 
 I am following the nRF_Sniffer_UG_v2.2.pdf to setup the nrfSniffer. Wireshark does not show me my board among the interfaces. I had a look at the troubleshooting part. In part 6.1 the given tests are; 
 1. Run nrf_sniffer.bat --extcap-interfaces</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 14 Sep 2019 10:14:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51468/setting-up-the-nrfsniffer" /><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/209707?ContentTypeID=1</link><pubDate>Sat, 14 Sep 2019 10:14:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f816787-1992-4bf5-a0c7-2a7680d39780</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;I can now confirm that the sniffer works fine with nRF52840 DK. Thanks for all the help &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;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/208518?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2019 15:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb689c03-8309-45a9-a04d-a47739ef960b</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Thanks for your kind support Andreas. I will update this post when I give it try with nRF52480 DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207925?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 11:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:250e9ea5-3420-4a9b-8fe5-1e1c9c107213</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I cannot exclude the fact that your custom setup might affect the issue. It could be possible that the sniffer is more stable on one of our DK&amp;#39;s or Dongles.&lt;/p&gt;
&lt;p&gt;Is the email you&amp;#39;re registered with on DevZone you&amp;#39;re primary email?&lt;/p&gt;
&lt;p&gt;I could arrange a Dongle for you. I will send you an email.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207914?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 11:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ac9815c-d569-4ad1-b991-e1051807fca8</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;I am sorry to hear this.&lt;/p&gt;
&lt;p&gt;If we have tried every possible way and if the developer is aware of these, does this mean that I can be assured of that the problem is not caused by my set up? So buying a nRF52840 DK to use as sniffer instead of my custom board would not help?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Denin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207907?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 11:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e3733ee-357f-43ca-a01c-b3630cb6085f</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Unfortunately, I have no other suggestions to add.&lt;/p&gt;
&lt;p&gt;I have talked to the developer and he is aware of the issues your facing and working on fixing those issues for the next release.&lt;/p&gt;
&lt;p&gt;I hope this is of some comfort.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207711?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 13:44:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a9078e7-97b8-4344-bb27-64ec2a667ebb</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Both host and emulator firmware are now dated 2017 June 13 10:37. I deleted the previous jlink version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately the behavior is the same, it stops after a while.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have also tried the sethwfc force command but I think its not accepted in this version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there anything else I can try? &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Denin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207700?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 13:10:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa377f3e-99d7-4cf2-bc72-1f77ec0aec5a</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve not had this error before.&lt;/p&gt;
&lt;p&gt;Can you try to downgrade the j-link to this version?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0f6754c123424c00a31044589a653356/segger_5F00_jlink.zip"&gt;devzone.nordicsemi.com/.../segger_5F00_jlink.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207678?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 12:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66e138c3-e19c-4815-8ece-4a89d75d4cba</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi again Andreas,&lt;/p&gt;
&lt;p&gt;I have changed the content of extcap folder according to the new firmware you have sent. After some time again it seems that the board stops sending packets. If I reset the board it sends for some more time until it stops again. The log looks the same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There isn&amp;#39;t anything that I need to change other than extcap folder right?&lt;/p&gt;
&lt;p&gt;One more observation; if I turn the board on and wait long enough, when I open the Wireshark it does not see the board. Obviously some time after the board is turned on, it stops communicating with computer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you had this error before?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Denin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207649?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 11:16:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e5e690a-34a8-4bad-adeb-b4fc565136fd</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Can you try this firmware instead: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0f6754c123424c00a31044589a653356/nrf_5F00_sniffer_5F00_2.0.0_5F00_c87e17d.zip"&gt;devzone.nordicsemi.com/.../nrf_5F00_sniffer_5F00_2.0.0_5F00_c87e17d.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the latest sniffer and it will be released soon.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207637?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 10:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbcafe3c-3523-4cc4-a8fb-68ef31f442ef</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hello Andreas,&lt;/p&gt;
&lt;p&gt;The Wireshark version is 3.0.3.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have been playing around with things to fix it. I want to give you more input; as said Wireshark starts to capture advertising packets and stops capturing after some random time. If I reset the board, it goes on capturing. Please see the picture below. The red arrows are where I reset the board. This makes me think that it is the board that stops sending packets to Wireshark since it timeouts and goes on giving timeout warning until I reset the board. I am using a custom board which hosts nRF52832 based ISP1507. I have been using it without any compatibility problems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/packet-read-time-out.png" /&gt;&lt;/p&gt;
&lt;p&gt;Another thing is that when it captures, it only captures advertising packets. I have tried what it says in part 5.3 however it did not help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Denin&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207628?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 10:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53487a4e-a6b2-45dd-8b7e-09055ace5c75</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Which version of Wireshark do you have?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207443?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 14:16:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05f0e9b9-1c34-4507-a0ec-ccee46421921</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;And I forgot to say..&lt;/p&gt;
&lt;p&gt;In addition to my previous message, when I click &amp;quot;Restart current capture&amp;quot;, Wireshark gives me a warning that says &amp;quot;Unable to send control message:Invalid argument&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/207421?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 13:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22fd857e-226b-49ec-8134-0bd23142ae2f</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ok the above problem was because I was not connected to the internet. I did not know that I had to, since the pyserial files were downloaded beforehand. This is solved.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am now having another problem. Wireshark does not work consistently. Every time I close it (or it crashes) I have to power down the nrf board, wait and power it up again. Only then can Wireshark shows the board when I open it. Otherwise it does not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When it shows the board and I double click on it, Wireshark says it has started capturing packets however, usually it does not show any. In the mean time the led on the board blinks like crazy, which means it is receiving many packets. Wireshark happened to show some packets couple of times and for a limited amount of time, like a few seconds and then stopped.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3566.Wireshark.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;I have been going through the&amp;nbsp;&lt;strong&gt;&amp;quot;6.3 nRF Sniffer occasionally works and appears unstable&amp;quot;&lt;/strong&gt; part of the&amp;nbsp;user guide;&lt;/p&gt;
&lt;p&gt;1)Typed sethwf force to the jlink.exe.&lt;/p&gt;
&lt;p&gt;2)Made sure both host firmware and emulator have the same date. The product is version shown on the guide (V2) is different to what I have (V3), but I have installed whatever version comes in the nrfsniffer folder. Please have a look at the screen shot.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/jlink-config.png" /&gt;&lt;/p&gt;
&lt;p&gt;3)When I run jlink.exe no popups are coming up that says &amp;quot;A new firmware version is available.....Do you want to upgrade...?&amp;quot; So I assume it is up do date?&lt;/p&gt;
&lt;p&gt;What else could you suggest me? I have to be able to use sniffer tool properly and effectively to debug my application because I am stuck there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Denin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/206828?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 10:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167243bf-e8e9-46eb-bd44-f81866bc52d7</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Denin.&lt;/p&gt;
&lt;p&gt;Looks like you have some issues with installing pyserial.&lt;/p&gt;
&lt;p&gt;Could you take a look at &lt;a href="https://bhch.github.io/posts/2017/04/fix-the-pip-error-couldnt-find-a-version-that-satisfies-the-requirement/"&gt;this page&lt;/a&gt; and see if this could help you?&lt;/p&gt;
&lt;p&gt;From the error messages it seems like you&amp;#39;re blacklisted from python.org.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/206689?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 15:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e057ac8-b02c-4a9f-bda4-bf706769dd3e</guid><dc:creator>Den</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Thanks for your assistance.&lt;/p&gt;
&lt;p&gt;I can confirm the the content of the nrf_sniffer.bat file&amp;#39;s content is as you showed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I have checked the stuff under 6.1&lt;/p&gt;
&lt;p&gt;I am not sure if pyserial has been installed correctly. How can I make sure of that. I am not experienced in using the cmd terminal. So I will be happy if you can please direct me as required. I have tried to installed pyserial as you said and the output is;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\Denin\Desktop\pyserial-master&amp;gt;python -m pip install pyserial
Collecting pyserial
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by &amp;#39;NewConnectionError(&amp;#39;&amp;lt;pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000004DDDC18&amp;gt;: Failed to establish a new connection: [Errno 11002] getaddrinfo failed&amp;#39;,)&amp;#39;: /simple/pyserial/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by &amp;#39;NewConnectionError(&amp;#39;&amp;lt;pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000004DDDD68&amp;gt;: Failed to establish a new connection: [Errno 11002] getaddrinfo failed&amp;#39;,)&amp;#39;: /simple/pyserial/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by &amp;#39;NewConnectionError(&amp;#39;&amp;lt;pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000004DDDF28&amp;gt;: Failed to establish a new connection: [Errno 11002] getaddrinfo failed&amp;#39;,)&amp;#39;: /simple/pyserial/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by &amp;#39;NewConnectionError(&amp;#39;&amp;lt;pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000004E53128&amp;gt;: Failed to establish a new connection: [Errno 11002] getaddrinfo failed&amp;#39;,)&amp;#39;: /simple/pyserial/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by &amp;#39;NewConnectionError(&amp;#39;&amp;lt;pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000004E532E8&amp;gt;: Failed to establish a new connection: [Errno 11002] getaddrinfo failed&amp;#39;,)&amp;#39;: /simple/pyserial/
  Could not find a version that satisfies the requirement pyserial (from versions: )
No matching distribution found for pyserial&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Denin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up the nrfSniffer</title><link>https://devzone.nordicsemi.com/thread/206537?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 08:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d18a141-91b5-4699-b874-d3ffd06ed896</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user=""]&amp;quot;For Windows - Verify that the path used for python in the nrf_sniffer.bat file correctly points to the required version as stated in “Required software“ on page 2.&amp;quot;[/quote]
&lt;p&gt;&amp;nbsp;It means that you have to verify that it is Python 2.7.xx that is running the nrf_sniffer.bat file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="bat"&gt;@echo off
python &amp;quot;%~dp0nrf_sniffer.py&amp;quot;  %*&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(The content of the file above).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/736x161/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0f6754c123424c00a31044589a653356/pastedimage1566982235513v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Have you checked this?&lt;/p&gt;
[quote user=""]Also is requirements.txt in pyserial-master supposed to be empty?[/quote]
&lt;p&gt;&amp;nbsp;Looks empty on GitHub, you can install it with pip to be sure;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;python&lt;/span&gt; &lt;span&gt;-&lt;/span&gt;&lt;span&gt;m&lt;/span&gt; &lt;span&gt;pip&lt;/span&gt; &lt;span&gt;install&lt;/span&gt; &lt;span&gt;pyserial&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>