m1 5 5 PDF
m1 5 5 PDF
m1 5 5 PDF
5
checksum correction
There are 2 checksums (one for each bank) located at FFF8h and 1FFF8h.
Both checksums are 16bit sums followed by their complement.
You can find this going to the end of each bank and finding the both 16bit numbers that
are complement of each other.
First one:
Second one:
Again, note that E4C1h + 1B3Eh = FFFFh (both banks are equal).
How to calculate the checksum for a modified file.
I'll use HxD editor (http://mh-nexus.de/en/hxd/) but anything similar will do.
1) Set both checksums to 00 00 FF FF, that way the sum won't change the data
checksum.
2) Sum up all the 128kb using the checksum 16-bit function (under the Analysis menu).
3) Now, that value is the first part of both checksums. Using the calculator do FFFFh –
Value to get the second checksum value.
All information and values given in this document may be used at own risk.
I do not stand in for any problems. Thanks to the memebers from www.ecuconnections.com