ME7Sum

Correct and verify checksums in Bosch Motronic firmware dumps.
ME7.1 / ME7.5 (VAG) · ME7.2 / ME7.8 (Porsche) · ME7.4 (PSA) · M3.8 / M5.9 · TunerPro RT plug-in · Linux / Windows / macOS

Check a dump, rewrite stored sums when you change a bin, or print a checksum map with -r. On Windows, the same engine ships as me7sum.dll for TunerPro RT. Always run the stock image first so you know the tool sees the same regions the ECU does.


Supported ECUs

v1.3 widened the tool well past the original VAG ME7.1 path. Families are auto-detected from the image; pick the matching TunerPro calculator slot when using the plug-in.

Family Layout Notes
ME7.1 / ME7.5 512 KB / 1 MB Volkswagen, Audi, Seat, Skoda — original support
ME7.2 512 KB Porsche — ROMSYS flash_top 0x00837FFF
ME7.8 1 MB Porsche — same flash_top rule as ME7.2
ME7.4 512 KB Peugeot / Citroën — ROMSYS auto-detect
M3.8 / M5.9 128 KB / 256 KB Intel MCS-96 — MOTR ident at 0xBF06

Family-specific checksum layouts are in the GitHub README.

TunerPro RT plug-in

The Windows release zip includes me7sum.dll, a 32-bit TunerPro RT checksum plug-in. Copy it to Documents\TunerPro Files\Plugins, restart TunerPro, then add an ME7Sum checksum in the open XDF (XDF → View/Edit XDF Header Info → Checksums → Add New). Data range and store address stay 0 — the plug-in ignores them and corrects the whole family for the selected calculator slot.

Calculator Family
ME7VAG ME7.1 / ME7.5
ME72 ME7.2
ME74 ME7.4
ME78 ME7.8
M38M59 M3.8 / M5.9

Full install steps: INSTALL.md. Linux and macOS archives are CLI only — the DLL is in the Windows zip. Help → Plug-ins will not list it; that menu is for datastream/hardware plug-ins only.

Download

Latest release assets from GitHub Releases (v1.3.1+ includes the TunerPro DLL and M3.8/M5.9 support). Prefer a tagged build over cloning master unless you are developing.

Loading release list…

Older releases and checksums · All releases on GitHub

Quick start

me7sum stock.bin              # check only — never writes
me7sum image.bin out.bin      # rewrite stored checksums into out.bin
me7sum -r report.txt rom.bin  # checksum map (ranges + overlaps)
ME7Check out.bin              # verify before you flash

On Windows, use the release binaries or build with MSVC (build). On Unix: make && make test.

Example output

Default verbosity is quiet: ROM ident, RSA/MD5 when present, then one line per failing or fixed checksum. Use -v / -vv for the old step walk.

Stock check (good)

ME7Sum (v1.3.1) [Management tool for Bosch ME7.x firmwares]
Ident VAG 006410010A0 0000
 EPK         : '42/1/ME7.1.1/5/C1105N//05A/C05A101/030205/'
 Part Number : '006410010A0 '
 SW Version  : '0000'
 HW Number   : '0261208771'
 SW Number   : '1037371702'
           Modulus: @16b4e-16bce
 EncrMD5: 50 99 23 19 a0 e0 b5 fb 7c 3b b9 9d 04 09 ea 5f
 CalcMD5: 50 99 23 19 a0 e0 b5 fb 7c 3b b9 9d 04 09 ea 5f

*** DONE! 0 error(s) in 006410010A0.bin! ***

Stock ME7.1.1 dump. No ERROR lines means every detected sum matched. Run the original first before you touch anything.

Check mode after a bad edit

ME7Sum (v1.3.1) [Management tool for Bosch ME7.x firmwares]
Ident VAG 006410010A0 0000
 EPK         : '42/1/ME7.1.1/5/C1105N//05A/C05A101/030205/'
 Part Number : '006410010A0 '
 SW Version  : '0000'
 HW Number   : '0261208771'
 SW Number   : '1037371702'
           Modulus: @16b4e-16bce
 EncrMD5: 50 99 23 19 a0 e0 b5 fb 7c 3b b9 9d 04 09 ea 5f
 CalcMD5: 50 99 23 19 a0 e0 b5 fb 7c 3b b9 9d 04 09 ea 5f
