BIN file validation for OTA
Posted: Wed Sep 05, 2018 9:14 am
Hi all,
I would like to do an OTA in this way:
-I download a BIN file from a server from my factory APP
-I store the BIN file in an SD card
-I read the file and validate the BIN file
-If the validation is OK, I read the file and write the ota partition APP
This seems feasible. What I would like to check is if the BIN file has not been corrupted during reception.
Is there a CRC (or other validation method) inside the BIN file generated by the compiler?
Thanks
I would like to do an OTA in this way:
-I download a BIN file from a server from my factory APP
-I store the BIN file in an SD card
-I read the file and validate the BIN file
-If the validation is OK, I read the file and write the ota partition APP
This seems feasible. What I would like to check is if the BIN file has not been corrupted during reception.
Is there a CRC (or other validation method) inside the BIN file generated by the compiler?
Thanks