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 OTA 升级问题

请教TI的工程师,

在OTA服务器端,将文件命名为: f80_sys_mcuimgX.bin (1,2,3或不加X) ota时,都会去重写 sys_mcuimgX.bin。

但下载完成后,该怎么写  "/sys/mcubootinfo.bin"  的 ucActiveImg? 

sBootInfo_t sBootInfo;
sBootInfo.ucActiveImg = IMG_ACT_USER1;
sBootInfo.ulImgStatus = IMG_STATUS_NOTEST;
fwrite(IMG_BOOT_INFO, (_u8 *)&sBootInfo, sizeof(sBootInfo_t));