This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Modifying some info in Manifest.json file won't fail OTA

Hi,

My bootloader code was modified to include the device type and device revision when performing the OTA. I used single bank example.

When I made the zip for OTA, I specify the device type and device revision as the same as the bootloader code. - This dont have problem.

I also made a wrong device type and revision when making a zip file and my exception is correct that this will not be accepted.

But when I intentionally modified the correct manifest.json file, changing the value of device type, device revision, SD value and CRC value and zip it again, the OTA is still performing as successful upload. I would expect the OTA will FAIL because I intentionally changing the values.

My question is that, is that is the manifest.json file information was not check by the bootloader code? Or is the information from the manifest.json file was included in the bin or dat file?

I intention is that I would like to check if my files or my data is correct and if its not correct the I will prevent it from uploading.

-Thanks.

Parents Reply Children
No Data
Related