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

Nordic Thingy91 Error updating Modem Firmware

I have setup my new Thingy91 and got it connected to nrf Cloud.  I can see environmental sensor data in the terminal window but it is asking me to update the modem firmware to see services etc.

When I try and use nRF connect Programmer to update the modem firmware via USB it fails each time with the error message 

"MCUboot DFU failed. Please make sure that the device is in MCUboot mode and try again."

I am powering up the device with SW3 pressed and I have the option ticked for MCUBoot.

Can you suggest what I should try next as I am not sure which application/firmware is working or not working and how to get the system updated to the latest firmware.

Regards

Mike

2020-07-24T10:09:12.068Z INFO Application data folder: /Users/michaelpyott/Library/Application Support/nrfconnect/pc-nrfconnect-programmer
2020-07-24T10:09:12.177Z DEBUG App pc-nrfconnect-programmer v1.4.3 official
2020-07-24T10:09:12.177Z DEBUG App path: /Users/michaelpyott/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer
2020-07-24T10:09:12.177Z DEBUG nRFConnect 3.4.1 is supported by the app (^3.3.0)
2020-07-24T10:09:12.177Z DEBUG nRFConnect path: /Applications/nRF Connect.app/Contents/Resources/app.asar
2020-07-24T10:09:12.178Z DEBUG HomeDir: /Users/michaelpyott
2020-07-24T10:09:12.178Z DEBUG TmpDir: /var/folders/s3/x3kpzx597cddq3565v7c24kw0000gn/T/
2020-07-24T10:09:12.211Z INFO Using nrfjprog library 10.9.0, pc-nrfjprog-js 1.7.3
2020-07-24T10:09:12.213Z VERBOSE Could not fetch serial number for serial port at /dev/tty.Bluetooth-Incoming-Port
2020-07-24T10:09:12.213Z ERROR Error while probing devices: Error occured when get serial numbers. Errorcode: CouldNotCallFunction (0x9)
Lowlevel error: INVALID_OPERATION (fffffffe)

2020-07-24T10:10:53.563Z INFO Modem DFU starts to write...
2020-07-24T10:10:53.563Z INFO Writing /Users/michaelpyott/Desktop/Thingy91/thingy91_fw_2020-04-29_bc7ade8b/mfwnrf9160120.zip to device
2020-07-24T10:10:54.020Z ERROR MCUboot DFU failed. Please make sure that the device is in MCUboot mode and try again.

Parents Reply Children
  • Ok I will give that a try

    Mac OS version is Catalina 10.15.6 (19G2021)

    I am holding down SW3 when powering on the unit .

  • I have just un-installed and re-installed the nRF Connect app on the Mac and tried again to update the modem firmware.  I get exactly the same error.

  • I decided to try the update on a Windows 10 machine and it worked ok so this looks like a Mac OSX issue still?

  • But now the.device won't respond to the LTE Link monitor or show up on nRF Cloud?

  • This is the error log I get when trying to re-program the application.  I have started the device with SW4 pushed in to enable MCU boot.

    2020-08-19T15:32:25.945Z INFO Application data folder: C:\Users\MichaelPyott\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
    2020-08-19T15:32:26.017Z DEBUG App pc-nrfconnect-programmer v1.4.4 official
    2020-08-19T15:32:26.017Z DEBUG App path: C:\Users\MichaelPyott\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer
    2020-08-19T15:32:26.017Z DEBUG nRFConnect 3.4.2 is supported by the app (^3.3.0)
    2020-08-19T15:32:26.017Z DEBUG nRFConnect path: C:\Users\MichaelPyott\AppData\Local\Programs\nrfconnect\resources\app.asar
    2020-08-19T15:32:26.017Z DEBUG HomeDir: C:\Users\MichaelPyott
    2020-08-19T15:32:26.017Z DEBUG TmpDir: C:\Users\MICHAE~1\AppData\Local\Temp
    2020-08-19T15:32:26.038Z INFO Using nrfjprog library 10.9.0, pc-nrfjprog-js 1.7.3
    2020-08-19T15:32:56.889Z INFO Parsing HEX file:  \\Mac\Home\Desktop\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:32:56.901Z INFO File was last modified at  4/29/2020, 1:24:08 PM
    2020-08-19T15:33:00.519Z INFO Does not need to be reloaded:  \\Mac\Home\Desktop\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:33:02.020Z ERROR MCUboot DFU failed. Error occured when program. Errorcode: CouldNotOpenDevice (0x4)
    Lowlevel error: Unknown value (ffffff8e)
    
    2020-08-19T15:33:35.660Z INFO Target device closed.
    2020-08-19T15:38:31.694Z INFO Parsing HEX file:  \\Mac\Home\Desktop\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:38:31.695Z INFO File was last modified at  4/29/2020, 1:24:08 PM
    2020-08-19T15:38:36.514Z INFO Does not need to be reloaded:  \\Mac\Home\Desktop\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:38:37.889Z ERROR MCUboot DFU failed. Error occured when program. Errorcode: CouldNotOpenDevice (0x4)
    Lowlevel error: Unknown value (ffffff8e)
    
    2020-08-19T15:38:57.423Z INFO Parsing HEX file:  \\Mac\Home\Desktop\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:38:57.423Z INFO File was last modified at  4/29/2020, 1:24:08 PM
    2020-08-19T15:39:03.615Z INFO Does not need to be reloaded:  \\Mac\Home\Desktop\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:39:12.308Z ERROR MCUboot DFU failed. Error occured when program. Errorcode: CouldNotOpenDevice (0x4)
    Lowlevel error: Unknown value (ffffff8e)
    
    2020-08-19T15:41:06.505Z INFO Parsing HEX file:  C:\Work\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:41:06.506Z INFO File was last modified at  4/29/2020, 1:24:08 PM
    2020-08-19T15:41:12.421Z INFO Does not need to be reloaded:  C:\Work\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:41:13.523Z ERROR MCUboot DFU failed. Error occured when program. Errorcode: CouldNotOpenDevice (0x4)
    Lowlevel error: Unknown value (ffffff8e)
    
    2020-08-19T15:41:22.118Z INFO Does not need to be reloaded:  C:\Work\Thingy91\images_dfu_hex\thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex
    2020-08-19T15:41:23.524Z ERROR MCUboot DFU failed. Error occured when program. Errorcode: CouldNotOpenDevice (0x4)
    Lowlevel error: Unknown value (ffffff8e)
    
    

Related