Skip to content

Checksum documentation #44

@dzarda

Description

@dzarda

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions