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.

Service Pack OTA files: Filenames and where to put them in SFlash

Other Parts Discussed in Thread: UNIFLASH, CC3200

Hi,

after having a look at the Service Pack, the following two files are available for OTA:

ota_1.0.0.10.0.ucf.signed.bin

ota_1.0.0.10.0.ucf.ucf

We do not use the TI OTA mechanism and I am now wondering in which folder and with which filenames I should put these files, to update the firmware of the NWP.

I am working under the assumption that either we or Uniflash have already allocated an appropriate size for these files (AFAIK 128 kB, COMMIT mode).

Thanks

Tobias

  • Hi,

    Please take a look at section 3.2.2 of the OTA application note. This mentions the nomenclature of the files to be hosted on DropBox.
    OTA over drop box is a reference application, you can use the same concept to suit your requirements.

    The OTA application itself would allocate the appropriate size for these files.

    Regards,
    Raghavendra
  • Hello:

    I have the same doubt.

    I can run the OTA_example; but I can´t update the servicepack. I think it is problem of the name of the files because the pointer to dropbox is ok.

    I have renamed :

    ota_1.0.0.10.0.ucf.ucf -> f43_sys_servicepack.ucf

    ota_1.0.0.10.0.ucf.signed.bin  -> f43_sys_servicepack.bin

    Is it OK? Are the two files needed? are they allocated in the same root?

    If I update with uniflash, OTA_example works fine:

    App Version: 0.0.0
    Nwp Version: 2.1.0.1.31.1.2.0.2.1.0.3.23

    Vid01_Pid00_Ver0001

    After update servicepack with uniflash:

    App Version: 0.0.0
    Nwp Version: 2.4.0.2.31.1.2.0.2.1.0.3.23

    Vid01_Pid00_Ver0002

    After update pushing SW3:

    App Version: 0.0.1
    Nwp Version: 2.4.0.2.31.1.2.0.2.1.0.3.23

    Vid01_Pid00_Ver0102

  • Hi,
    did not find the above mentioned "OTA application note" containing section 3.2.2 .
    is there a link to it available ?
    Or is this the right one: processors.wiki.ti.com/.../CC32xx_Over_The_Air_Update_Application application notes&tisearch=Search-EN
    There in section 4.3.2 i find file to be stored as " “/sys/mcuimg2.bin" if no factory default is needed.
    Is that right ?
    Where to store the other file (ota_1.0.0.10.0.ucf.ucf) ?

    Regards
    Werner
  • Hi,

    The application note is a PDF, in the CC3200 SDK 1.1.0 under cc3200-sdk\docs\examples. File name is 'CC3200 Over-The-Air (OTA) Update Application Note.pdf'.

    The ota_1.0.0.10.0.ucf.ucf is the service pack file that should be named as f43_sys_servicepack.ucf.
    The ota_1.0.0.10.0.ucf.signed.bin is the signature file and should be named as f00_sys_servicepack.sig.

    Regards,
    Raghavendra

  • Hi,


    the application note mentions that the device should be formatted using uniflash with the "Secure" option enabled.

    Does this mean that it is impossible to perform an update of the service pack if the device has not been formatted using the "Secure" option?

    If so: Do the devices get delivered with a filesystem which has the secure mode enabled?

    Thank you

    Tobias

  • Hi,

    The document says "Format the storage with “Secure” and “Alert” unchecked".

    Please ensure that it is not enabled.

    Regards,
    Raghavendra

  • Hi,

    thanks for the quick reply. After your last comment, I found a version of the document online: e2e.ti.com/.../0743.CC3100-Over_2D00_The_2D00_Air-_2800_OTA_2900_-Update-Application-Note.pdf

    It states, that you should format the device with "Secured" checked.

    I've now also checked the file which is provided in the current SDK. This file specifies that the device should be formatted with the "Secured" option unchecked.

    I have to assume that the document provided with the current SDK is the correct one, and that the older document should not be used anymore. Is this correct?

    Thank you
    Tobias
  • Hi Tobias,

    Please use the application notes that is provided with the current SDK that you are working on.

    Regards,
    Raghavendra
  • Hi,

    We've tried to update the service pack as described, by writing to /sys/servicpack.ucf and /sys/servicepack.sig

    What we've discovered is that the filesystem of the module seems to be delivered with the "secure" mode activated. This prevents us from accessing /sys/servicpack.ucf as we are not in possession of the appropriate token.


    We still would like to avoid using uniflash (as there is no Linux version available and we'd have to integrate it in our automatic test system). Is there any way to format the filesystem or otherwise make the file accessible without using Uniflash?


    Thanks

    Tobias

  • Hi,

    Can you please clarify on "This prevents us from accessing /sys/servicpack.ucf"? How are you accessing it?
    Uniflash and OTA are the supported ways of flashing the image to the device.

    Regards,
    Raghavendra