This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220: OTA file storage

Part Number: CC3220

Hi,

I'm using CC3220R and able to run OTA example code. After OTA download and commit success i list the file system using Uniflash tool User file Browser option.

What i found there is only one mcu image, where is the downloaded image reside?

In the CC3200 we keep two binaries , active and secondary image , download is done on secondary and if something happen bad it rollback to active image.

what how rollback works in cc3220 and where the secondary image get download?

Question 2: Can some one please tell me where i can read about the new bootloader implementation for rollback for CC3220.

Question 3: Where i can found the complete OTA flow guide from running from boot-loader , extracting the image, storing to rollback.

Thanks,

Mahesh 

  • HI Mahesh,

    Please read - dev.ti.com/.../Over_The_Air_Update_Guide.html. OTA updates at CC3220 works by slightly different way. Rollback feature is done via failsafe feature of filesystem and file with firmware binary.

    Jan

  • Hi Mahesh,

    In addition to the OTA guide provided by Jan, a detailed explanation of the various filesystem features can be found in chapter 8 of the Network processor programmer's guide:
    ti.com/lit/swru455
    Basically, the CC3220 has built-in capability to mark any file on the filesystem (including the MCU binary) as 'failsafe'. For a failsafe file, the filesystem temporarily keeps a second copy of the file when you perform a write to it, and will automatically revert the file to the previous version after a reset unless the application performs a commit to the filesystem.

    Let me know if you need further clarification or have more questions on the failsafe feature or OTA in general.

    Regards,
    Michael