Difference between revisions of "Check code"

From SFPTotal Wiki
Jump to: navigation, search
(Created page with "This function allows you to create a firmware with correct checksum after any changes. In the code of firmware transceiver there are two checksum that define data integrity o...")
 
Line 1: Line 1:
This function allows you to create a firmware with correct checksum after any changes.
+
This function make able to create a vendor code with correct checksums  after any change.
  
In the code of firmware transceiver there are two checksum that define data integrity of the firmware body. In the tabs FIRMWARE DETAIL and TABLE checksum bytes have addresses 0x3F and 0x5F.  
+
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.  
 
By the default, software automatically recalculates checksum when you changed the firmware in the tables.  

Revision as of 08:09, 21 October 2018

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