Unable to program nrf52840dongle

I have just received nRF52840 dongle and I cannot get it programed. I have tried both west flash and nrfProgrammer from nrfConnect.

I have been developing using nrf52840dk so far, and I have no issue programming the dk.


In nrfProgrammer device comes as Unknown ( shown on attached nrf52840.png) I am attaching the log in a separate file  nrfProgrammer.log



Syslog output from Ubuntu 20.04:
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.303051] usb 1-2: new full-speed USB device number 15 using xhci_hcd
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453934] usb 1-2: New USB device found, idVendor=1915, idProduct=521f, bcdDevice= 1.00
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453946] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453951] usb 1-2: Product: Open DFU Bootloader
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453955] usb 1-2: Manufacturer: Nordic Semiconductor
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453959] usb 1-2: SerialNumber: F3E11021BA23
May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.461463] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
May 23 09:32:33 jyu-ThinkPad-T470p mtp-probe: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
May 23 09:32:33 jyu-ThinkPad-T470p mtp-probe: bus: 1, device: 15 was not an MTP device
May 23 09:32:33 jyu-ThinkPad-T470p snapd[1029]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
May 23 09:32:33 jyu-ThinkPad-T470p mtp-probe: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
May 23 09:32:33 jyu-ThinkPad-T470p mtp-probe: bus: 1, device: 15 was not an MTP device

west flash output:


-- west flash: using runner nrfjprog
FATAL ERROR: "nrfjprog --ids" did not find a board; is the board connected?




2022-05-20T10:38:12.627Z DEBUG Application data folder: /home/XXX/.config/nrfconnect/pc-nrfconnect-programmer
2022-05-20T10:38:13.258Z INFO Using nrf-device-lib-js version: 0.4.5
2022-05-20T10:38:13.259Z INFO Using nrf-device-lib version: 0.11.0
2022-05-20T10:38:13.259Z INFO Using nrfjprog DLL version: 10.15.1
2022-05-20T10:38:13.259Z INFO Using JLink version: JLink_V7.64b
2022-05-20T10:38:13.338Z DEBUG App pc-nrfconnect-programmer v3.0.0 official
2022-05-20T10:38:13.339Z DEBUG App path: /home/XXX/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer
2022-05-20T10:38:13.339Z DEBUG nRFConnect 3.11.0, required by the app is (^3.10.0)
2022-05-20T10:38:13.339Z DEBUG nRFConnect path: /tmp/.mount_nrfconPmvsVH/resources/app.asar
2022-05-20T10:38:13.339Z DEBUG HomeDir: /home/XXX
2022-05-20T10:38:13.339Z DEBUG TmpDir: /tmp
2022-05-20T10:38:13.340Z INFO Installed JLink version does not match the provided version (V7.58b)
2022-05-20T10:38:48.188Z DEBUG Sending usage data...
2022-05-20T10:38:48.188Z DEBUG Category: pc-nrfconnect-programmer
2022-05-20T10:38:48.188Z DEBUG Action: Open device
2022-05-20T10:38:48.188Z DEBUG Label: nordicUsb
2022-05-20T10:38:48.190Z DEBUG Usage data has been sent
2022-05-20T10:38:48.193Z INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
2022-05-20T10:38:48.193Z DEBUG Sending usage data...
2022-05-20T10:38:48.193Z DEBUG Category: pc-nrfconnect-programmer
2022-05-20T10:38:48.193Z DEBUG Action: Open jlink device family
2022-05-20T10:38:48.193Z DEBUG Label: nRF52
2022-05-20T10:38:48.194Z DEBUG Usage data has been sent
2022-05-20T10:38:48.194Z DEBUG Sending usage data...
2022-05-20T10:38:48.194Z DEBUG Category: pc-nrfconnect-programmer
2022-05-20T10:38:48.194Z DEBUG Action: Open jlink device version
2022-05-20T10:38:48.194Z DEBUG Label: nRF52840
2022-05-20T10:38:48.195Z DEBUG Usage data has been sent
2022-05-20T10:38:48.195Z DEBUG Sending usage data...
2022-05-20T10:38:48.195Z DEBUG Category: pc-nrfconnect-programmer
2022-05-20T10:38:48.195Z DEBUG Action: Open jlink device board version
2022-05-20T10:38:48.195Z DEBUG Label: PCA10059
2022-05-20T10:38:48.196Z DEBUG Usage data has been sent
2022-05-20T10:38:48.210Z ERROR Error when fetching device versions: readFwInfo error
2022-05-20T10:40:42.521Z DEBUG Sending usage data...
2022-05-20T10:40:42.522Z DEBUG Category: pc-nrfconnect-programmer
2022-05-20T10:40:42.522Z DEBUG Action: Close device
2022-05-20T10:40:42.523Z DEBUG Label: 
2022-05-20T10:40:42.526Z DEBUG Usage data has been sent
2022-05-20T10:40:42.537Z INFO Target device closed


