Dataman Programmer Checksum Calculation

How do Dataman programmers calculate the checksum of a file stored on a chip or in RAM?

The checksum is a 32 bit number. The initial value is zero, it is calculated by adding all the bytes one after another.

S4 users please note:Checksum for ROM and RAM is identical only for memory devices, i.e. S4 libraries for 8 bit devices like V2.86 and 16 bit devices like V1.22.

For PIC devices the checksum for ROM (device in S4 socket, i.e. PIC chip) and RAM is different. For more information on this, please read Microchip provided files for specific PICs (and programming specification for details).