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.

CC3200-LAUNCHXL: User file format

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200, UNIFLASH

Hello TI community.

I am working on CC3200 OTA update. I have two questions about file format's and user files.

I wish to know which all file formats can be flashed onto the board using Uniflash. And what should the file's nomenclature be? Can it be f80_sys_mcuimgB.ext, if I need to download two files at the same time from the same folder on server.

Also I want to flash a .txt file and make it read only(how do I do this). 

  • Hi Shlok,

    If you're performing OTA, why are you flashing additional MCU images with UniFlash? Or are you asking about your initial application? Your initial application must be in binary format. When performing OTA, you can name your image whatever you'd like as long as it's under 20 characters, but you must update your application. The OTA example in the SDK looks for a certain format.

    CC3200 does not have support for read-only access. This is a secure file system feature in our CC3220 devices.

    Best regards,
    Sarah
  • Hi Sarah,
    Thanks for the reply.
    I think the question I asked needs more clarification. My purpose of asking the question is just experimental as I wish to understand OTA process and its applications better.

    First I'm adding additional flash images just because I wanted to experiment if I they get updated using OTA update. So I flashed a text file(/sys/readme.txt) and kept a different text file (same name) under the name f80_sys_readme.txt along with OTA update bin file (f80_sys_mcuimgA.bin originally ota_update_os.bin file) in the dropbox folder. The Text file gets downloaded but I do not know if the file is updated or not. Hence the read only question at the end as I thought these additional images might be read only. The application version changes from 1.0.0 to 1.0.1 .

    Also I am curious to know if I can download two bin files from the same folder on dropbox say for example f80_sys_mcuimgA.bin (Weather OTA) and f80_sys_mcuimgB.bin (simple Blinky.bin not OTA) at the same time. I tried this and again the app version changes but blinky does not execute. Is there a problem with nomenclature f80_sys_mcuimgB.bin or is it not possible at all? Also for doing so do I have to flash additional images using Uniflash prior to update? Also should I make any other changes?

    Regards,
    Shlok..
  • Hi Shlok,

    If your application version is changing, you are successfully completing OTA. If you would like to check if the file is updating, you can use the filesystem APIs to access the text file and print the contents to the terminal before and after the OTA process for comparison.

    The OTA SDK example looks at the OTA_VENDOR_STRING in otaconfig.h to find the next version (the Dropbox folder name). If you would like to perform two OTA updates, you will need to put the second image in another folder and update the vendor string in the first image that performs OTA.

    Best regards,
    Sarah
  • Hi Sarah,
    I kept the images on two different folder and it works. Thanks.
    If I want to access the file contents which APIs are you talking about? And how do I display the content on terminal??
    Regards Shlok...