It's not entirely obvious how the firmware checksum validation works. I seem to have some idea but would like confirmation.
- Encrypter appends checksum and verifies that remainder reaches zero only at the end of image
- Bootloader verifies the whole flash region (
_APP_START up until __romend)
Does this mean that the application image should be linked with the resultant size of __romend - _APP_START - 4 in order to guarantee correct checksum verification?
It's not entirely obvious how the firmware checksum validation works. I seem to have some idea but would like confirmation.
_APP_STARTup until__romend)Does this mean that the application image should be linked with the resultant size of
__romend - _APP_START - 4in order to guarantee correct checksum verification?