This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Full modem firmware update for modem v1.3.0

I am working in a project where we want to be able to do full modem firmware update with FOTA for modem version 1.3.x. According to the release notes, in order to do this, we need to use the .cbor file in the zip from the release.

I have tried to follow the example in samples/nrf9160/http_update/full_modem_update. This sample however only uses v1.2.1 and v1.2.2. Can I follow the same steps for v1.3.x using the .cbor file? Or do I need to do something more? Like some digest?

I have modified the sample to fit my project. My hardware has a nrf9160 which downloads the firmware via LwM2M. The hardware also has an external flash memory which I use for the firmware update. I am currently using NCS version 1.6.1.

  • What was the full URL you used in this test?

    It looks to me like you either get the incorrect file or that you have not set

    CONFIG_DFU_TARGET_FULL_MODEM=y

    in your config, which you need to do. You can look in the file subsys/dfu/dfu_target/src/dfu_target.c for the ifdefs in dfu_target_img_type function.

    Also, I am using nrf v1.8.0 currently, so there might be some changes from v1.5.0, but should probably be the same in this area.

  • Thanks 
    Andreas

    I have successfully updated from 1.2.3 to 1.2.7 but after doing configuration .i am still getting the error

    RRC mode: Connected
    
    
    
    
    D: MQTT_EVT_PUBACK: id = 27137 result = 0
    
    
    
    
    I: Configuring socket timeout (60 s)
    
    
    
    
    I: Connecting to dl40-fota.s3-eu-west-1.amazonaws.com
    
    
    
    
    I: Downloading: fmfu_1.3.0.bin [0]
    
    
    
    
    D: AWS_FOTA_EVT_START
    
    
    
    
     AWS_IOT_EVT_FOTA_START 
    
    
    
    
    PSM mode off  requested due to FOTA update
    
    
    
    
    I: Downloaded 1024/1991053 bytes (0%)
    
    
    
    
    E: No supported image type found
    
    
    
    
    E: Unknown image type
    
    
    
    
    E: dfu_target_init error -134
    
    
    
    
    E: FOTA download failed, report back
    
    
    
    
    E: AWS_FOTA_EVT_ERROR
    
    
  • Thanks

    readme file modem firmware 1.3.0 .mentioned that 

    "This release is not FOTA updatable from previous modem firmware releases."

  • Yeah, that is a bit unclear in the README, but what it means is that you cannot upgrade to v1.3.0 from v1.2.x using the modem delta update, that was previously the only way to do updates with FOTA.

    But the README also says after that

    "Non-wired full modem update can be performed by using new MFW CBOR image format and suitable support from the nRF Connect SDK and device hardware."

    And that is reffereing to the FMFU that we are talking about in this thread.

  • The v1.2.3 -> v1.2.7 is not using FMFU, it is using the modem delta update, which is another function.

    Without your complete configuration it is hard to know if that is correct or not. But what I would have done is to somehow print the 1024 bytes you actually do download, and check if they are the same as the fmfu_1.3.0.bin file if you download that on your computer. And then, if they are the same, I would debug the code where the image type is determined, that I pointed out previously. I still think you have not succeeded in enabling FMFU.

Related