Check code

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

The software automatically recalculates checksums when any byte changed. Remove a flag in menu Edit -> Autoset Checksum to disable this function or set up to enable.

File:Sfptotal-wizard-autoset-checksum-flag.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