Check code

From SFPTotal Wiki
Revision as of 08:09, 21 October 2018 by Sfptotal (Talk | contribs)

Jump to: navigation, search

This function make able to create a vendor code with correct checksums after any change.

There are two checksums, CC_BASE and CC_EXT, that define data integrity of the code body. In the tabs CODE DETAIL and TABLE the checksum bytes have addresses 0x3F and 0x5F.

By the default, software automatically recalculates checksum when you changed the firmware in the tables.

To disable the automatic checksum validation, deselect flag in menu Options -> Auto set checksum.

SFPTotal autoset fitmware checksum.png

To validate the checksum in the current firmware, you must use menu item Edit -> Checksum.

SFPTotal set checksum.png

When pushed, the program will compare checksum values and highlight the cells with green if checksum is correct and red if not.

SFPTotal validate checksum.png

To set correct checksum value in the body of the firmware, click button:

SFPTotal set checksum button.png

After this there will be a recalculation of all checksums.

SFPTotal validate checksum result.png