Pages: 1 2 3 [4] 5
Author Topic: Fully open source ME7 EEPROM tool :)  (Read 41844 times)
ejg3855
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 123


« Reply #45 on: May 21, 2024, 10:00:10 AM »

Still Doesn't want to write anything

Code:
C:\Users\ericg\Desktop\me2024>ME7BootEeprom 9600 -write -SSC 1 Port6 Pin3 IMMOoffWRITE.bin

BootMode EEprom Tool for me7 Variants inspired by ArgDub , 360trev and Gremlin
***********

-write  baudrate:  9600
 eeprom type is 95040 or 5P08C3
C16x SSC is used
Waiting for K+Can or KKL Adapter (plug in USB if not done!!)
using  COM3

 got cpu version : 0xd5
variantByteC167WithID Or ST10
sending loader

 got loader akn : 1
sending core

 got core akn : 3
test comm
 got core akn : 0xaa 0xea
set Data at:  0xff12  success: True
set Data at:  0xff0c  success: True
set Data at:  0xfe18  success: True
set Data at:  0xfe1a  success: True
set Data at:  0xfe1c  success: True
set Data at:  0xfe1e  success: True
set Data at:  0xff14  success: True
set Data at:  0xff16  success: True
set Data at:  0xff18  success: True
set Data at:  0xff1a  success: True
sending eeprom driver
set Data at:  0xf600  success: True
set Data at:  0xf604  success: True
set Data at:  0xf60c  success: True
set Data at:  0xf608  success: True


Call C_GETSTATE successfull:  True state is  0x80

 *************  start write  *************

Call C_WRITESPI at: 0x0  successfull:  True

********** write successfull!! ***********


 *************  start verify  *************

Call C_READSPI  at: 0x0  successfull:  True
write data not equal verify data at pos:  0x12
write data not equal verify data at pos:  0x1e
write data not equal verify data at pos:  0x1f
write data not equal verify data at pos:  0x22
write data not equal verify data at pos:  0x2e
write data not equal verify data at pos:  0x2f
write data not equal verify data at pos:  0x3e
write data not equal verify data at pos:  0x3f
write data not equal verify data at pos:  0x4e
write data not equal verify data at pos:  0x4f
write data not equal verify data at pos:  0x5e
write data not equal verify data at pos:  0x5f
write data not equal verify data at pos:  0x6e
write data not equal verify data at pos:  0x6f
write data not equal verify data at pos:  0x7e
write data not equal verify data at pos:  0x7f
write data not equal verify data at pos:  0x8e
write data not equal verify data at pos:  0x8f
write data not equal verify data at pos:  0x9e
write data not equal verify data at pos:  0x9f
write data not equal verify data at pos:  0xa0
write data not equal verify data at pos:  0xae
write data not equal verify data at pos:  0xaf
write data not equal verify data at pos:  0xb5
write data not equal verify data at pos:  0xb6
write data not equal verify data at pos:  0xb7
write data not equal verify data at pos:  0xb9
write data not equal verify data at pos:  0xbe
write data not equal verify data at pos:  0xbf
write data not equal verify data at pos:  0xc0
write data not equal verify data at pos:  0xc5
write data not equal verify data at pos:  0xc6
write data not equal verify data at pos:  0xc7
write data not equal verify data at pos:  0xc9
write data not equal verify data at pos:  0xce
write data not equal verify data at pos:  0xcf
write data not equal verify data at pos:  0xd0
write data not equal verify data at pos:  0xd1
write data not equal verify data at pos:  0xd2
write data not equal verify data at pos:  0xd3
write data not equal verify data at pos:  0xd4
write data not equal verify data at pos:  0xd5
write data not equal verify data at pos:  0xd6
write data not equal verify data at pos:  0xd8
write data not equal verify data at pos:  0xd9
write data not equal verify data at pos:  0xdb
write data not equal verify data at pos:  0xde
write data not equal verify data at pos:  0xdf
write data not equal verify data at pos:  0xe0
write data not equal verify data at pos:  0xe1
write data not equal verify data at pos:  0xe2
write data not equal verify data at pos:  0xe3
write data not equal verify data at pos:  0xe4
write data not equal verify data at pos:  0xe5
write data not equal verify data at pos:  0xe6
write data not equal verify data at pos:  0xe8
write data not equal verify data at pos:  0xe9
write data not equal verify data at pos:  0xeb
write data not equal verify data at pos:  0xee
write data not equal verify data at pos:  0xef
write data not equal verify data at pos:  0xfe
write data not equal verify data at pos:  0xff
write data not equal verify data at pos:  0x100
write data not equal verify data at pos:  0x10e
write data not equal verify data at pos:  0x10f
write data not equal verify data at pos:  0x114
write data not equal verify data at pos:  0x115
write data not equal verify data at pos:  0x116
write data not equal verify data at pos:  0x11f
write data not equal verify data at pos:  0x15e
write data not equal verify data at pos:  0x15f
write data not equal verify data at pos:  0x16e
write data not equal verify data at pos:  0x16f
write data not equal verify data at pos:  0x17e
write data not equal verify data at pos:  0x17f
write data not equal verify data at pos:  0x18e
write data not equal verify data at pos:  0x18f
write data not equal verify data at pos:  0x19e
write data not equal verify data at pos:  0x19f
write data not equal verify data at pos:  0x1ae
write data not equal verify data at pos:  0x1af
write data not equal verify data at pos:  0x1be
write data not equal verify data at pos:  0x1bf
write data not equal verify data at pos:  0x1ce
write data not equal verify data at pos:  0x1cf
write data not equal verify data at pos:  0x1de
write data not equal verify data at pos:  0x1df
write data not equal verify data at pos:  0x1ee
write data not equal verify data at pos:  0x1ef
write data not equal verify data at pos:  0x1f0
write data not equal verify data at pos:  0x1f1
write data not equal verify data at pos:  0x1f2
write data not equal verify data at pos:  0x1f3
write data not equal verify data at pos:  0x1f4
write data not equal verify data at pos:  0x1f5
write data not equal verify data at pos:  0x1f6
write data not equal verify data at pos:  0x1f7
write data not equal verify data at pos:  0x1f9
write data not equal verify data at pos:  0x1fa
write data not equal verify data at pos:  0x1fb
write data not equal verify data at pos:  0x1fc
write data not equal verify data at pos:  0x1fd
write data not equal verify data at pos:  0x1fe
write data not equal verify data at pos:  0x1ff

