28.3.2.1 Checksum
The pre-calculated checksum must be present in the last location of the section to be checked. If the BOOT section is to be checked, the checksum must be saved in the last bytes of the BOOT section. The same is done for APPLICATION and the entire Flash. Table 28-1 shows explicitly how the checksum must be stored for the different sections. Refer to the CRCSCAN.CTRLB register description for how to configure the sections to be checked.
Section to Check | CHECKSUM[15:8] | CHECKSUM[7:0] |
---|---|---|
BOOT | BOOTEND-1 | BOOTEND |
BOOT and APPLICATION | APPEND-1 | APPEND |
Full Flash | FLASHEND-1 | FLASHEND |