NefMoto

ECU Files => Checksum Update Requests => Topic started by: Merculeus on January 12, 2015, 11:52:37 AM



Title: Checksum correction
Post by: Merculeus on January 12, 2015, 11:52:37 AM
Hi, Ive made a modification to change my maf bosch to hitachi and now i'm a bit stuck and cant figure out how to properly correct my checksum, if anyone could help me get through it i would really appreciate it.

theres what i get as information with ME7sums

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\SEB>C:\Users\SEB\Desktop\CHecksum\me7sum.exe -v "C:\Users\SEB\Desktop\F
lash File\s4b5 2 hitachi"
ME7Tool (v1.0.3) [Management tool for Bosch ME7.x firmwares]
Inspiration from Andy Whittaker's tools and information.
Written by 360trev and nyet [BSD License Open Source].

Attempting to open firmware file 'C:\Users\SEB\Desktop\Flash File\s4b5 2 hitachi
'

Step #1: Reading ROM info ..
 Searching for EPK signature... C:\Users\SEB\Desktop\Flash File\s4b5 2 hitachi:
found EPK @0x10004, sig 0xfffe
OK
 Searching for ECUID table...OK
 EPK         : '40/1/ME7.1/5/6005.01//22m/DstC2o/011200//'
 Part Number : '8D0907551M  '
 Engine ID   : '2.7l V6/5VT     '
 SW Version  : '0002'
 HW Number   : '0261207143'
 SW Number   : '1037360857'

Step #2: Reading ROMSYS ..
 Startup section: word[0x008000]+word[0x00FFFE]
 @008038 Add=0x013225 CalcAdd=0x013225  ADD OK
 Program pages: 8k page first+last in 0x0000-0xFFFF and 0x20000-0xFFFFF
 @00803c Add=0xABDDC5 CalcAdd=0xABDDC5  ADD OK
 All param page: word[0x010000]+word[0x01FFFE]
 @01b9b0 Add=0x00971D CalcAdd=0x00971D  ADD OK

Step #3: Reading RSA signatures ..
 Searching for RSA offset #0...missing
 Searching for RSA offset #1...missing

Step #4: Finding CRC table(s) ..
 Searching for CRC table(s)...OK
 CRC table(s) OK

Step #5: Reading Main Data Checksums ..
 Searching for main data CRC pre block...missing
 Searching for main data CRC/csum blocks...OK
 Searching for main data CRC offsets...OK
 Searching for main data checksum offsets...missing
 Main CRCs:
 1) 0x010002-0x013FFE @7a866 CRC: 8AAA9E89 CalcCRC: 8AAA9E89    CRC OK
 2) 0x014252-0x017F4E @7a86c CRC: F469DD64 CalcCRC: 60B65A4A    ** NOT OK **
 3) 0x018192-0x01FBB0 @7a872 CRC: B0F69BE4 CalcCRC: B0F69BE4    CRC OK

Step #6: Reading Main Program Checksums ..
 Searching for main program checksum..OK
 ROM Checksum Block Offset Table @1e75a [16 bytes]:
 1) 0x000000-0x00FBFF CalcChk: 47AEFC2F
    0x00FC00-0x01FFFF CalcChk: 28F01F8E CalcCRC: 3D0A9959 SKIPPED
 2) 0x020000-0x0FFFFF
    <fffe0>  Chk: 9C971CE3 CalcChk: 9C971CE3 OK (i)

