Download FlashPro-CC User's Manual
Transcript
10. Check Sum Options Programming software has two groups of check sum (CS) calculation. The first group is used for internal programming verification and the second group can be used for firmware verification in application software. The CS used for internal verification is calculating CS only for specified words in the code file regardless of the flash memory size, location etc. This CS is useful only inside the programmer, because programmer has all information about programmed and empty bytes location. This method is also useful if only part of the code is programmed in the flash (append option). All not programmed words in the programming process are ignored, even if these words are not empty in the flash. The check sum used for internal programming verification is displayed in the Check Sum Group (Figure 10.1) ( see the Main Dialog screen - Figure 4.1 ) Figure 10.1 In the source line is displayed the arithmetic sum of the code contents with added contents of the serialization, model etc. if selected. Arithmetic sum is calculated as the sum of 16-bits unsigned words - result is 32 bits unsigned. Only programmed words are taken for calculation. All other not used words are ignored. All bytes are converted to 16-bits words as follows (for simplicity format casting is not present in this example): word = data[ address ] + ( data[ address+1 ]<<8 ) where address is even and incremented by 2. In the memory line is displayed the CS result taken from the flash memory, calculated in the same way as the CS taken from the source. Only words defined in the source are taken from the flash memory for calculation. FlashPro-CC - Flash Programmer for Ccxx series devices PM024A01 Rev.6 69