Pages: [1]
Author Topic: ME 7.5.5 strange checksum  (Read 3950 times)
MichallPro
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« on: November 26, 2022, 10:39:44 AM »

Hello,

I have strange problem.
After modifying my map, I wanted to cheksum in winols. So i did automatic checksum in WINols 4.51 and same as original, there were 74 checksums okay. Then i tried the same with winols 2.24 and in this case i had communicate that there were 73 checksums and "1 missing checksum".

To sum up, Winols 4.51 says its okay, winols 2.24 says its not okay (missing last RSA checksum), and i tried also me7check from this forum (also according to me7 its okay).

I uploaded it to car and as i tought, after 10 starts it was bricked. I cleared eeprom, uploaded original and eveyrthing is fine. However i want to clear situation with new map and consider what am i doing bad. I attach my original and modified file and damos which i used, if someone want to check/help/advise something casue after reading forum and s4wiki and lot of more forums i have no idea what's going on.

Best regards guys


Logged
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12270


WWW
« Reply #1 on: November 26, 2022, 11:53:51 AM »

no output of me7sum? Why? What is it about me7check that it is used where me7sum isn't?

Also, don't make us look at the file. Did you make ASM modifications or any other modifications that aren't in a map?
« Last Edit: November 26, 2022, 11:55:52 AM by nyet » Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
MichallPro
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #2 on: November 26, 2022, 12:02:57 PM »

My bad i didnt attach. Here it is screen from me7check.

I didn't change anything like ASM. I changed maps for boost, fuel, rev limit, hard cut, sai/n112 etc and thats all. I didn't add anything but modificated according to forum or s4wiki.
Logged
MichallPro
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #3 on: November 26, 2022, 12:13:50 PM »

And also screens from me7sum.
Logged
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12270


WWW
« Reply #4 on: November 26, 2022, 12:14:17 PM »

Please do not post screen shots. Copy/paste text into a
Code:
 code box 
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12270


WWW
« Reply #5 on: November 26, 2022, 12:15:20 PM »

Something else going wrong. Revert to stock and try changing one thing at a time.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
MichallPro
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #6 on: November 26, 2022, 12:17:29 PM »

Okay, next time I will post in code box instead of screens.

So u advice me to change partially and notify which step causes error?

Do I understand properly?
Logged
rogerius
Full Member
***

Karma: +62/-6
Offline Offline

Posts: 116


« Reply #7 on: November 26, 2022, 12:22:14 PM »

your file has 2 RSA checks. You should disable those first.
Logged
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12270


WWW
« Reply #8 on: November 26, 2022, 12:46:05 PM »

your file has 2 RSA checks. You should disable those first.

Shouldn't matter if there are no ASM changes. ME7Sum fixes those.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
MichallPro
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #9 on: November 27, 2022, 05:10:29 AM »

Okay I have a new update.

I tried to change only onething (i tried with miscellanous options, I changed CLASLS at first, then tried CWSLS, then FTOMN) and it doesn't matter which one I change, I have missing checksum after export and import to WinOls.

Then I tried to modify without checksum in WinOls (I disagreed in WinOLS so don't let it correct checksums) and after export i used exactly me7sum from this forum. Me7sum found 5 errors, corrected them and then i tried to import this corrected file to WinOLS with the same result as previously.

I attach new feedback from me7sum.

code:
Code:
C:\Users\Public\Documents\Catch\me7sum>me7sum testu testu2
ME7Sum (v1.1.2) [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 'testu'

Step #1: Reading ROM info ..
 Searching for EPK signature...OK
 Searching for ECUID table...OK
 EPK         : '40/1/ME7.5/5/4019.00//24C/Dst02o/041201//'
 Part Number : '8N0906018AQ '
 Engine ID   : '1.8L R4/5VT     '
 SW Version  : '0002'
 HW Number   : '0261207416'
 SW Number   : '1037363478'

Step #2: Reading ROMSYS ..
 Startup section: word[0x008000]+word[0x00FFFE]
 @08038 Add=0x0000E7A9 CalcAdd=0x0000E7A9  ADD OK
 All param page: word[0x010000]+word[0x01FFFE]
 @01bee4 Add=0x00971D CalcAdd=0x00971D  ADD OK

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

Step #4: Reading RSA signatures ..
 Searching for RSA offset #0...OK
 Searching for RSA offset #1...OK
         Signature: @8fb52-8fbd2
           Modulus: @16914-16994
          Exponent: @16994 = 3
 Searching for MD5 ranges...OK
 MD5 Block Offset Table @168f0 [32 bytes]:
 1) 0x00010002-0x00013FFE
 2) 0x00014252-0x00017F4E
 3) 0x00018192-0x0001FBDC
 4) 0x00026A00-0x0002FFFC
 EncrMD5: 20 11 bf e2 0e 86 9a a0 db 62 3e 14 de 2b 32 c4
 CalcMD5: e0 8e fa aa c7 f4 48 90 48 06 a4 85 8d 86 ab 45
 ** FIXED **

