6.9 Calculate Checksum

Enables the bootloader to calculate and return a checksum value over a given range of memory addresses.

Summary

There are several reasons for performing a checksum command on a given rage of memory, the most important one being for verification of the data writing operations in the bootloader. It is recommended for the host program to calculate an independent checksum as the hex file is programmed to the device. This precalculated value can later be compared to the checksums calculated on the device memory and either verify or reject the application data present on the chip before running it.

Figure 6-9. Calculate Checksum