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

FOTA_V2 update issue

Hi Dev Team,

I am using a Thingy91 V1.4.0 and I have connected my Thingy91 to the nRf Cloud using the asset tracker example using NCS version V1.4.2 .

The update section says that I need to update my FOTA_V1 to FOTA_V2, using the latest NCS version. I am using the latest NCS version i.e: V1.4.2 and still I dont see the version being upgraded to FOTA_V2. Could you let me know if I am using the right NCS version for FOTA_V2 or is there another latest version of NCS ?

Also, I wanted to know the procedure of doing a FOTA update through the nrf Cloud. 

Regards,

Adeel.

Parents Reply Children
  • Hi Didrik,

    Thanks for the update on this.

    Could you also let me know the procedure to do the FOTA through nRF Cloud. Is it using the Bundles section where we need to upload the app_update.bin file. 

    I really did not understand the procedure as to how the board picks up the file uploaded on the nRF cloud. Any help in explaining this would be useful Slight smile.

    Regards,

    Adeel.

  • I  don't know all the details about the V2 implementation, but it shouldn't be much different from the device's perspective anyway.

    The way FOTA works in AWS, and used to in nRF Cloud, is that you upload the DFU image to a server which is reachable for the device.

    Then, you create a "job", where you specify how to get the DFU image. The device will be notified that the job is available, parse the job to get information on how to get the DFU file.

    It will then use that information to download the file, piece by piece, and store it in flash.

    The next time the device  reboots (which might happen automatically when the image is downloaded), the bootloader will see the new image, and swap to the new image.

  • Hi Didrik,

    Thanks for the explanation. I got it working through the aws_fota application :) .

    Regards,

    Adeel.

Related