User manual
Pg4uw
• Tab Main checksum options
• Tab Checksum calculator
Tab Main checksum options allows to set mode of Automatic checksum calculator.
It contains following controls:
• Checkbox Apply user-defined buffer addresses for main checksum
• unchecked status global Buffer start and Buffer end address is used for calculating
checksum of buffer data
• checked status user defined addresses are used to calculate checksum of buffer
data
• Fields From address and To address are used to enter address range for main
checksum calculation. Addresses are used only when checkbox Apply user-defined
buffer addresses for main checksum is checked.
• Selection group Checksum type allows selecting wished kind of checksum to be used for
main checksum. More information about Main checksum types can be found bellow.
• Field Checksum contains actual value of recently calculated checksum
• Button Apply is used to confirm checksum settings from Main checksum options. Please
note, that once the button is pressed, previous checksum settings are lost.
• Button Close is used to close the Checksum dialog.
• Group Exclude buffer data for checksum contains options for specifying blocks of buffer
data, which have to be excluded from checksum calculation. This is useful for example for
serialization. Serialization modifies data at specified addresses in buffer. So there is
problem to check the checksum of buffer, when data on some addresses are changed by
serialization engine before programming of each device. If part of buffer used for
serialization is excluded from checksum calculation, the checksum of buffer data will not
be changed by serialization data changes. One or more excluded blocks can be specified.
Tab Checksum calculator contains on-demand checksum calculator.
It contains following controls:
• From address This is a start address of block selected for calculating checksums in
buffer. Address is always defined as Byte address.
• To address This is an end address of block selected for calculating checksums in
buffer. Address is always defined as Byte address.
• Fields displaying values of calculated checksum types:
BYTE sum by bytes to DWORD. CY flag is ignored.
WORD sum by words to DWORD. CY flag is ignored.
BYTE (CY) sum by bytes to DWORD. CY flag is added to result.
WORD (CY) sum by words to DWORD. CY flag is added to result.
CRC-CCITT sum by bytes to Word using RESULT=PREVIOUS + (x^16 + x^12 + x^5
+1)
CRC-XMODEM sum by bytes to Word using RESULT=PREVIOUS + (x^16 + x^15 + x^2
+1)
CRC-32 sum by bytes to DWORD using standard CRC-32 algorithm
Column marked as NEG. is a negation of checksum so, that SUM + NEG. = FFFFH.
Column marked as SUPPL. is complement of checksum so, that SUM + SUPPL. = 0 (+
carry).
Word is 16-bit word. DWORD is 32-bit word.
Supported hash sums:
103