********** verify successfull!! ***********


C:\Users\ericg\Desktop\me2024>ME7BootEeprom 9600 -read -SSC 1 Port6 Pin3 512 ReadagainafterWRITE.ori

BootMode EEprom Tool for me7 Variants inspired by ArgDub , 360trev and Gremlin
***********

-read  baudrate:  9600
 eeprom type is 95040 or 5P08C3
 size:  0x200
C16x SSC is used
Waiting for K+Can or KKL Adapter (plug in USB if not done!!)
using  COM3

 got cpu version : 0xd5
variantByteC167WithID Or ST10
sending loader

 got loader akn : 1
sending core

 got core akn : 3
test comm
 got core akn : 0xaa 0xea
set Data at:  0xff12  success: True
set Data at:  0xff0c  success: True
set Data at:  0xfe18  success: True
set Data at:  0xfe1a  success: True
set Data at:  0xfe1c  success: True
set Data at:  0xfe1e  success: True
set Data at:  0xff14  success: True
set Data at:  0xff16  success: True
set Data at:  0xff18  success: True
set Data at:  0xff1a  success: True
sending eeprom driver
set Data at:  0xf600  success: True
set Data at:  0xf604  success: True
set Data at:  0xf60c  success: True
set Data at:  0xf608  success: True


Call C_GETSTATE successfull:  True state is  0x80

 *************  start read  *************

Call C_READSPI successfull:  True

********** read successfull!! ***********


Logged
elektronik13
Full Member
***

Karma: +10/-36
Offline Offline

Posts: 204


« Reply #46 on: May 21, 2024, 11:02:16 PM »

Still Doesn't want to write anything




C:\Users\ericg\Desktop\me2024>ME7BootEeprom 9600 -read -SSC 1 Port6 Pin3 512 ReadagainafterWRITE.ori

BootMode EEprom Tool for me7 Variants inspired by ArgDub , 360trev and Gremlin
***********

