Pages: 1 ... 19 20 [21] 22 23 ... 63
Author Topic: ME7 EEPROM programmer  (Read 922865 times)
ddillenger
Moderator
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #300 on: June 06, 2013, 09:50:20 AM »

ME7 EEPROM Checksum-Guide
=========================

The ME7 EEPROM contains 512 bytes and is divided into 32 pages with 16 bytes per page.
In the ME7 code you will find a table with 32 entries that contains one descriptor word for
each eeprom page. The index into this table is the eeprom pagenumber (00..31).

The descriptor word is a bitmask, the following bits are relevant for the checksum calculation:
 bit 0 = checksumPresent(CS)   1 -> page has checksum,  0 -> page has no checksum.
 bit 6 = cksumBit(CB)          this bit is subtracted from the pageNumber to get the
                               same checksum in backup page as in original page.
 bit 7 = backupPage(BP)        1 -> page has a backup page.

Here is how the eeprom page info table looks like:
PAGE   DESCR-WORD  -> CHECKSUM-BITS
-----------------------------------
00      FF18       ->    --
01      0017       ->   (CS)
02      0117       ->   (CS)
03      0207       ->   (CS)
04      0307       ->   (CS)
05      0437       ->   (CS)
06      0533       ->   (CS)
07      06B7       ->   (CS) (BP)
08      06F7       ->   (CS) (BP) (CB)
09      07B3       ->   (CS) (BP)
10      07F3       ->   (CS) (BP) (CB)
11      08B7       ->   (CS) (BP)
12      08F7       ->   (CS) (BP) (CB)
13      09B3       ->   (CS) (BP)
14      09F3       ->   (CS) (BP) (CB)
15      0AB3       ->   (CS) (BP)
16      0AF3       ->   (CS) (BP) (CB)
17      0B32       ->    --
18      0B10       ->    --                           
19      0B10       ->    --                           
20      0B10       ->    --                           
21      0C37       ->   (CS)
22      0D33       ->   (CS)
23      0E33       ->   (CS)
24      0F33       ->   (CS)
25      1033       ->   (CS)
26      1133       ->   (CS)
27      1233       ->   (CS)
28      1235       ->   (CS)
29      1235       ->   (CS)
30      13B7       ->   (CS) (BP)
31      13F7       ->   (CS) (BP) (CB)

If the checksumBit(CS) is set for a page, this page has a checksum.
Calculate the checksum as follows:
- sum up the first 14 bytes of the eeprom page in a 16bit variable.
- add the page number to the sum.
- if the checksumBit(CB) is set, subtract 1 from the sum.
- negate the sum (this is not the same as complement!).
- store the resulting value in the last two bytes of the eeprom page,
  first the low-byte, then the high-byte.

Disclaimer: this information was collected to the best of one's knowledge, but I won't give
any guarantees for the correctness of my information. If you find any errors, please correct.
Have fun, mki
Logged

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!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
EuroDriven
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #301 on: June 06, 2013, 12:20:34 PM »

Great! Thanks! Makes everything clear now. Just waiting for me EEPROM programming in the mail (didn't wanna mess with doing it via OBD for now, and it's good to have a solid backup plan).
Logged
golfdubcrazy
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #302 on: June 12, 2013, 08:32:57 AM »

hi i know this is abit late just wondering does the software put the ecu into bootmode or do i need to open the ecu thanks
Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #303 on: June 13, 2013, 04:17:13 AM »

You have to open the ecu and put it in-to bootmode, then run the software.
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
ThaZ
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


« Reply #304 on: June 13, 2013, 04:17:32 PM »

Looks like a great tool for the EDC16C39 with 95640 EEPROM !

But will it work with that EEPROM and galetto clone ?
Logged
DND
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


« Reply #305 on: June 27, 2013, 04:04:06 PM »

Thanks , it is really working on ME7.5 . Wink
Logged
20VTMK1
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 113


« Reply #306 on: July 02, 2013, 01:05:59 PM »

ffff - sum of octets. that chksum starts @ 0x10. try using a hex calculator and you will see.

Finally figured this out and tested it , for the newbies like me ..

Add up 0X00001 to 0X00010 (upto just before the check sum start) = Y
FFFF - Y = AB CD , but reverse this for the checksum IE CD AB

Do the same for the next line but use FFFE - Z

Hope this is clear ..
Logged
guitar24t
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 101


