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: Need to update application binary only, not service pack in OTA.

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

Hi,

I have a query regarding OTA in CC3200. I need to only update Application Binary via OTA ,I don't want to update service pack( as I have already updated it with via UniFlash),

So, I want to know how to set up folders on DropBox for this configuration.

My nwp version: 2.0.7.0.31.0.0.4.1.1.5.3.3

Any help is appreciated.

Regards,

Keshav Aggarwal

  • Hi Keshav,

    Have you taken a look at the OTA example in the CC3200 SDK yet? By default the application's instructions in the readme call to setup a few folders as a demo, but you can omit the servicepack folder and have only the MCU image file to update in a single dropbox folder if you want. The OTA appnote has more detailed instructions, and can be found in <cc3200 SDK dir>/cc3200-sdk/docs/examples/CC3200 Over-The-Air (OTA) Update Application Note.pdf.

    What are you currently running on the CC3200, and how are you currently performing the OTA update?

    Regards,
    Michael
  • Hi Michael,

    I have already omitted that service pack folder from dropbox.
    As my nwp version is 2.0.7.0.31.0.0.4.1.1.5.3.3 . So, as per the convention 4th bit is 0 which states service pack version.
    So as of now I have 2 folders on Dropbox.
    Vid01_Pid00_Ver0000 -> f80_sys_mcuimgA.bin    //APP_VER_BUILD - 1 ; OTA_VENDOR_STRING - "Vid01_Pid00_Ver01"
    Vid01_Pid00_Ver0100 -> empty

    I'm currently using OTA Example (OS) in SDK, When I tries to do OTA update, It shows completed and only few times it shows rebooting. After the system is rebooted, the previous flashed image is Booted everytime. The OTA image is not Booted as it always shows the old APP Version as 0.0.0.

    Uniflash Configurations-

    /sys/mcuimg.bin -> application_bootloader.bin
    /sys/mcuimg1.bin -> ota_update_os.bin   //APP_VER_BUILD - 0 ; OTA_VENDOR_STRING - "Vid01_Pid00_Ver00"
    /sys/mcuimg2.bin -> ota_update_os.bin   //APP_VER_BUILD - 0 ; OTA_VENDOR_STRING - "Vid01_Pid00_Ver00"
    /sys/mcubootinfo.bin -> empty


    Regards,
    Keshav Aggarwal

  • Michael,

    By updating the"cdn_url" array size to 512 In "ota_api.h" worked. It should be updated in sdk.

    Regards,

    Keshav Aggarwal

  • Hi Keshav,

    Thanks for coming back and giving the community your solution to the issue that you were facing.
    In the new v.1.4.0 release of the CC3200 SDK, one of the updated items was indeed changing the cdn_url length. It was actually changed to 640 bytes. Thus, this issue should be fixed in the latest SDK.

    Regards,
    Michael