ESP-IDF : Esp32S3 - Is it possible to calculate a checksum on the firmware partition at compilation ?
Posted: Wed Jul 12, 2023 1:04 pm
Good afternoon,
working with an Esp32S3, I would like to know if there is a possibility to calculate a CRC on the firmware partition
at compilation and to embed it somewhere automatically ?
The goal would be to calculate the CRC at compilation, to embed it somewhere in flash memory
and to have the possibility to calculate it again when the firmware is running (Via a method, with the same CRC computation).
This would enable me to check if my firmware partition is corrupted or not while the firmware is running.
Best regards,
Thank you for your help on the subject,
Thomas TRUILHE
working with an Esp32S3, I would like to know if there is a possibility to calculate a CRC on the firmware partition
at compilation and to embed it somewhere automatically ?
The goal would be to calculate the CRC at compilation, to embed it somewhere in flash memory
and to have the possibility to calculate it again when the firmware is running (Via a method, with the same CRC computation).
This would enable me to check if my firmware partition is corrupted or not while the firmware is running.
Best regards,
Thank you for your help on the subject,
Thomas TRUILHE