Step #7: Reading Multipoint Checksum Blocks ..
 Searching for multipoint block descriptor #1...OK
 1) <14224>  0x024000-0x02658D Chk: 0B08F804 CalcChk: 0B08F804 OK
 2) <14234>  0x014000-0x014243 Chk: 00540FE9 CalcChk: 00540FE9 OK (i)
 3) <14244>  0xFFFFFFFF-0xFFFFFFFF  END
 Multipoint #1: [2 blocks x <16> = 32 bytes]
 Searching for multipoint block descriptor #2...OK
 1) <1fbb2>  0x000000-0x003FFF Chk: 0FA0F5CF Boot: (whitelisted) OK
 2) <1fbc2>  0x004000-0x007FFF Chk: 0F4716B3 Boot: (whitelisted) OK
 3) <1fbd2>  0x000000-0x003FFF Chk: 0FF728A4 CalcChk: 0FF728A4 OK
 4) <1fbe2>  0x004000-0x007FFF Chk: 0F68CD6E CalcChk: 0F68CD6E OK
 5) <1fbf2>  0x008000-0x00BFFF Chk: 10B3FBFB CalcChk: 10B3FBFB OK
 6) <1fc02>  0x00C000-0x00FBFF Chk: 179B0A22 CalcChk: 179B0A22 OK
 7) <1fc12>  0x010000-0x013FFF Chk: 07123E55 CalcChk: 07123E55 OK
 8) <1fc22>  0x014000-0x017F4F Chk: 0E88934A CalcChk: 0E80453A ** NOT OK **
 9) <1fc32>  0x018190-0x01BFFF Chk: 06A9439B CalcChk: 06A9439B OK
10) <1fc42>  0x01C000-0x01FFFF Chk: 09F6AED7 CalcChk: 09F6AED7 OK (i)
11) <1fc52>  0x020000-0x023FFF Chk: 1608AB61 CalcChk: 1608AB61 OK
12) <1fc62>  0x024000-0x027FFF Chk: 11BE4518 CalcChk: 11BE4518 OK
13) <1fc72>  0x028000-0x02BFFF Chk: 0EEA1176 CalcChk: 0EEA1176 OK
14) <1fc82>  0x02C000-0x02FFFF Chk: 102AFF79 CalcChk: 102AFF79 OK
15) <1fc92>  0x030000-0x033FFF Chk: 0E4FEA9B CalcChk: 0E4FEA9B OK
16) <1fca2>  0x034000-0x037FFF Chk: 1077A468 CalcChk: 1077A468 OK
17) <1fcb2>  0x038000-0x03BFFF Chk: 0FE98669 CalcChk: 0FE98669 OK
18) <1fcc2>  0x03C000-0x03FFFF Chk: 0FF5CEE0 CalcChk: 0FF5CEE0 OK
19) <1fcd2>  0x040000-0x043FFF Chk: 0FDA86A8 CalcChk: 0FDA86A8 OK
20) <1fce2>  0x044000-0x047FFF Chk: 0FDFFDC1 CalcChk: 0FDFFDC1 OK
21) <1fcf2>  0x048000-0x04BFFF Chk: 11756D8C CalcChk: 11756D8C OK
22) <1fd02>  0x04C000-0x04FFFF Chk: 107AF831 CalcChk: 107AF831 OK
23) <1fd12>  0x050000-0x053FFF Chk: 112B06F0 CalcChk: 112B06F0 OK
24) <1fd22>  0x054000-0x057FFF Chk: 10F225E5 CalcChk: 10F225E5 OK
25) <1fd32>  0x058000-0x05BFFF Chk: 0F4DA27D CalcChk: 0F4DA27D OK
26) <1fd42>  0x05C000-0x05FFFF Chk: 0FA413F2 CalcChk: 0FA413F2 OK
27) <1fd52>  0x060000-0x063FFF Chk: 10BE4FCD CalcChk: 10BE4FCD OK
28) <1fd62>  0x064000-0x067FFF Chk: 10278A4F CalcChk: 10278A4F OK
29) <1fd72>  0x068000-0x06BFFF Chk: 0EE4341F CalcChk: 0EE4341F OK
30) <1fd82>  0x06C000-0x06FFFF Chk: 0F8CC076 CalcChk: 0F8CC076 OK
31) <1fd92>  0x070000-0x073FFF Chk: 10817F0F CalcChk: 10817F0F OK
32) <1fda2>  0x074000-0x077FFF Chk: 105C1221 CalcChk: 105C1221 OK
33) <1fdb2>  0x078000-0x07BFFF Chk: 11DE62B2 CalcChk: 11DE62B2 OK
34) <1fdc2>  0x07C000-0x07FFFF Chk: 0FD72B5A CalcChk: 0FD72B5A OK
35) <1fdd2>  0x080000-0x083FFF Chk: 11507C16 CalcChk: 11507C16 OK
36) <1fde2>  0x084000-0x087FFF Chk: 1178900E CalcChk: 1178900E OK
37) <1fdf2>  0x088000-0x08BFFF Chk: 10B35505 CalcChk: 10B35505 OK
38) <1fe02>  0x08C000-0x08FBFF Chk: 154AA07E CalcChk: 154AA07E OK
39) <1fe12>  0x090000-0x093FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
40) <1fe22>  0x094000-0x097FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
41) <1fe32>  0x098190-0x09BFFF Chk: 1F37E0C8 CalcChk: 1F37E0C8 OK
42) <1fe42>  0x09C000-0x09FFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
43) <1fe52>  0x0A0000-0x0A3FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
44) <1fe62>  0x0A4000-0x0A7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
45) <1fe72>  0x0A8000-0x0ABFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
46) <1fe82>  0x0AC000-0x0AFFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
47) <1fe92>  0x0B0000-0x0B3FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
48) <1fea2>  0x0B4000-0x0B7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
49) <1feb2>  0x0B8000-0x0BBFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
50) <1fec2>  0x0BC000-0x0BFFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
51) <1fed2>  0x0C0000-0x0C3FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
52) <1fee2>  0x0C4000-0x0C7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
53) <1fef2>  0x0C8000-0x0CBFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
54) <1ff02>  0x0CC000-0x0CFFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
55) <1ff12>  0x0D0000-0x0D3FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
56) <1ff22>  0x0D4000-0x0D7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
57) <1ff32>  0x0D8000-0x0DBFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
58) <1ff42>  0x0DC000-0x0DFFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
59) <1ff52>  0x0E0000-0x0E3FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
60) <1ff62>  0x0E4000-0x0E7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
61) <1ff72>  0x0E8000-0x0EBFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
62) <1ff82>  0x0EC000-0x0EFFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
63) <1ff92>  0x0F0000-0x0F3FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
64) <1ffa2>  0x0F4000-0x0F7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
65) <1ffb2>  0x0F8000-0x0FBFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
66) <1ffc2>  0x0FC000-0x0FFFFF Chk: 1FFDE002 CalcChk: 1FFDE002 OK
 Multipoint #2: [66 blocks x <16> = 1056 bytes]