Startup word pair @08038 ERROR mismatch
Page ends @0803c ERROR mismatch
Main program word sum @fffe0 ERROR mismatch
Multipoint word sum @1fc26 ERROR mismatch

*** WARNING! 4/4 uncorrected error(s) in image.bin! ***

Byte at 0x8000 flipped. Check mode names each broken region and writes nothing.

Fix mode

ME7Sum (v1.3.1) [Management tool for Bosch ME7.x firmwares]
Ident VAG 006410010A0 0000
 EPK         : '42/1/ME7.1.1/5/C1105N//05A/C05A101/030205/'
 Part Number : '006410010A0 '
 SW Version  : '0000'
 HW Number   : '0261208771'
 SW Number   : '1037371702'
           Modulus: @16b4e-16bce
 EncrMD5: 50 99 23 19 a0 e0 b5 fb 7c 3b b9 9d 04 09 ea 5f
 CalcMD5: 50 99 23 19 a0 e0 b5 fb 7c 3b b9 9d 04 09 ea 5f
Startup word pair @08038 FIXED
Page ends @0803c FIXED
Main program word sum @fffe0 FIXED
Multipoint word sum @1fc26 FIXED

Attempting to output corrected firmware file 'out.bin'

*** DONE! 4/4 error(s) in image.bin corrected in out.bin! ***

Give it an output name and it rewrites the stored sums. Then run ME7Check out.bin before flashing.

Checksum map (-r)

# 8D0907551T · Audi S4 APB · 6mt NA
0x00008038-0x0000803a startup word pair CSUM
 0x00008000-0x00008001
 0x0000fffe-0x0000ffff
0x0001baae-0x0001bab1 param page word pair CSUM
 0x00010000-0x00010001
 0x0001fffe-0x0001ffff
0x0007e350-0x0007e352 byte sum CSUM
2-param page word pair checksum is in 7-byte sum data: (0x0001baae-0x0001bab1) overlaps with (0x00018192-0x0001fbac): OK
 0x00010002-0x00013ffe
 0x00014252-0x00017f4e
 0x00018192-0x0001fbac
 0x0001fbae-0x0001fbb0
0x000fffe0-0x000fffe7 main program word sum CSUM
4-CRC32 blocks checksum is in 11-main program word sum data: (0x0007d94c-0x0007d94e) overlaps with (0x00020000-0x000fffff): OK
5-CRC32 blocks checksum is in 11-main program word sum data: (0x0007d952-0x0007d954) overlaps with (0x00020000-0x000fffff): OK
6-CRC32 blocks checksum is in 11-main program word sum data: (0x0007d958-0x0007d95a) overlaps with (0x00020000-0x000fffff): OK
7-byte sum checksum is in 11-main program word sum data: (0x0007e350-0x0007e352) overlaps with (0x00020000-0x000fffff): OK
 0x00000000-0x0000fbff
 0x00020000-0x000fffff
0x0001fbfa-0x0001fc01 multipoint word sum CSUM
1-startup word pair checksum is in 14-multipoint word sum data: (0x00008038-0x0000803a) overlaps with (0x00008000-0x0000bfff): OK
8-page ends checksum is in 14-multipoint word sum data: (0x0000803c-0x0000803f) overlaps with (0x00008000-0x0000bfff): OK
 0x00008000-0x0000bfff

Example corpus 8D0907551T (Audi S4). Lists every stored sum and the ranges it covers.

Do not use this on tuner-modified binaries

Build

Unix (Linux / macOS / Cygwin)

make
make test

Debian: libgmp-dev. Cygwin: libgmp-devel. macOS: brew install gmp.

Windows (MSVC)

build clean
build

Uses bundled MPIR. See BUILD.md.

Also