Pages: [1]
Author Topic: me7sum looks to have fixed my ME7.5 checksums.......  (Read 4834 times)
monzavr6t
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


« on: May 02, 2014, 03:31:57 AM »

Just updated from the GIT repo and tried the following command on a modified ecu file from my AUM mk4 Golf.

Found in a thread on here but can't find it again. It looks like it has fixed all the checksums except for 1.

Not got the courage to flash the fixed version yet as only just started looking at map differences and trying to move my megasquirt brain over to Bosch land!

Great forum and software by the way.

Code:
me7sum.exe _mod_ecu_dump_mod.bin" fixed_mod_golf.bin
before Me7check
Code:
me7check v1.12 (c) mki, 06/2004-05/2012
Checking file _mod_2_mk4 golf ecu dump mod.bin (size=1048576)
Reading Version Strings...
-> Bootrom Version = 05.12
-> EPK = 40/1/ME7.5/5/4013.00//24b/Dst02o/210201//
-> Contents of ECUID data table:
   - '0261207440'         (SSECUHN)
   - '1037360646'         (SSECUSN)
   - '06A906032HJ '       (VAG part number)
   - '0002'               (VAG sw number)
   - '1.8L R4/5VT     '   (engine id)
-> Contents of ECUID data table:
   - 'HW_MAN004'


Page checksum failure(s) found
Data area checksum failure(s) found
-> Found 7 errors!!!   *******************************

output

Code:
ME7Tool (v0.0.5) [ Management tool for Bosch ME7.x firmwares]
Inspiration from Andy Whittaker's tools and information
Written by 360trev and nyet [BSD License Open Source].

Processed 19 elements with 17 issues
Processed 6 elements with 6 issues

Attemping to open firmware file '_mod_2_mk4 golf ecu dump mod.bin'
Ý Opening '_mod_2_mk4 golf ecu dump mod.bin' file
Ý Getting length of '_mod_2_mk4 golf ecu dump mod.bin' file
Ý Allocating buffer of 1048576 bytes
Ý Reading file to buffer
Ý Validating size correct 1048576=1048576
Ý Closing file

Step #1: Reading main ROM CRC...
 Searching for main ROM CRC pre block...OK
 Searching for main ROM CRC blocks...OK
 Searching for main ROM CRC offsets...OK
 0) Adr: 0x0183C8-0x0183D1                      CalcCRC: 24DEB128
 1) Adr: 0x010002-0x013FFE @90b4e CRC: EA494DAB CalcCRC: ECC23541(r) ** FIXED *

 2) Adr: 0x014252-0x017F4E @90b54 CRC: 412650FC CalcCRC: 97E8C190(r) ** FIXED *

 3) Adr: 0x018192-0x01FBDC                      CalcCRC: FB372EE3(r)
 4) Adr: 0x026A00-0x02FFFC @90b5a CRC: EC6E92DB CalcCRC: FD65A663(r) ** FIXED *


Step #2: Reading main ROM checksum...
 Searching for main ROM checksum...OK
 ROM Checksum Block Offset Table @1fb72 [16 bytes]:
 1) Adr: 0x000000-0x00FBFF
 2) Adr: 0x00FC00-0x01FFFF  MAP REGION SKIPPED, NOT PART OF MAIN CHECKSUM
 3) Adr: 0x020000-0x0FFFFF
 @fffe0 Chksum : 0x43F810F5 CalcChk: 0x43F8E6D9 ** FIXED! **

Step #3: Reading Multipoint Checksum Block...
 Searching for multipoint block descriptors...OK
 1) <1fbfe>  Adr: 0x000000-0x003FFF Chk: 0x0FA0F5CF CalcChk: 0x0FA0F5CF  OK
 2) <1fc0e>  Adr: 0x004000-0x007FFF Chk: 0x0F4716B3 CalcChk: 0x0F4716B3  OK
 3) <1fc1e>  Adr: 0x008000-0x00BFFF Chk: 0x10DAEC1C CalcChk: 0x10DAEC1C  OK
 4) <1fc2e>  Adr: 0x00C000-0x00FBFF Chk: 0x190E09EE CalcChk: 0x190E09EE  OK
 5) <1fc3e>  Adr: 0x010000-0x013FFF Chk: 0x083053C6 CalcChk: 0x0831339F ** FIXE
! **
 6) <1fc4e>  Adr: 0x014000-0x017F4F Chk: 0x08B89F20 CalcChk: 0x08B89F20  OK
 7) <1fc5e>  Adr: 0x018190-0x01BFFF Chk: 0x06E7B8F8 CalcChk: 0x06E7D5F8 ** FIXE
! **
 8) <1fc6e>  Adr: 0x01C000-0x01FFFF Chk: 0x0625198C CalcChk: 0x063334E5 ** FIXE
! **
 9) <1fc7e>  Adr: 0x020000-0x023FFF Chk: 0x157C13AB CalcChk: 0x157C13AB  OK