-read  baudrate:  9600
 eeprom type is 95040 or 5P08C3
 size:  0x200
C16x SSC is used
Waiting for K+Can or KKL Adapter (plug in USB if not done!!)
using  COM3
this is bullshit, so there's no way it could be written down
« Last Edit: May 21, 2024, 11:04:12 PM by elektronik13 » Logged
ecuprog7
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 55


« Reply #47 on: May 21, 2024, 11:05:49 PM »

From the log i only see that the chip select is not the problem, please write which ecu you are using and if known the eeprom chip type on it.
MH-Auto states on this ME7.1.1 Ecu is a 95160 eeprom so you need to adapt the call line. 95160 is type 0 and size needs to be 0x800 for full read, if there are only zeros or FF´s in upper half you can use 0x400

read: ME7BootEeprom 9600 -read -SSC 0 Port6 Pin3 0x800 Read.ori
write: ME7BootEeprom 9600 -write -SSC 0 Port6 Pin3 immoOff.bin

the driver used for read and write 95040/5P08C3  against the 95080-95320 is different. please read again, your readout is wrong, if you read with a 95160 with type 1 the readout has an extra byte like ff on start of each line. i will do it on an me7.1.1 in the afternoon and post logs
« Last Edit: May 21, 2024, 11:59:08 PM by ecuprog7 » Logged
ejg3855
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 123


« Reply #48 on: May 22, 2024, 06:18:06 AM »

I am not sure I have seen conflicting information on this chip that it might be 95040 because its early?

2006 07K Beetle Manual Transmission

0 261 208 869

See Photos

https://imgur.com/a/1jFQ4I7
« Last Edit: May 22, 2024, 06:38:12 AM by ejg3855 » Logged
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6035


« Reply #49 on: May 22, 2024, 06:28:24 AM »

None of your photos contain the EEPROM chip, it's on the other side of the PCB iirc.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
ejg3855
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 123


« Reply #50 on: May 22, 2024, 06:52:42 AM »

you are correct I was thinking the memory chip.

it is confirmed to be a 95160.

updated imgur link.

Here is what I Read does it look right?

Logged
ecuprog7
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 55


« Reply #51 on: May 22, 2024, 07:20:13 AM »

readout looks good to me, try to use eeprom immo tool to verify checksums
Logged
unicorn89
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 18


« Reply #52 on: May 25, 2024, 03:39:41 PM »

Having an issue with a ME7.5 1.8T VW ecu. Not sure what is going on with this one.

Command: ME7BootEeprom 9600 -read -SSC 1 Port3 Pin7 512 eeprom.ori

Code:
BootMode EEprom Tool for me7 Variants inspired by ArgDub , 360trev and Gremlin
***********

-read  baudrate:  9600
 eeprom type is 95040 or 5P08C3
 size:  0x200
C16x SSC is used
Waiting for K+Can or KKL Adapter (plug in USB if not done!!)
using  COM3

 got cpu version : 0xff
no C16x Variant, ST10 selected
sending loader
echo error sent:  0xb7  received:  0x34 at data pos :  0x5
echo error sent:  0xb7  received:  0x34 at data pos :  0xd
echo error sent:  0xb7  received:  0x34 at data pos :  0xf
echo error sent:  0xfb  received:  0xf8 at data pos :  0x19
echo error sent:  0x3d  received:  0x31 at data pos :  0x1a

 no response from ecu after sending loader
'

** UPDATE: I was able to get it to pull down the eeprom, But this looks odd to me. I have attached the file. It showing its 256 bytes and not 512 bytes.
« Last Edit: May 25, 2024, 04:58:29 PM by unicorn89 » Logged
elektronik13
Full Member
***

Karma: +10/-36
Offline Offline

Posts: 204


« Reply #53 on: May 26, 2024, 09:57:18 PM »

Having an issue with a ME7.5 1.8T VW ecu. Not sure what is going on with this one.

Command: ME7BootEeprom 9600 -read -SSC 1 Port3 Pin7 512 eeprom.ori

Code:
BootMode EEprom Tool for me7 Variants inspired by ArgDub , 360trev and Gremlin
***********

-read  baudrate:  9600
 eeprom type is 95040 or 5P08C3
 size:  0x200
