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.

CC1352P: OTA升级可以不管"valid header"检查吗??

进行OTA升级,OTA升级刚开始的时候一直报错 "OTA abort" . 经过debug发现在 zcl_ota.c --> zclOTA_ProcessImageData() --> case OAD_GET_IMAGE_HDR_STATE: -->

//is a valid header
if(memcmp(&oad_imgHdrFactoryNew.fixedHdr.imgID, oad_externalFLashID, sizeof(oad_externalFLashID)) != 0)
{
flash_close();
//This release does not support not having the Factory New image
return ZCL_STATUS_ABORT;
}

由于上面的这个判断一直出错,所以OTA一直没有进行。但是我disable这个判断的时候,OTA则正常进行。

请问我应该怎么处理,才能使imgID和flashId相等????

还有这个判断有什么作用吗,对于整个芯片有什么保护作用???