10) <1fc8e>  Adr: 0x024000-0x027FFF Chk: 0x0D14D600 CalcChk: 0x0D14D600  OK
11) <1fc9e>  Adr: 0x028000-0x02BFFF Chk: 0x1AE83632 CalcChk: 0x1AE83632  OK
12) <1fcae>  Adr: 0x02C000-0x02FFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
13) <1fcbe>  Adr: 0x030000-0x033FFF Chk: 0x1443A9CD CalcChk: 0x1443A9CD  OK
14) <1fcce>  Adr: 0x034000-0x037FFF Chk: 0x0EEE8A7E CalcChk: 0x0EEE8A7E  OK
15) <1fcde>  Adr: 0x038000-0x03BFFF Chk: 0x0FBFB04D CalcChk: 0x0FBFB04D  OK
16) <1fcee>  Adr: 0x03C000-0x03FFFF Chk: 0x0F674A44 CalcChk: 0x0F674A44  OK
17) <1fcfe>  Adr: 0x040000-0x043FFF Chk: 0x0FC06163 CalcChk: 0x0FC06163  OK
18) <1fd0e>  Adr: 0x044000-0x047FFF Chk: 0x0E4308FE CalcChk: 0x0E4308FE  OK
19) <1fd1e>  Adr: 0x048000-0x04BFFF Chk: 0x0FBC61E1 CalcChk: 0x0FBC61E1  OK
20) <1fd2e>  Adr: 0x04C000-0x04FFFF Chk: 0x10397E40 CalcChk: 0x10397E40  OK
21) <1fd3e>  Adr: 0x050000-0x053FFF Chk: 0x0EBE92EF CalcChk: 0x0EBE92EF  OK
22) <1fd4e>  Adr: 0x054000-0x057FFF Chk: 0x0FBA8156 CalcChk: 0x0FBA8156  OK
23) <1fd5e>  Adr: 0x058000-0x05BFFF Chk: 0x1026E8F4 CalcChk: 0x1026E8F4  OK
24) <1fd6e>  Adr: 0x05C000-0x05FFFF Chk: 0x110A38B5 CalcChk: 0x110A38B5  OK
25) <1fd7e>  Adr: 0x060000-0x063FFF Chk: 0x0F4A6152 CalcChk: 0x0F4A6152  OK
26) <1fd8e>  Adr: 0x064000-0x067FFF Chk: 0x0F977D0E CalcChk: 0x0F977D0E  OK
27) <1fd9e>  Adr: 0x068000-0x06BFFF Chk: 0x0DDB2E7B CalcChk: 0x0DDB2E7B  OK
28) <1fdae>  Adr: 0x06C000-0x06FFFF Chk: 0x0EB0E081 CalcChk: 0x0EB0E081  OK
29) <1fdbe>  Adr: 0x070000-0x073FFF Chk: 0x1060C7C7 CalcChk: 0x1060C7C7  OK
30) <1fdce>  Adr: 0x074000-0x077FFF Chk: 0x0FD1C0D8 CalcChk: 0x0FD1C0D8  OK
31) <1fdde>  Adr: 0x078000-0x07BFFF Chk: 0x102FA949 CalcChk: 0x102FA949  OK
32) <1fdee>  Adr: 0x07C000-0x07FFFF Chk: 0x0EFC5ED5 CalcChk: 0x0EFC5ED5  OK
33) <1fdfe>  Adr: 0x080000-0x083FFF Chk: 0x0DE67F57 CalcChk: 0x0DE67F57  OK
34) <1fe0e>  Adr: 0x084000-0x087FFF Chk: 0x0D7BADB6 CalcChk: 0x0D7BADB6  OK
35) <1fe1e>  Adr: 0x088000-0x08BFFF Chk: 0x0F7DBB48 CalcChk: 0x0F7DBB48  OK
36) <1fe2e>  Adr: 0x08C000-0x08FBFF Chk: 0x0EF04EFF CalcChk: 0x0EF04EFF  OK
37) <1fe3e>  Adr: 0x090000-0x093FFF Chk: 0x11E63FB3 CalcChk: 0x11E71597 ** FIXE
! **
38) <1fe4e>  Adr: 0x094000-0x097FFF Chk: 0x0F365DFC CalcChk: 0x0F365DFC  OK
39) <1fe5e>  Adr: 0x098190-0x09BFFF Chk: 0x0EFD911D CalcChk: 0x0EFD911D  OK
40) <1fe6e>  Adr: 0x09C000-0x09FFFF Chk: 0x0EFEBCC4 CalcChk: 0x0EFEBCC4  OK
41) <1fe7e>  Adr: 0x0A0000-0x0A3FFF Chk: 0x0EE8CBF7 CalcChk: 0x0EE8CBF7  OK
42) <1fe8e>  Adr: 0x0A4000-0x0A7FFF Chk: 0x19854CBD CalcChk: 0x19854CBD  OK
43) <1fe9e>  Adr: 0x0A8000-0x0ABFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
44) <1feae>  Adr: 0x0AC000-0x0AFFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
45) <1febe>  Adr: 0x0B0000-0x0B3FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
46) <1fece>  Adr: 0x0B4000-0x0B7FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
47) <1fede>  Adr: 0x0B8000-0x0BBFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
48) <1feee>  Adr: 0x0BC000-0x0BFFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
49) <1fefe>  Adr: 0x0C0000-0x0C3FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
50) <1ff0e>  Adr: 0x0C4000-0x0C7FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
51) <1ff1e>  Adr: 0x0C8000-0x0CBFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
52) <1ff2e>  Adr: 0x0CC000-0x0CFFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
53) <1ff3e>  Adr: 0x0D0000-0x0D3FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
54) <1ff4e>  Adr: 0x0D4000-0x0D7FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
55) <1ff5e>  Adr: 0x0D8000-0x0DBFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
56) <1ff6e>  Adr: 0x0DC000-0x0DFFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
57) <1ff7e>  Adr: 0x0E0000-0x0E3FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
58) <1ff8e>  Adr: 0x0E4000-0x0E7FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
59) <1ff9e>  Adr: 0x0E8000-0x0EBFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
60) <1ffae>  Adr: 0x0EC000-0x0EFFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
61) <1ffbe>  Adr: 0x0F0000-0x0F3FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
62) <1ffce>  Adr: 0x0F4000-0x0F7FFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
63) <1ffde>  Adr: 0x0F8000-0x0FBFFF Chk: 0x1FFFE000 CalcChk: 0x1FFFE000  OK
64) <1ffee>  Adr: 0x0FC000-0x0FFFFF Chk: 0x1FFDE002 CalcChk: 0x1FFDE002  OK
[64 x <16> = 1024 bytes]