Do you have any suggestion on how can I program the dongle? 
Please let me know if you need any other information.

Parents
  • Hi,

    The nRF52840 Dongle does not have an onboard debugger, so you cannot program it using west unless you are using an external debug probe. Instead, you can put it in bootloader mode and use the Programmer app or nrfutil to upload the new firmware to it. To make the dongle enter bootloader mode you need to press the RESET button:

    If the dongle is already plugged in when you press the RESET button it might not go into bootloader mode, so please try to unplug the dongle from your computer, and then hold in the RESET button while you plug it in. It should show up in the Programmer app as a bootloader device.

    Best regards,

    Marte

Reply
  • Hi,

    The nRF52840 Dongle does not have an onboard debugger, so you cannot program it using west unless you are using an external debug probe. Instead, you can put it in bootloader mode and use the Programmer app or nrfutil to upload the new firmware to it. To make the dongle enter bootloader mode you need to press the RESET button:

    If the dongle is already plugged in when you press the RESET button it might not go into bootloader mode, so please try to unplug the dongle from your computer, and then hold in the RESET button while you plug it in. It should show up in the Programmer app as a bootloader device.

    Best regards,

    Marte

Children
  • Thanks for the reply.
    I was pressing the RESET button and the LED2 was flashing red indicating bootloader mode. Syslog on ubuntu was also indicating bootloader mode:
    May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453946] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    May 23 09:32:33 jyu-ThinkPad-T470p kernel: [ 4146.453951] usb 1-2: Product: Open DFU Bootloader

    In the and I have managed to program it for the "nRF Sniffer for Bluetooth LE"  from Windows on the same PC(using exactly the same steps) in the end. Apparently there was an issue with the Ubuntu 20.04 environment for the nrf52840dongle ( although it works fine with the nrf528400dk)

    Now when booting without pressing RESET device is recognized as "nRF Sniffer for Bluetooth LE" . When booting with RESET pressed LED blinks red and device is recognized as "Product: Open DFU Bootloader" but still the nrfProgrammer is unable to program the device:

    2022-05-20T10:38:48.210Z ERROR Error when fetching device versions: readFwInfo error
    2022-05-20T10:40:42.521Z DEBUG Sending usage data...
    2022-05-20T10:40:42.522Z DEBUG Category: pc-nrfconnect-programmer
    2022-05-20T10:40:42.522Z DEBUG Action: Close device


    We need to be able to program the device from the Linux system. Any hints on resolving the programming issues on Ubuntu 20.04?

  • Hi,

    It is good to hear that you are able to program it from Windows at least. I will check internally if there are any known issues with Ubuntu.

    Please gather a log of this issue in Ubuntu with verbose logging enabled:

    1. Make sure the dongle is plugged into the computer and in bootloader mode.
    2. Go to the 'about' tab in the Programmer app.
    3. Enable verbose logging and select 'restart with verbose logging'.
    4. After the Programmer restarts try to select the dongle from the device list.
    5. Select 'open log file' at the bottom of the terminal in the Programmer.
    6. Upload the log here.

    I will forward the log to the developers.

    Best regards,

    Marte

  • Thanks again for the fast reply. I am attaching the log file.

    2022-05-24T06:40:30.850Z DEBUG Application data folder: /home/jyu/.config/nrfconnect/pc-nrfconnect-programmer
    2022-05-24T06:40:31.355Z DEBUG iface: enp0s31f6
    2022-05-24T06:40:31.356Z DEBUG IP4: XXX
    2022-05-24T06:40:31.356Z DEBUG IP6: XXX
    2022-05-24T06:40:31.356Z DEBUG MAC: XXX
    2022-05-24T06:40:31.357Z DEBUG Client Id: XXX
    2022-05-24T06:40:31.358Z DEBUG Google Analytics for category pc-nrfconnect-programmer has initialized
    2022-05-24T06:40:31.393Z INFO Using nrf-device-lib-js version: 0.4.5
    2022-05-24T06:40:31.393Z INFO Using nrf-device-lib version: 0.11.0
    2022-05-24T06:40:31.394Z INFO Using nrfjprog DLL version: 10.15.1
    2022-05-24T06:40:31.394Z INFO Using JLink version: JLink_V7.64b
    2022-05-24T06:40:31.407Z VERBOSE [nrfdl][trace](08:40:30.862) DeviceLister::enumerate: Checking future_status of enumerate_task_status
    2022-05-24T06:40:31.408Z VERBOSE [nrfdl][trace](08:40:30.862) DeviceLister::enumerate: Waiting for enumerate task to complete
    2022-05-24T06:40:31.409Z VERBOSE [nrfdl][trace](08:40:30.862) DeviceLister::enumerate::enumerate_task: Start
    2022-05-24T06:40:31.411Z VERBOSE [nrfdl][trace](08:40:30.862) DeviceLister::enumerate::enumerate_task: Device_pool is empty
    2022-05-24T06:40:31.411Z VERBOSE [nrfdl][trace](08:40:30.862) DeviceLister::enumerate::enumerate_task: Before async_lister->enumarate
    2022-05-24T06:40:31.412Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 0
    2022-05-24T06:40:31.413Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #0
    2022-05-24T06:40:31.415Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=33088, idVendor=1105
    2022-05-24T06:40:31.415Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.416Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 1
    2022-05-24T06:40:31.417Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #1
    2022-05-24T06:40:31.418Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=33088, idVendor=1105
    2022-05-24T06:40:31.419Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.419Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 2
    2022-05-24T06:40:31.420Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #2
    2022-05-24T06:40:31.421Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=4112, idVendor=6127
    2022-05-24T06:40:31.422Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.422Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 3
    2022-05-24T06:40:31.423Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #3
    2022-05-24T06:40:31.423Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=3, idVendor=7531
    2022-05-24T06:40:31.424Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.425Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 4
    2022-05-24T06:40:31.425Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #4
    2022-05-24T06:40:31.426Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=38208, idVendor=1423
    2022-05-24T06:40:31.426Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.427Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 5
    2022-05-24T06:40:31.427Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #5
    2022-05-24T06:40:31.428Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=22747, idVendor=3034
    2022-05-24T06:40:31.428Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.429Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 6
    2022-05-24T06:40:31.429Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #6
    2022-05-24T06:40:31.430Z DEBUG [nrfdl][debug](08:40:30.862) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2603, idVendor=32903
    2022-05-24T06:40:31.430Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.430Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Starting iteration 7
    2022-05-24T06:40:31.431Z VERBOSE [nrfdl][trace](08:40:30.862) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #7
    2022-05-24T06:40:31.432Z VERBOSE [nrfdl][trace](08:40:30.979) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for manufacturer
    2022-05-24T06:40:31.432Z VERBOSE [nrfdl][trace](08:40:30.979) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for product
    2022-05-24T06:40:31.433Z VERBOSE [nrfdl][trace](08:40:30.979) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for serialnumber
    2022-05-24T06:40:31.433Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Found new device, adding it
    2022-05-24T06:40:31.434Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: New device added, in total 1 devices are added
    2022-05-24T06:40:31.434Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 8
    2022-05-24T06:40:31.435Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #8
    2022-05-24T06:40:31.436Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=1919, idVendor=1118
    2022-05-24T06:40:31.436Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.437Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 9
    2022-05-24T06:40:31.437Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #9
    2022-05-24T06:40:31.438Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=4111, idVendor=6127
    2022-05-24T06:40:31.438Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.439Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 10
    2022-05-24T06:40:31.440Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #10
    2022-05-24T06:40:31.440Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=50475, idVendor=1133
    2022-05-24T06:40:31.441Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.441Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 11
    2022-05-24T06:40:31.442Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #11
    2022-05-24T06:40:31.443Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=50475, idVendor=1133
    2022-05-24T06:40:31.443Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.444Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 12
    2022-05-24T06:40:31.444Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #12
    2022-05-24T06:40:31.446Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=33090, idVendor=1105
    2022-05-24T06:40:31.447Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.447Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 13
    2022-05-24T06:40:31.448Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #13
    2022-05-24T06:40:31.449Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=33090, idVendor=1105
    2022-05-24T06:40:31.449Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.450Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 14
    2022-05-24T06:40:31.450Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #14
    2022-05-24T06:40:31.451Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=4112, idVendor=6127
    2022-05-24T06:40:31.451Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.452Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 15
    2022-05-24T06:40:31.452Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #15
    2022-05-24T06:40:31.453Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=21023, idVendor=6421
    2022-05-24T06:40:31.454Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.454Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Starting iteration 16
    2022-05-24T06:40:31.455Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #16
    2022-05-24T06:40:31.456Z DEBUG [nrfdl][debug](08:40:30.980) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2, idVendor=7531
    2022-05-24T06:40:31.456Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2022-05-24T06:40:31.457Z VERBOSE [nrfdl][trace](08:40:30.980) USBPlatformAPI::enumerate: Found 1 devices
    2022-05-24T06:40:31.458Z DEBUG [nrfdl][debug](08:40:30.980) USBLister: Adding device with serial number: 543e8c5754f9
    2022-05-24T06:40:31.458Z VERBOSE [nrfdl][trace](08:40:30.980) DeviceLister::enumerate::enumerate_task: After async_lister->enumarate
    2022-05-24T06:40:31.459Z VERBOSE [nrfdl][trace](08:40:30.980) DeviceLister::enumerate: Enumerating with sync lister
    2022-05-24T06:40:31.460Z VERBOSE [nrfdl][trace](08:40:30.980) SerialPortLister::enumerate
    2022-05-24T06:40:31.460Z DEBUG [nrfdl][debug](08:40:30.980) Linux serialport enumerate.
    2022-05-24T06:40:31.461Z VERBOSE [nrfdl][trace](08:40:30.983) DeviceLister::enumerate: Enumerating with sync lister
    2022-05-24T06:40:31.461Z VERBOSE [nrfdl][trace](08:40:30.983) JLinkLister::enumerate
    2022-05-24T06:40:31.462Z DEBUG [nrfdl][debug](08:40:30.983) [->] enumerate
    2022-05-24T06:40:31.462Z DEBUG [nrfdl][debug](08:40:30.983) [HighLevel][TID:140711210837760] get_connected_probes
    2022-05-24T06:40:31.463Z DEBUG [nrfdl][debug](08:40:30.984) nrfjprog_function return value: 0
    2022-05-24T06:40:31.463Z DEBUG [nrfdl][debug](08:40:30.984) [<-] enumerate [took 0ms]
    2022-05-24T06:40:31.464Z VERBOSE [nrfdl][trace](08:40:30.984) DeviceLister::enumerate: Enumerating with sync lister
    2022-05-24T06:40:31.465Z VERBOSE [nrfdl][trace](08:40:30.984) BrokenLister::enumerate
    2022-05-24T06:40:31.465Z VERBOSE [nrfdl][trace](08:40:30.984) DeviceLister::enumerate: Found device with serial number: F3E11021BA23
    2022-05-24T06:40:31.466Z VERBOSE [nrfdl][trace](08:40:30.984) DeviceLister::enumerate: device registered to device list
    2022-05-24T06:40:31.466Z VERBOSE [nrfdl][trace](08:40:30.984) DeviceLister::enumerate: Found device with serial number: 543e8c5754f9
    2022-05-24T06:40:31.467Z VERBOSE [nrfdl][trace](08:40:30.984) DeviceLister::enumerate: Completed waiting for enumerate task
    2022-05-24T06:40:31.468Z VERBOSE [nrfdl][trace](08:40:30.984) DeviceLister::enumerate: done
    2022-05-24T06:40:31.491Z DEBUG App pc-nrfconnect-programmer v3.0.0 official
    2022-05-24T06:40:31.491Z DEBUG App path: /home/jyu/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer
    2022-05-24T06:40:31.491Z DEBUG nRFConnect 3.11.0, required by the app is (^3.10.0)
    2022-05-24T06:40:31.491Z DEBUG nRFConnect path: /tmp/.mount_nrfconb8PuM0/resources/app.asar
    2022-05-24T06:40:31.491Z DEBUG HomeDir: /home/jyu
    2022-05-24T06:40:31.491Z DEBUG TmpDir: /tmp
    2022-05-24T06:40:31.494Z INFO Installed JLink version does not match the provided version (V7.58b)
    2022-05-24T06:40:31.495Z WARN [nrfdl][warning](08:40:31.491) JlinkArm version non expected one found: JLink_V7.64b, expected: JLink_V7.58b
    2022-05-24T06:41:26.623Z DEBUG Sending usage data...
    2022-05-24T06:41:26.623Z DEBUG Category: pc-nrfconnect-programmer
    2022-05-24T06:41:26.623Z DEBUG Action: Open device
    2022-05-24T06:41:26.623Z DEBUG Label: nordicUsb
    2022-05-24T06:41:26.625Z DEBUG Usage data has been sent
    2022-05-24T06:41:26.629Z INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    2022-05-24T06:41:26.629Z DEBUG Sending usage data...
    2022-05-24T06:41:26.629Z DEBUG Category: pc-nrfconnect-programmer
    2022-05-24T06:41:26.629Z DEBUG Action: Open jlink device family
    2022-05-24T06:41:26.629Z DEBUG Label: nRF52
    2022-05-24T06:41:26.630Z DEBUG Usage data has been sent
    2022-05-24T06:41:26.630Z DEBUG Sending usage data...
    2022-05-24T06:41:26.631Z DEBUG Category: pc-nrfconnect-programmer
    2022-05-24T06:41:26.631Z DEBUG Action: Open jlink device version
    2022-05-24T06:41:26.631Z DEBUG Label: nRF52840
    2022-05-24T06:41:26.631Z DEBUG Usage data has been sent
    2022-05-24T06:41:26.632Z DEBUG Sending usage data...
    2022-05-24T06:41:26.632Z DEBUG Category: pc-nrfconnect-programmer
    2022-05-24T06:41:26.632Z DEBUG Action: Open jlink device board version
    2022-05-24T06:41:26.632Z DEBUG Label: PCA10059
    2022-05-24T06:41:26.633Z DEBUG Usage data has been sent
    2022-05-24T06:41:26.637Z ERROR Error when fetching device versions: readFwInfo error
    2022-05-24T06:41:26.640Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: Checking future_status of enumerate_task_status
    2022-05-24T06:41:26.640Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.641Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.642Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.643Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.643Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.644Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.645Z VERBOSE [nrfdl][trace](08:41:26.633) Matching device traits and firmware: firmware_format:not set matches:[trait:false firmware:true]
    2022-05-24T06:41:26.645Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: Waiting for enumerate task to complete
    2022-05-24T06:41:26.646Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate::enumerate_task: Start
    2022-05-24T06:41:26.647Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: Found device with serial number: F3E11021BA23
    2022-05-24T06:41:26.647Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: device registered to device list
    2022-05-24T06:41:26.648Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: Found device with serial number: 543e8c5754f9
    2022-05-24T06:41:26.649Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: Completed waiting for enumerate task
    2022-05-24T06:41:26.649Z VERBOSE [nrfdl][trace](08:41:26.633) DeviceLister::enumerate: done
    2022-05-24T06:41:26.650Z ERROR [nrfdl][error](08:41:26.633)  NRFDLException(200): no matching trait found
    


    I have my user added to the dialout group (owner of /dev/ttyACM0). I have also tried changing the permissions of the /dev/ttyACM0 to 0666 ( same as the developmentKit when it  comes up) and I still experience the same error.


    When the dongle is started in a normal mode ( as a sniffer), the dongle is opened, and used by Wireshark without any issues.
    Let me know if you need any other info.

  • Hi,

    I have forwarded this to the developers, and I will update you when I get a response.

    In the meantime, I found another ticket with a similar or the same issue, and it seems like some of the people there have managed to find different solutions working for them, so you can see if any of them fixes the issue on your side as well: https://devzone.nordicsemi.com/f/nordic-q-a/81989/error-when-fetching-device-versions-readfwinfo-error.

    Best regards,

    Marte

Related