-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a CRC32 over progmem and ESP.checkFlashCRC #6566
Commits on Sep 29, 2019
-
Add a CRC32 over progmem and ESP.checkFlashCRC
Automatically embed a CRC32 of the program memory (including bootloader but excluding any filesystems) in all images in unused space in the bootloader block. Add a call, ESP.checkFlashCRC() which returns false if the calculated CRC doesn't match the one stored in the image (i.e. flash corruption). Fixes esp8266#4165
Configuration menu - View commit details
-
Copy full SHA for 3833040 - Browse repository at this point
Copy the full SHA 3833040View commit details
Commits on Sep 30, 2019
-
Add example that currupts itself, comments
Show CRC checking catch a 1-bit error in program code by corrupting a large array, and then return it to clean and verify the CRC matches once again. Add comments to the CRC check routine Clean up pylint complaints on crc32bin.py
Configuration menu - View commit details
-
Copy full SHA for 79d0197 - Browse repository at this point
Copy the full SHA 79d0197View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7011265 - Browse repository at this point
Copy the full SHA 7011265View commit details
Commits on Oct 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b7e9f01 - Browse repository at this point
Copy the full SHA b7e9f01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a50bab - Browse repository at this point
Copy the full SHA 4a50babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fca89e - Browse repository at this point
Copy the full SHA 3fca89eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcfa48c - Browse repository at this point
Copy the full SHA fcfa48cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00929d1 - Browse repository at this point
Copy the full SHA 00929d1View commit details
Commits on Dec 9, 2019
-
Check linker script for CRC space in bootsector
Add an assertion in the eboot linker file to guarantee that we have at least 8 bytes of unused space at the end of the boot sector to patch in the CRC. If not, the eboot link will fail.
Configuration menu - View commit details
-
Copy full SHA for 49180aa - Browse repository at this point
Copy the full SHA 49180aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e64e4 - Browse repository at this point
Copy the full SHA 95e64e4View commit details
Commits on Dec 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 800ebe5 - Browse repository at this point
Copy the full SHA 800ebe5View commit details
Commits on Dec 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 23ecb8e - Browse repository at this point
Copy the full SHA 23ecb8eView commit details
Commits on Dec 19, 2019
-
Add note about what to do if CRC check fails
Per discussion with @d-a-v. When the CRC check fails, you could *try* to do certain things (but may not succeed since there is known flash corruption at that point). List a few ideas for application authors.
Configuration menu - View commit details
-
Copy full SHA for 77d617a - Browse repository at this point
Copy the full SHA 77d617aView commit details
Commits on Dec 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 985b6c5 - Browse repository at this point
Copy the full SHA 985b6c5View commit details -
Combine the CRC calc and bin generation in 1 step
Per discussion w/@mcspr, combine the CRC calculation with the binary generation, removing the additional build step.
Configuration menu - View commit details
-
Copy full SHA for 379b167 - Browse repository at this point
Copy the full SHA 379b167View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51fec2c - Browse repository at this point
Copy the full SHA 51fec2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 365a9d0 - Browse repository at this point
Copy the full SHA 365a9d0View commit details