Checksum

Top  Previous  Next

The Checksum dialog allows auto calculating checksums of the data in buffers and writing this checksum into the target device's memory. The dialog enables you to specify either a "standard", widely used algorithm or a custom, complex algorithms by using a script.

Element of dialog

Description

 

Write checksum to

address:

If this box is checked the programmer will write a checksum into a  specified address of a specified memory layer of a target device in accordance to the parameters below.

Address range for  checksum calculation:

Auto:

 

User-defined:

There are two options for setting the address range: Auto and User-defined.

The address is defined as a full range of the selected device's memory layer. It is set by default.

Here you can specify the start and end addresses of the selected device memory layer, for which the program calculates the checksum.

Use algorithm to calculate checksum:

Here you can pick one from the drop down menu of several algorithms. By default it sets the "Summation, discard overflow".

Use script to calculate checksum:

By checking this radio button you specify a method of the checksum calculation as a result of executing a chosen script file.

Size of calculation result:

These radio buttons allow to choose a size of the checksum calculation: one, two or four bytes.

Size of data being summed:

These radio buttons allow to choose a size of the data being summed: one, two or four bytes.

Operation on summation result:

These radio buttons allow either to apply no operation on the calculated checksum or to negate or to complement the result.

Byte Order:

These two toggled radio buttons define an order of bytes that represent the checksum - either the least significant byte (LSB) follows the most significant byte (MSB) or vice versa.

Exclude the following areas from checksum calculation:

If the box is checked you can specify several memory ranges that will be skipped by any algorithm that calculate the checksum. To specify these ranges specify the start and end addresses and click the 'Add' button.