C16x SSC is used
Waiting for K+Can or KKL Adapter (plug in USB if not done!!)
using  COM3

 got cpu version : 0xff
no C16x Variant, ST10 selected
sending loader
echo error sent:  0xb7  received:  0x34 at data pos :  0x5
echo error sent:  0xb7  received:  0x34 at data pos :  0xd
echo error sent:  0xb7  received:  0x34 at data pos :  0xf
echo error sent:  0xfb  received:  0xf8 at data pos :  0x19
echo error sent:  0x3d  received:  0x31 at data pos :  0x1a

 no response from ecu after sending loader
'

** UPDATE: I was able to get it to pull down the eeprom, But this looks odd to me. I have attached the file. It showing its 256 bytes and not 512 bytes.
reading is incorrect size
Logged
ecuprog7
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 55


« Reply #54 on: May 27, 2024, 12:36:43 AM »

on me7.5 the chip select should be Port4 Pin7. The port in command is GPIO port from pin not com port. Also you are getting no CPU ID (0xff if wrong) so check connection and be sure ecu is in boot mode

Command: ME7BootEeprom 9600 -read -SSC 1 Port4 Pin7 512 eeprom.ori
« Last Edit: May 27, 2024, 12:43:30 AM by ecuprog7 » Logged
unicorn89
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 18


« Reply #55 on: June 20, 2024, 08:49:18 AM »

I have a 2005 Beetle 2.0 ME7.1.1 ECU and Using Command: ME7BootEeprom 9600 -read -SSC 1 Port6 Pin3 512 eeprom.ori

When i use the eepromtool_04.exe tool it says its a Invalid Checksum, any ideas on why?

Read in 512bytes
WARNING: cannot decode VIN, try setting VIN to fix
WARNING: cannot decode ImmmoID
EEPROM Status:
- Type: ECU_eeprom
- Version: Immo2
- VIN:
- SKC: 038145
- Immobiliser: On
- Checksum: Invalid Checksum
- Size: 512bytes
- Cluster Code: 10 19 22 3F 65 76 91
- P0601 DTC: set to C1 C1
- Immo ID:
- Softcoding ID: 0768
- Tuner Tag: Not Set
- Flash Programming (successful): 48
- Flash Programming (attempts): 4
« Last Edit: June 23, 2024, 07:58:42 AM by unicorn89 » Logged
unicorn89
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 18


« Reply #56 on: June 20, 2024, 10:46:19 AM »

I have a 2005 Beetle 2.0 ME7.1.1 ECU and Using Command: ME7BootEeprom 9600 -read -SSC 1 Port6 Pin3 512 eeprom.ori

When i use the eepromtool_04.exe tool it says its a Invalid Checksum, any ideas on why?

Read in 512bytes
WARNING: cannot decode VIN, try setting VIN to fix
WARNING: cannot decode ImmmoID
EEPROM Status:
- Type: ECU_eeprom
- Version: Immo2
- VIN:
- SKC: 038145
- Immobiliser: On
- Checksum: Invalid Checksum
- Size: 512bytes
- Cluster Code: 10 19 22 3F 65 76 91
- P0601 DTC: set to C1 C1
- Immo ID:
- Softcoding ID: 0768
- Tuner Tag: Not Set
- Flash Programming (successful): 48
- Flash Programming (attempts): 4

attached is the orginal eeprom file i pulled down.
Logged
_nameless
Hero Member
*****

Karma: +342/-466
Offline Offline

Posts: 2802



« Reply #57 on: June 23, 2024, 03:32:11 PM »

your eeprom is not 512 bytes it 1024
Logged

Giving your mom a tuneup
ecuprog7
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 55


« Reply #58 on: June 24, 2024, 05:55:40 AM »

Hi, you have type 0 eeprom (95080....), use this command line:
ME7BootEeprom 9600 -read -SSC 0 Port6 Pin3 1024 eeprom.ori
Logged
ecuprog7
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 55


« Reply #59 on: September 12, 2024, 07:11:45 AM »

Hi to all, tool is now able to read and write ext flash
http://nefariousmotorsports.com/forum/index.php?topic=18686.msg164642#msg164642
Logged
Pages: 1 2 3 [4] 5
  Print  
 
Jump to:  

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