Attemping to output corrected firmware file 'fixed_mod_2_golf.bin'
Ý Opening 'fixed_mod_2_golf.bin' file for writing
Ý Writing to file
Ý Validating size correct 1048576=1048576
Ý All OK, closing file

*** DONE! 8/8 errors corrected in _mod_2_mk4 golf ecu dump mod.bin! ***

Me7Check after

Code:
c:\ecu>ME7Check.exe fixed_mod_golf.bin
==============================================================================
ME7Check v1.12 (c) mki, 06/2004-05/2012
Checking file fixed_mod_golf.bin (size=1048576)
Reading Version Strings...
-> Bootrom Version = 05.12
-> EPK = 40/1/ME7.5/5/4013.00//24b/Dst02o/210201//
-> Contents of ECUID data table:
   - '0261207440'         (SSECUHN)
   - '1037360646'         (SSECUSN)
   - '06A906032HJ '       (VAG part number)
   - '0002'               (VAG sw number)
   - '1.8L R4/5VT     '   (engine id)
-> Contents of ECUID data table:
   - 'HW_MAN004'


Data area checksum failure(s) found
-> Found 1 error!!!   *******************************
Logged
monzavr6t
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


« Reply #1 on: May 02, 2014, 04:41:18 AM »

Additionally here are the original broken checksum and modified fixed checksum bins. Don't flash them to a car as I just moved stuff around between maps to see how things relate!!

edit: here is a bdiff output for the 2 files.
Code:
0x0001fc46 (  130118): c6 -> 9f
0x0001fc47 (  130119): 53 -> 33
0x0001fc48 (  130120): 30 -> 31
0x0001fc4a (  130122): 39 -> 60
0x0001fc4b (  130123): ac -> cc
0x0001fc4c (  130124): cf -> ce
0x0001fc67 (  130151): b8 -> d5
0x0001fc6b (  130155): 47 -> 2a
0x0001fc76 (  130166): 8c -> e5
0x0001fc77 (  130167): 19 -> 34
0x0001fc78 (  130168): 25 -> 33
0x0001fc7a (  130170): 73 -> 1a
0x0001fc7b (  130171): e6 -> cb
0x0001fc7c (  130172): da -> cc
0x0001fe46 (  130630): b3 -> 97
0x0001fe47 (  130631): 3f -> 15
0x0001fe48 (  130632): e6 -> e7
0x0001fe4a (  130634): 4c -> 68
0x0001fe4b (  130635): c0 -> ea
0x0001fe4c (  130636): 19 -> 18
0x00090b4e (  592718): ab -> 41
0x00090b4f (  592719): 4d -> 35
0x00090b50 (  592720): 49 -> c2
0x00090b51 (  592721): ea -> ec
0x00090b54 (  592724): fc -> 90
0x00090b55 (  592725): 50 -> c1
0x00090b56 (  592726): 26 -> e8
0x00090b57 (  592727): 41 -> 97
0x00090b5a (  592730): db -> 63
0x00090b5b (  592731): 92 -> a6
0x00090b5c (  592732): 6e -> 65
0x00090b5d (  592733): ec -> fd
0x000fffe0 ( 1048544): f5 -> d9
0x000fffe1 ( 1048545): 10 -> e6
0x000fffe4 ( 1048548): 0a -> 26
0x000fffe5 ( 1048549): ef -> 19
Total byte differences: 36 (24) bytes
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.014 seconds with 17 queries. (Pretty URLs adds 0s, 0q)