Step #5: Reading Main Data CRC/Checksums ..
 Searching for main data CRC pre block...missing
 Searching for main data CRC/csum blocks...OK
 Searching for main data CRC offsets...missing
 Searching for main data checksum offsets...OK
 Main Checksums:
 1) 0x010002-0x013FFE CalcCSM: 0013300E
 2) 0x014252-0x017F4E CalcCSM: 0027060E
 3) 0x018192-0x01FBDC CalcCSM: 0044B365
 4) 0x026A00-0x02FFFC CalcCSM: 00C247E8
 @8fbd2 CSM: 00C23F55 CalcCSM: 00C247E8 ** FIXED **

Step #6: ROMSYS Program Pages
 Program pages: 8k page first+last in 0x0000-0xFFFF and 0x20000-0xFFFFF
 @00803c Add=0xA0DDC9 CalcAdd=0xA0DDC9  ADD OK

Step #7: Reading Main Program Checksums ..
 Searching for main program checksum..OK
 ROM Checksum Block Offset Table @1fb7c [16 bytes]:
 1) 0x000000-0x00FBFF CalcChk: 48D18394
    0x00FC00-0x01FFFF CalcChk: 212B92D9 CalcCRC: DFC97BBC SKIPPED
 2) 0x020000-0x0FFFFF CalcChk: 379640FC
 @fffe0 Chk: 3796E780 CalcChk: 379640FC ** FIXED **

Step #8: Reading Multipoint Checksum Blocks ..
 Searching for multipoint block descriptor #1...missing
 Searching for multipoint block descriptor #2...OK
 1) <1fbde>  0x000000-0x003FFF Chk: 0FA0F5CF Boot: (whitelisted) OK
 2) <1fbee>  0x004000-0x007FFF Chk: 0F4716B3 Boot: (whitelisted) OK
 3) <1fbfe>  0x000000-0x003FFF Chk: 0FA0F5CF CalcChk: 0FA0F5CF OK
 ..........
64) <1ffce>  0x0F4000-0x0F7FFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
65) <1ffde>  0x0F8000-0x0FBFFF Chk: 1FFFE000 CalcChk: 1FFFE000 OK
66) <1ffee>  0x0FC000-0x0FFFFF Chk: 1FFDE002 CalcChk: 1FFDE002 OK
 Multipoint #2: [66 blocks x <16> = 1056 bytes]

Step #9: Looking for rechecks ..

*** Found 70 checksums in testu

Attempting to output corrected firmware file 'testu2'
├ż Opening 'testu2' file for writing
├ż Writing to file
├ż Validating size correct 1048576=1048576
├ż All OK, closing file

*** DONE! 7/7 error(s) in testu corrected in testu2! ***

C:\Users\Public\Documents\Catch\me7sum>

I seriously don't understand this.
Logged
terminator
Sr. Member
****

Karma: +15/-4
Offline Offline

Posts: 425


« Reply #10 on: November 27, 2022, 08:48:54 AM »

1. Open the ori file in WinOLS
2. Import the mod file
3. Correct checksum (F2)
4. Export the file

WinOLS can't find all checksum blocks if the source file is not ori.
Logged
Pages: [1]
  Print  
 
Jump to:  

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