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

802.15.4 nRF Sniffer Option not Showing up in Wireshark

Hello,

I have followed these instructions, but the nRF sniffer option does not show up as an option in the Wireshark GUI, https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.0.0%2Fnrf802154_sniffer.html

I am using a Windows machine. I have tried to start up wireshark via desktop icon and command line. In both cases, I don't see any errors, but there is no nRF interface option.

I was able to successfully flash the firmware to my nRF52840 DK (PCA10056), but nothing comes in that GUI. I have made sure that I am connected to the correct USB port, and that all the switches are in the correct position, but regardless of what I do, nothing shows up. I have copied both .py and .bat files to the extcap folder.

Anything else I can try on the wireshark side to figure out the problem? Also, is there a way I can connect to the Nordic DK by RTT or serial to view logs and see if the FW is uploaded correctly?

Thanks!

  • Hi,

    First double check that you meet all the requirements for Windows:

    Required software

    • Wireshark 2.4.5 or newer
    • Python 2.7, Python 3.6 or newer
    • Python packages:
      • Windows: pySerial Python package from pip
    • nrfjprog – available in nRF5x Command Line Tools
    • Sniffer firmware binary – see Obtaining the firmware

    Make sure the python installation directory is in your PATH enviromental variables.

    Make sure the sniffer software is correctly flashed to the nRF52840 DK. Could you attach both the nrfjprog command and output from the command window when you flashed the software? It should look something like this.

    C:\nordicsemi\Tools\nRF-Sniffer-for-802.15.4\nRF-Sniffer-for-802.15.4\nrf802154_sniffer>nrfjprog --chiperase --family NRF52 --program nrf802154_sniffer.hex --reset
    Parsing hex file.
    Erasing user available code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    Applying system reset.
    Run.

    LED1 should start blinking.

    Also, is there a way I can connect to the Nordic DK by RTT or serial to view logs and see if the FW is uploaded correctly?

     Unfortunately this FW will not output any log messages, but LED1 should be blinking if the software is flashed correctly and running.

    Then change the USB cable from the JLINK USB connector over to the nRF USB connector.

    Remember to power on the board, SW8 set to ON, wait a couple of seconds and LED1 should start blinking again and you should see your board appear in the Capture menu on Wireshark.

    Best regards,

    Marjeris

  • Marjeris,

    Thank you for the information. When I leave SW9 on VDD, the LED1 will blink even with the USB cable attached to the port on the long side of the DK (as pictured). It also blinks correctly with the cable in the port. However, in the picture, it appears SW9 is on USB - when I use that position, LED1 does not blink, event with the USB cabled plugged into the long side.

    Either way, I still don't see the interface appear in Wireshark, even after copying the bat and py files. Anything else I can try?

  • Hi, I am sorry I haven't come back to you on this. Are you still having trouble? Perhaps you can check if the sniffer firmware is flashed correctly on the DK? Or test with another  DK or the dongle?

    What does the output log looks like when you used the 'nrfjprog' command to flash the sniffer firmware to the DK?

    Best regards,

    Marjeris

Related