This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial error with nRF sniffer install

Nordic colleagues,

We just received our nRF 52840 DK and are attempting to install the nRF Sniffer application to use with Wireshark.  We were able to program the DK with the appropriate 52840 DK hex files using the Programmer application (within the nRF Connect Desktop application). 

Note:  The colors for the device and file memory only showed orange (was it suppose to show green after install?).  After the Erase & Write the log stated:  "Core0: Non-volatile memory has been read. 2 non-empty memory blocks identified,"

 

We successfully added the the pip text install into the Sniffer folder as directed and copied the files over to the Wireshark extcap folder.

Note:  There are two extcap folders in WIreshark.  The Personal extcap path is different  than the Global extcap path; but, we did paste files into both folders.

However, when we attempted to test the Sniffer using the "nrf_sniffer_ble.bat --extcap-interfaces" we received the following error message:

We did confirm Python version is in the path as cited in the Nordic instructions:

Unclear were we went wrong.   The DK's LED 1 is continuously flashing (not pulsing like originally) and the DK's LED 5 is staying on.

Welcome comments on what we missed.

PS  We also don't see the option to view the Interface Toolbar from the View menu within Wireshark.

Parents
  • Hello,

    Unclear were we went wrong.   The DK's LED 1 is continuously flashing (not pulsing like originally) and the DK's LED 5 is staying on.

     I believe LED 1 is used to indicate packet reception. Either way, I see continuous flashing here on my board as well, so I think your board is programmed correctly.

    However, when we attempted to test the Sniffer using the "nrf_sniffer_ble.bat --extcap-interfaces" we received the following error message:

     If you have not already, please try to install the pyserial package using the command below and see if that fixes the problem. Maybe the module was installed to another python installation earlier?

    $ python -m pip install pyserial

    We also don't see the option to view the Interface Toolbar from the View menu within Wireshark.

    It should show after fixing the problem with the missing pyserial module above.

  • Vidar,

    I performed the above suggestion but still encountered the issue.  

  • Since it appears the issue is with the Python BLE file, is there a way to confirm Python was correctly installed on our PC?  We haven't used Python for any programming yet.

Reply Children
Related