
Description
Just a quick question (I hope). Reading the recent release notes and some of the development traffic I understand that there is now a CRC value at the end of bin files and this is checked by the OTA FLASH loader. What I'm not sure about is what happens if this is found to be incorrect. So my question is:
- With recent versions, such as 2.7.4, what does ESPhttpUpdate.update() do if it finds an incorrect CRC? In particular, does it refuse to commit to the new image and retain the original?
The reason for my question is I have about 5,000 IoT devices in the field running 2.4.2 (yes, I know it's old, that's why I am exploring 2.7.4). If any of these units have bad FLASH they blissfully never knew. But if I deploy 2.7.4 will they no longer be able to update if they have bad FLASH? I'm not suggesting this a bad thing, I realize executing a program from bad FLASH is unreliable, but I need to fully understand the impact of making this upgrade before making the commitment.
Many thanks for your time.