Checksums

A checksum is a hexadecimal number derived from the application code and other settings of an MCU or DSC. Refer to your device programming specification for details on how the checksum is generated.

A checksum is created when a project is built. You can view the generated checksum in the Dashboard window: View the Dashboard Display

Checksums are used to detect errors between builds. For example, consider a project built on one computer with one checksum. If that project is copied to another computer and built there, an identical checksum means the project was successfully copied while a different checksum means the copying failed.

Care should be taken when developing project code if the checksum is used for error detection. Do not use the compiler macros __TIME__ or __DATE__. Also, do no use the macros __FILE__ or assert() if file paths will change.

For some device, the checksum may be used as the user ID: Insert unprotected checksum in user ID memory.