Trying to establish a serial port connection to a local device (nRF52840DK) from the Bluetooth Low Energy App of the nRF Connect for Desktop.

Good day,

I want to use the Bluetooth Low Energy App of the nRF Connect for Desktop with my nRF52840DK as a local device.

After I have connected my device (nRF52840DK) to the USB port of my PC, I am getting the following message, as shown on the attached screenshot:

"Using JLink version: JLink_V7.96f

Installed JLink version does not match the provided version (V7.66a)".

What exactly shall I do in order to establish serial port connection to my local device (nRF52840DK)?

Regards,

JM

  • I was able to overcome the problem with programming the sniffer firmware to my DK using the "nrfutil device program" command by first entering in the command the full path to the relevant firmware hex file.

    Then, before I could run that "nrfutil device program" command, I had to use the "recover" subcommand, as follows: "nrfutil device recover --serial-number 1050227486".

    Only then the sniffer firmware was successfully programmed into my DK by me using the command:       "nrf device program..."

    I then installed the nRF Sniffer capture tool as follows:

    After successfully programming my DK with the relevant firmware hex file, as described above, I copied the nRF Sniffer capture tool into wireshark folder by running the command: "nrfutil ble-sniffer bootstrap"

    I then enabled the nRF sniffer capture tool in wireshark by:

    (a) Refreshing the interfaces in wireshark by selecting: "Capture>Refresh Interfaces".

    (b) Selecting: View>Interface toolbars>nRF Sniffer for Bluetooth LE - to enable nRF sniffer interface.

    I was then supposed to see that the nRF sniffer is displayed as one of the interfaces on the wireshark capture screen - but instead of it, I saw an entry entitled:

    *Event Tracing for Windows (ETW) reader".

    And when I clicked on it, I saw a pop-up window:

    "Extcap interface:

    etwdump.exe

    No capture filter"

    - as shown on the attached Screenshot_1.

    And when I double-clicked on it, I saw the following wireshark error message:

    "Wireshark

    The file C:\Program Files\wireshark\extcap\etwdump.exe is not etl format

    Error message: OpenTrace failed with 0x570"

    - as shown on the attached Screenshot_2.

    What exactly shall I do to be able to run the nRF Sniffer on my PC?

    Regards,

    JM

  • Did you follow step 2 in this guide?

    https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-ble-sniffer/guides/installing_nrf_sniffer_capture_tool.html

    To copy the files into your wireshark's extcap folder?

    And nothing else was programmed to the DK after programming it with the sniffer .hex file?

    I don't have one to test right now, but please try botht the USB ports of the DK, when connecting it to wireshark. It may be that it uses the other one.

    Best regards,

    Edvin

  • Yes, I did follow step 2 in the relevant guide and nothing was programmed into the DK after programming it with the Sniffer .hex file.

    But as advised, I tried the other USB port on the DK, when connecting it to Wireshark and this has resolved the problem!

    I can now see that the nRF Sniffer is displayed as one of the interfaces on the Wireshark Capture Screen and when I double-click on it - I can start sniffing.

    Thanks for your assistance in resolving this problem.

    Best regards,

    JM

Related