« Reply #307 on: July 20, 2013, 08:27:16 PM »

Hi,
Is there any source code available for this utility? I am attempting to flash the EEPROM on Volvo ME7 ECUs. I am experiencing the same problems as described before with writing back the EEPROM contents. Reading seems to work fine. I was hoping to figure out what part of the writing process is failing on these ECUs and attempt to correct it.
Thanks,
Rob
Logged
gremlin
Hero Member
*****

Karma: +196/-9
Offline Offline

Posts: 654


« Reply #308 on: August 25, 2013, 01:59:29 PM »

Once I urgently needed to reprogram eeprom in last HW versions ME7.1.1 ECUs with ST10F275 inside. No apropriate tools are around, me7eeprom soft not operate because of unknown IDCHIP value. Than I made 5 minute patch in 1.40 version of programmer (ArgDub, please sorry) and can do job.
Below is screen log. A3 3.2 DSG 2008 (022906032LA) ECU

D:\ME7 Eeprom Reader\1.40\me7eeprom --bootmode 95160 --CSpin P6.3 -r -p1 eeprom.bin
ME7_EEPROM v1.40
COM: 1, Baud Rate: 10400
Memory type: 95160, size: 2048
Chip Select pin: P6.3
Opening COM1 ... OK
Starting Boot_mode ... uC ID response 0xD5 ... OK
Sending Loader + MonitorCore ... MonitorCore successfully launched
Reading IDCHIP ... 0x1143: C167/ST10F OK
Initializing registers ... OK
Sending EEPROM driver ... OK
Configuring SPI Interface ... OK
Checking EEPROM Status Register ... 0x0080
Reading EEPROM ... OK
File saved
Closing COM1
Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #309 on: August 28, 2013, 10:48:35 PM »

Hi,
Is there any source code available for this utility? I am attempting to flash the EEPROM on Volvo ME7 ECUs. I am experiencing the same problems as described before with writing back the EEPROM contents. Reading seems to work fine. I was hoping to figure out what part of the writing process is failing on these ECUs and attempt to correct it.
Thanks,
Rob

I spoke with the author about this issue and the thought was that it was a bug in the driver.  Unfortunately he didn't have an ECU to test and didn't seem too interests (Can't blame him lol).  I ended up just soldering.  The older <04 ECU's work fine though.

Use a hot air station, imo.

I don't think the code is available.
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
guitar24t
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 101


« Reply #310 on: August 29, 2013, 05:03:58 AM »

That's a shame. Oh well. I just bought a SOIC8 clip and program the chip directly on the board.
Would have been nice to get this working, though.
I thought I tried writing to the 2002-2004 ECUs with no luck as well, but I might be mistaken.
Logged
ddillenger
Moderator
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #311 on: August 29, 2013, 08:56:42 AM »

That's a shame. Oh well. I just bought a SOIC8 clip and program the chip directly on the board.
Would have been nice to get this working, though.
I thought I tried writing to the 2002-2004 ECUs with no luck as well, but I might be mistaken.

You have a 50 percent chance of reading on the board, and about a 10 percent chance of writing.

Most of the time I have to remove the eeprom.
Logged

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!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
guitar24t
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 101


« Reply #312 on: August 29, 2013, 10:30:35 AM »

You have a 50 percent chance of reading on the board, and about a 10 percent chance of writing.

Most of the time I have to remove the eeprom.

That's odd. I haven't had any problems reading or writing. My biggest problem was getting the clip seated properly. Once I got the hang of it, I had no further problems.

Depending on the ECU, it might be necessary to bridge the crystal oscillator with a capacitor or a wire.
Logged
Bosse
Jr. Member
**

Karma: +3/-2
Offline Offline

Posts: 31


« Reply #313 on: September 01, 2013, 03:21:26 PM »

Volvo users
This is old notes,i wrote it down last year.
Hopes it right.
Siemens  CS P4.7
Infineon as u know CS P8.2
EDC15 CS P2.3
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #314 on: September 11, 2013, 02:53:03 PM »



06A906032RF 0261208561

Code:
Starting Boot_mode ... uC indentification response = 0xD5. Not support. (error=0x01)

Is there anything I can do to read/write this eeprom?

Thanks,
Rey
Logged
Pages: 1 ... 19 20 [21] 22 23 ... 63
  Print  
 
Jump to:  

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