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

Sniffer for nRF52 DK

Hi,

I got one of nRF52 DKs. Is there any chance that we can use this DK similar to nRF51 DK as a sniffer in near future?

I tried to program the board with the HEX file for nRF51. It will say successfully programmed, but when the Sniffer application is running, it can not detect the board on the COM port. I checked and the board is on COM5, but I think maybe the HEX file need to be changed for nRF52.

Farzad

Parents Reply Children
  • I downloaded this package but I'm missing a readme / instructions on how to use it.

    Step 1 probably flashing "sniffer_pca10040_51296aa.hex" on my PCA10040 Dev board.
    Already have installed Jlink software for use with the Segger Embedded Studio, but how do I now make my wireshark read and display packages from the NRF52832 board?

    UPDATE: okey so I found this nrf_sniffer python script and tried running it, but even though the python-serial package installed on my system is 3.0.1-1 it fails with this error:

    nrf_sniffer_2.0.0-beta-1_51296aa/extcap $ ./nrf_sniffer.py --extcap-interfaces
    extcap {version=2.0.0}{display=nRF Sniffer}{help=http://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF-Sniffer#Downloads}
    Traceback (most recent call last):
      File "./nrf_sniffer.py", line 598, in <module>
        extcap_interfaces()
      File "./nrf_sniffer.py", line 138, in extcap_interfaces
        for interface_port in get_interfaces():
      File "./nrf_sniffer.py", line 123, in get_interfaces
        raise RuntimeError("Too old version of python 'serial' Library. Version 3 required.")
    RuntimeError: Too old version of python 'serial' Library. Version 3 required.
    

    UPDATE2: I found a userguide! https://www.nordicsemi.com/eng/nordic/Products/nRF52-DK/nRF-Sniffer-UG-v2/65245

    Will read that now.

    UPDATE3: was able to resolve the issue with python-serial by uninstalling the package python-serial v3.0.1-1 from my distribution and installing pyserial 3.4 using this command:

    python -m pip install pyserial
    
Related