Failed to flash thingy91: Error when fetching device versions:

Hello,

Somehow my thingy91 is no longer working so I decided to flash it from the beginning.

I put it in MCUboot mode ( holding SW4 and turning on the device)

in Programmer v3.0.3 I see the Thing91 and connect to it and then get the following error

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

Then the Programmer tool doesn't give me the right to write.

How could I fix this issue ?

I have nrf9160 dk that is working OK, and would use it to flash the thingy if needed but I can't find a full guide for that.

Please advice

Parents
  • Hi,

    Could you please enable "Verbose logging" and send us verbose log?
    You can enable verbose logging by opening Programmer Application, select "Verbose Logging" and "Restart with verbose logging".

    Best regards,
    Dejan

  • Hello Dejan,

    Here are the vebose logs

    19:40:11.704
    [nrfdl][error](19:40:11.705) USBLister: failed to send setup packet NORDIC_SEM_VER_REQUEST
    19:40:11.704
    [nrfdl][info](19:40:11.705) USBLister: failed to send setup packet NORDIC_DFU_INFO_REQUEST
    19:40:11.771
    [nrfdl][error](19:40:11.772) USBLister: failed to send setup packet NORDIC_SEM_VER_REQUEST
    19:40:11.771
    [nrfdl][info](19:40:11.772) USBLister: failed to send setup packet NORDIC_DFU_INFO_REQUEST
    19:40:22.082
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    19:40:22.130
    Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")
    19:40:22.131
    [nrfdl][error](19:40:22.087) NRFDLException(200): no matching trait found
  • Hi,

    It seems that you are not in the correct mode. There is information available in the documentation about updating the firmware and programming the application on the Thingy91. By following this guide, you should be able to flash your Thingy91 device.

    Best regards,
    Dejan

  • Thank you for the link, I have followed the process but didn't work for me. See screenshot

    Also, here are the logs

    22:45:03.275
    Modem DFU failed with error: async task failure for id: 630269350793 msg: Error when programming through MCUBoot: Unable to program MCUBoot image from buffer.. Error code: 603 (Timeout). (Origin: "Error when running fw program.")
    22:45:03.282
    Please make sure that the device is in MCUboot mode and try again.
    22:45:15.455
    Modem DFU starts to write...
    22:45:15.456
    Writing D:\DEV\nRF\firmware\mfw_nrf9160_1.3.2.zip to device PCA20035_c683c58589ba
  • Hi,

    Is this the case that first step of updating the connectivity bridge application firmware in the nRF52840 SoC was successful and you get the failure  in the second step when updating nRF9160 modem firmware?

    Do you get the same error "Modem DFU failed with error: async task failure ..." after last "Writing ..." message?

    Make sure that you have "Enable MCUboot" option selected in the Programmer application.

    Best regards,
    Dejan

  • Okey, lets do it step by step.

    From the guide I'm at step 1 ( updating nrf52840) SoC) https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy91_gsg.html#updating-the-firmware-in-the-nrf52840-soc

    I plug thingy91 to my computer, press and hold SW4 then turn on the board (SW1)

    In Progammer I get  the following logs

    23:25:52.661
    [nrfdl][error](23:25:52.661) USBLister: failed to send setup packet NORDIC_SEM_VER_REQUEST
    23:25:52.661
    [nrfdl][info](23:25:52.661) USBLister: failed to send setup packet NORDIC_DFU_INFO_REQUEST
    23:25:52.675
    [nrfdl][error](23:25:52.675) USBLister: failed to send setup packet NORDIC_SEM_VER_REQUEST
    23:25:52.675
    [nrfdl][info](23:25:52.675) USBLister: failed to send setup packet NORDIC_DFU_INFO_REQUEST
    The only device available then is in this picture
    I connect anyway but I got the following logs
    23:26:45.724
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    23:26:45.756
    Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")
    23:26:45.757
    [nrfdl][error](23:26:45.728) NRFDLException(200): no matching trait found
    At this stage, it doesn't matter what I load, the write button is disabled.
    Is my device just dead ?
Reply
  • Okey, lets do it step by step.

    From the guide I'm at step 1 ( updating nrf52840) SoC) https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy91_gsg.html#updating-the-firmware-in-the-nrf52840-soc

    I plug thingy91 to my computer, press and hold SW4 then turn on the board (SW1)

    In Progammer I get  the following logs

    23:25:52.661
    [nrfdl][error](23:25:52.661) USBLister: failed to send setup packet NORDIC_SEM_VER_REQUEST
    23:25:52.661
    [nrfdl][info](23:25:52.661) USBLister: failed to send setup packet NORDIC_DFU_INFO_REQUEST
    23:25:52.675
    [nrfdl][error](23:25:52.675) USBLister: failed to send setup packet NORDIC_SEM_VER_REQUEST
    23:25:52.675
    [nrfdl][info](23:25:52.675) USBLister: failed to send setup packet NORDIC_DFU_INFO_REQUEST
    The only device available then is in this picture
    I connect anyway but I got the following logs
    23:26:45.724
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    23:26:45.756
    Error when fetching device versions: readFwInfo error (Origin: "Error when starting nrfdl_fw_read_info")
    23:26:45.757
    [nrfdl][error](23:26:45.728) NRFDLException(200): no matching trait found
    At this stage, it doesn't matter what I load, the write button is disabled.
    Is my device just dead ?
Children
Related