Pages: [1] 2 3 ... 9
Author Topic: ME7Check: Checksum checker for ME7  (Read 91443 times)
setzi62
Full Member
***

Karma: +126/-0
Offline Offline

Posts: 249


« on: March 10, 2011, 04:47:59 AM »

Here's a tool to verify if the checksums are fine in a ME7 image.
You can use it for quick checking before flashing, to avoid
"bad checksum - car won't start"-problem after your first trip.
Or just verify the files you post have really fixed checksums (seems
like plugins sometimes not run as intended  Wink).

P.S. it's a command line tool.
Call it from a command window, e.g. cmd.exe or a cygwin shell.
If called without arguments you will see the usage:
C:\Program Files\ME7\bin>ME7Check.exe
ME7Check v1.08 (c) mki, 06/2004-04/2011
Usage: ME7Check <bin-file>

170311: updated, fixed bootrom checks
190411: updated, fixed handling of ecus with unused boot sector in flash
030811: updated:
Added RSA signature checking (for ecus containing a signature).
Added some output further specifying the fault class(es) found:
  - Romsys checksum failure(s) found
  - Program checksum failure(s) found
  - Page checksum failure(s) found
  - RSA signature failure found
  - Data area checksum failure(s) found
  - Overall checksum failure found      
The last one (overall checksum) seems to be more of cosmetical nature.
Is often not fixed in giac files, which are nevertheless running without problems.

260911, updated V1.11:
better (flexible) recognition of checksum ranges and toleration of some APR hacks.
-> allows to check correctly more images

160512, updated V1.12:
recognition of wrong filesize: 1MB file, 512kB ecu and vice versa -> give better information about this
« Last Edit: September 11, 2014, 04:55:08 PM by nyet » Logged
judeisnotobscure
Sr. Member
****

Karma: +38/-10
Offline Offline

Posts: 379


« Reply #1 on: March 10, 2011, 12:20:10 PM »

I can't wait to check this out when I get home from work.
Logged

I have a b5 s4
but i just want to dance.
nyet
Administrator
Hero Member
*****

Karma: +385/-42
Online Online

Posts: 8791


WWW
« Reply #2 on: March 10, 2011, 12:46:29 PM »

Here's a tool to verify if the checksums are fine in a ME7 image.
You can use it for quick checking before flashing, to avoid
"bad checksum - car won't start"-problem after your first trip.
Or just verify the files you post have really fixed checksums (seems
like plugins sometimes not run as intended  Wink).

P.S. it's a command line tool, md5sum=f3364c3152ff93f5917a68b9a7c0475.


do you have source? I'd like to port it to other platforms.

ME7Sum checker/corrector, with source code:

http://github.com/nyetwurk/ME7Sum/
« Last Edit: November 01, 2014, 10:57:19 AM by nyet » Logged

ME7.1 tuning guide (READ FIRST)
ECUx Plot
ME7Sum checksum checker/corrrector for ME7.x

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 experience.
ElementalVoid
Jr. Member
**

Karma: +9/-0
Offline Offline

Posts: 43


« Reply #3 on: March 10, 2011, 12:48:29 PM »

FYI, this runs under Wine.
Logged
Matt Danger
Full Member
***

Karma: +17/-1
Offline Offline

Posts: 116


« Reply #4 on: March 10, 2011, 02:03:43 PM »

Tested and works as described on XP.
Logged
judeisnotobscure
Sr. Member
****

Karma: +38/-10
Offline Offline

Posts: 379


« Reply #5 on: March 10, 2011, 02:49:59 PM »

when i open the app on windows 7 it closes right away.
Logged

I have a b5 s4
but i just want to dance.
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +114/-4
Offline Offline

Posts: 1390


2001.5 Audi S4 Stage 3


« Reply #6 on: March 10, 2011, 02:57:32 PM »

when i open the app on windows 7 it closes right away.

Are you running from the command line?
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
AmIdYfReAk
Full Member
***

Karma: +9/-0
Offline Offline

Posts: 127


« Reply #7 on: March 10, 2011, 03:38:21 PM »

runs great in W7 64-bit,

going to make some changes and see how it fairs out.
Logged
judeisnotobscure
Sr. Member
****

Karma: +38/-10
Offline Offline

Posts: 379


« Reply #8 on: March 10, 2011, 03:45:55 PM »

Are you running from the command line?
no. could you provide a brief descriprion of how to do that.
i know how to open cmd.  just not sure how to run a program from there.

thanks
Logged

I have a b5 s4
but i just want to dance.
Matt Danger
Full Member
***

Karma: +17/-1
Offline Offline

Posts: 116


« Reply #9 on: March 10, 2011, 05:23:55 PM »

could you provide a brief descriprion of how to do that.

- To make things simple place both ME7Check.exe and the .bin file you want to verify in your home directory. For XP that will be C:\Documents and Settings\yourusername

- Open the Windows Command Prompt program (Start > Run > cmd). By default the shell will locate you in your home directory (at least on XP).

- Execute ME7Check by running: ME7Check.exe nameofyourfile.bin
Logged
judeisnotobscure
Sr. Member
****

Karma: +38/-10
Offline Offline

Posts: 379


« Reply #10 on: March 10, 2011, 06:09:11 PM »

Thanks
Logged

I have a b5 s4
but i just want to dance.
setzi62
Full Member
***

Karma: +126/-0
Offline Offline

Posts: 249


« Reply #11 on: March 11, 2011, 03:59:19 AM »

do you have source? I'd like to port it to other platforms.
I am working with Linux and with cygwin under Windows (excellent environment if you are
used to work with GNU tools). I use MinGW to avoid dependency on the cygwin library.
Have no clue about windows programming, therefore my programs are just command line
tools, to be used in a shell window.  Sorry for all Mouse-click-windows users.
If you need a linux version, I have added it to the first post.
Logged
nyet
Administrator
Hero Member
*****

Karma: +385/-42
Online Online

Posts: 8791


WWW
« Reply #12 on: March 11, 2011, 12:23:57 PM »


I am working with Linux and with cygwin under Windows (excellent environment if you are
used to work with GNU tools).

I agree. cygwin makes Windows almost usable for things other than games.

btw any chance you'd post the source? I'll set up a git/svn repo if you like Smiley

This community really needs people willing to collaborate and publish code.

Logged

ME7.1 tuning guide (READ FIRST)
ECUx Plot
ME7Sum checksum checker/corrrector for ME7.x

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 experience.
julex
Hero Member
*****

Karma: +77/-4
Offline Offline

Posts: 923


« Reply #13 on: March 11, 2011, 05:04:13 PM »

Yes, stand alone executable is all good and so on but what we really need is a plug in for tunerpro for exmaple.
Logged
kls
Full Member
***

Karma: +12/-0
Offline Offline

Posts: 97


« Reply #14 on: March 11, 2011, 07:59:14 PM »

Very cool! Would you be willing to update it to include ME7.1.1 from the Audi TT, VW R32 etc? I can supply stock flash files.
Logged
Pages: [1] 2 3 ... 9
  Print  
 
Jump to:  

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