*** Found 73 checksums in C:\Users\SEB\Desktop\Flash File\s4b5 2 hitachi

*** WARNING! 2/2 uncorrected error(s) in C:\Users\SEB\Desktop\Flash File\s4b5 2
hitachi! ***

C:\Users\SEB>


Title: Re: Checksum correction
Post by: nyet on January 12, 2015, 12:00:43 PM
Did you read the sticky thread? In particular, the second post?

http://nefariousmotorsports.com/forum/index.php?topic=3346.msg34376#msg34376

Or even the README?

https://github.com/nyetwurk/ME7Sum/blob/master/README


Title: Re: Checksum correction
Post by: Merculeus on January 12, 2015, 12:04:51 PM
yes indeed, i must be missing the point.


Title: Re: Checksum correction
Post by: nyet on January 12, 2015, 12:06:21 PM
So you read them?

Specifically, the section that starts with "To output corrected checksums:"?


Title: Re: Checksum correction
Post by: Merculeus on January 12, 2015, 12:16:35 PM
Yes, i believe i found my mistake now, i was doing it right but didnt unerstood the output file thingy..my bad..wish saying that i'm french can make you forgive me for wasting your time :)


Title: Re: Checksum correction
Post by: nyet on January 12, 2015, 12:21:14 PM
Yes, i believe i found my mistake now, i was doing it right but didnt unerstood the output file thingy..my bad..wish saying that i'm french can make you forgive me for wasting your time :)

Oh. Absolutely. My apologies for being rude. I assumed from your first post you were a native english speaker.


Title: Re: Checksum correction
Post by: Merculeus on January 12, 2015, 12:26:36 PM
but still thanks it helped me :)