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.

CC3235 Http file server OTA問題

Other Parts Discussed in Thread: CC3235SF, CC3200, UNIFLASH, CC3220SF

我們之前是使用CC3200開發我們的產品,因WiFi 5G需求改為CC3235SF,希望能延用之前的系統,但有個OTA的問題

CC3200目前的OTA方式:是將bootload燒在mcuimg.bin,主程式燒在mcuimg1.bin ,再應用mcubootinfo.bin來做OTA的狀態更新

                        MCU從持定位置的http file server將更新bin檔下載存成 mcuimg2.bin 或mcuimg3.bin檔,更改mcubootinfo.bin後重啟MCU,再依測試結果做 commit的動作。

問題:有看過cloud_ota及local_ota,都和CC3200不相同,CC3235SF可否如同CC3200做一樣的OTA方式嗎?(有試過將CC3200的bootload燒錄到mcuflashimg.bin,但無法將主程式燒錄到sys/mcuimg,有認證問題)

需求:1.使用http file server做bin檔下載

           2.希望工作在nonrtos的環境

           3.因使用場域皆為封閉網路(無法連到外部網路),且每個客戶的File路徑皆不相同,必需可動態改變file的網址路徑

UniFlash  Version: 5.1.0.2397

CCS Version: 9.1.0

SDK: simplelink_cc32xx_sdk_3_20_00_06

  • CC3235的OTA我们有提供文档,可在此查看:www.ti.com/.../swra510a.pdf
  • 我們想使用HFS(http file server)做為更新檔放至的位置

    CC3235的OTA可以lib可以使用嗎?

    otauser.h 的define要如何設定呢?

    #define OTA_VENDOR_DIR                         "OTA_CC3220SF"


    #define OTA_SERVER_NAME                      ""
    #define OTA_SERVER_IP_ADDRESS          0x00000000
    //#define OTA_SERVER_SECURED             1
    #define OTA_SERVER_SECURED               0

    /* Custom Vendor info */
    #define OTA_VENDOR_TOKEN                    ""
    #define OTA_SERVER_AUTH_IGNORE_DATA_TIME_ERROR
    #define OTA_SERVER_AUTH_DISABLE_CERT_STORE

    #define CdnVendor_SendReqDir
    #define CdnVendor_ParseRespDir
    #define CdnVendor_SendReqFileUrl
    #define CdnVendor_ParseRespFileUrl
    #define CdnVendor_SendReqFileContent