Error when fetching device versions: readFwInfo error

Hi I've just started developing with the nrf52840 and Ive been following the official documentation on how to use the programmer shipped with nRF Connect.

Unfortunately when I select the device in the respective menu I get the following error and I'm not able to do anythin on the soc.

Error when fetching device versions: readFwInfo error

I'm currently using Linux with nrf connect 3.80 and jlink 6.88a (I've tried with nRF Connect 3.9 but I had the exact same issue).

Has anyone managed to solve this problem?

  • Same error here (Windows 10).  Here is what gets logged every time i try to open the dongle in Programmer (v3.0.3):

    DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open device","label":"nordicUsb"}
    INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open jlink device family","label":"nRF52"}
    DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open jlink device version","label":"nRF52840"}
    DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open jlink device board version","label":"PCA10059"}
    ERROR Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")

  • I'm getting the same error with Programmer v3.0.3 and the nRF52840 dongle:

    Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")

    What I did was program the firmware for the wireshark sniffer sniffer_nrf52840dongle_nrf52840_4.1.0.hex.  After doing that, I could not longer program firmware.

  • I have the same error. I just installed  nRF Connec For Desktop V3.11.1 and Programmer V3.0.3 and after programmer the sniffer_nrf52840dongle_nrf52840_4.1.0.hex file I can´t programmer any more

    11:46:27.877
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    11:46:27.907
    Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")
    The device is a nRF52840 dongle (nrF6829 2.1.0 2021.51)  bought at Mouser Electronics
    What can I do to recovre the dongle?
  • Is the Dongle in Bootloader mode or acting as a sniffer now? Try pressing the small button on the side of the Dongle and it should start pulsing red (putting it back into bootloader mode). If not you have to recover it as described in the Dongle Programming tutorial.

    Best regards,

    Simon

  • He was able to put the Dongle in bootloader mode but after load again the sniffer hex file I get the same error. Is that normal?

    Thanks.

     

    14:28:31.506
    Parsing HEX file: C:\Pruebas\nrf_sniffer_for_bluetooth_le_4.1.0\hex\sniffer_nrf52840dongle_nrf52840_4.1.0.hex
    14:28:31.506
    File was last modified at 26/10/2021 12:44:34
    14:28:31.550
    Update files regions according to Application core
    14:28:31.550
    Parse memory regions for file
    14:28:36.245
    Target device closed
    14:28:46.867
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    14:28:47.360
    Update files regions according to Application core
    14:28:47.360
    Parse memory regions for file
    14:28:54.553
    Does not need to be reloaded: C:\Pruebas\nrf_sniffer_for_bluetooth_le_4.1.0\hex\sniffer_nrf52840dongle_nrf52840_4.1.0.hex
    14:28:54.554
    Hash is generated by SHA256
    14:28:54.556
    Performing DFU. This may take a few seconds
    14:28:54.578
    Opening serial port for SDFU programming: 0%
    14:28:54.996
    Opening serial port for SDFU programming: 100%
    14:28:55.116
    Uploading image through SDFU: 0%
    14:28:55.394
    Uploading image through SDFU: 1%
    14:28:55.414
    Uploading image through SDFU: 3%
    14:28:55.432
    Uploading image through SDFU: 4%
    14:28:55.451
    Uploading image through SDFU: 5%
    14:28:55.635
    Uploading image through SDFU: 7%
    14:28:55.654
    Uploading image through SDFU: 8%
    14:28:55.673
    Uploading image through SDFU: 10%
    14:28:55.692
    Uploading image through SDFU: 11%
    14:28:55.876
    Uploading image through SDFU: 13%
    14:28:55.895
    Uploading image through SDFU: 14%
    14:28:55.917
    Uploading image through SDFU: 16%
    14:28:55.933
    Uploading image through SDFU: 17%
    14:28:56.129
    Uploading image through SDFU: 19%
    14:28:56.139
    Uploading image through SDFU: 20%
    14:28:56.158
    Uploading image through SDFU: 22%
    14:28:56.177
    Uploading image through SDFU: 23%
    14:28:56.350
    Uploading image through SDFU: 25%
    14:28:56.367
    Uploading image through SDFU: 26%
    14:28:56.386
    Uploading image through SDFU: 28%
    14:28:56.405
    Uploading image through SDFU: 29%
    14:28:56.575
    Uploading image through SDFU: 30%
    14:28:56.594
    Uploading image through SDFU: 32%
    14:28:56.615
    Uploading image through SDFU: 33%
    14:28:56.632
    Uploading image through SDFU: 35%
    14:28:56.817
    Uploading image through SDFU: 36%
    14:28:56.836
    Uploading image through SDFU: 38%
    14:28:56.855
    Uploading image through SDFU: 39%
    14:28:56.874
    Uploading image through SDFU: 41%
    14:28:57.044
    Uploading image through SDFU: 42%
    14:28:57.063
    Uploading image through SDFU: 44%
    14:28:57.085
    Uploading image through SDFU: 45%
    14:28:57.102
    Uploading image through SDFU: 47%
    14:28:57.286
    Uploading image through SDFU: 48%
    14:28:57.334
    Uploading image through SDFU: 50%
    14:28:57.334
    Uploading image through SDFU: 51%
    14:28:57.343
    Uploading image through SDFU: 52%
    14:28:57.512
    Uploading image through SDFU: 54%
    14:28:57.535
    Uploading image through SDFU: 55%
    14:28:57.551
    Uploading image through SDFU: 57%
    14:28:57.569
    Uploading image through SDFU: 58%
    14:28:57.741
    Uploading image through SDFU: 60%
    14:28:57.760
    Uploading image through SDFU: 61%
    14:28:57.779
    Uploading image through SDFU: 63%
    14:28:57.802
    Uploading image through SDFU: 64%
    14:28:57.986
    Uploading image through SDFU: 66%
    14:28:58.002
    Uploading image through SDFU: 67%
    14:28:58.021
    Uploading image through SDFU: 69%
    14:28:58.040
    Uploading image through SDFU: 70%
    14:28:58.224
    Uploading image through SDFU: 72%
    14:28:58.243
    Uploading image through SDFU: 73%
    14:28:58.262
    Uploading image through SDFU: 75%
    14:28:58.281
    Uploading image through SDFU: 76%
    14:28:58.452
    Uploading image through SDFU: 77%
    14:28:58.469
    Uploading image through SDFU: 79%
    14:28:58.489
    Uploading image through SDFU: 80%
    14:28:58.535
    Uploading image through SDFU: 82%
    14:28:58.679
    Uploading image through SDFU: 83%
    14:28:58.698
    Uploading image through SDFU: 85%
    14:28:58.720
    Uploading image through SDFU: 86%
    14:28:58.736
    Uploading image through SDFU: 88%
    14:28:58.935
    Uploading image through SDFU: 89%
    14:28:58.939
    Uploading image through SDFU: 91%
    14:28:58.958
    Uploading image through SDFU: 92%
    14:28:58.977
    Uploading image through SDFU: 94%
    14:28:59.161
    Uploading image through SDFU: 95%
    14:28:59.180
    Uploading image through SDFU: 97%
    14:28:59.202
    Uploading image through SDFU: 98%
    14:28:59.218
    Uploading image through SDFU: 100%
    14:28:59.341
    All dfu images have been written to the target device
    14:28:59.391
    Target device closed
    14:29:02.345
    Failed to write: Error: Timeout while waiting for device D6428F211933 to be attached and enumerated
    14:29:13.028
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    14:29:13.062
    Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")
Related