Pages: [1] 2 3 ... 9
Author Topic: MED 17 , EDC 17 EEPROM CHECKSUM  (Read 103130 times)
obdflasher
Newbie
*

Karma: +0/-6
Offline Offline

Posts: 8


« on: April 02, 2013, 08:26:26 PM »

Working on edc17 eeprom crc.

Looking for serious guy who has experience with crc algo's

Have much and good info.



Logged

Chiptuning Agri
ecutuners
Newbie
*

Karma: +0/-11
Offline Offline

Posts: 6


« Reply #1 on: April 09, 2013, 05:06:17 AM »

i can make all edc17 / med17 eeprom checksum

gttuning2009@yahoo.co.uk

Regards
Logged
obdflasher
Newbie
*

Karma: +0/-6
Offline Offline

Posts: 8


« Reply #2 on: January 17, 2014, 05:49:39 PM »

Problem solved crc 16 , 32 .....
Logged

Chiptuning Agri
chli1976
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 25


« Reply #3 on: January 18, 2014, 12:56:03 AM »

Problem solved crc 16 , 32 .....

Can we get more infos?
Logged
ecufix
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #4 on: January 22, 2014, 06:06:09 AM »

Can we get more infos? no man answer ? Grin
Logged
yas200979
Newbie
*

Karma: +0/-2
Offline Offline

Posts: 1


« Reply #5 on: January 30, 2014, 01:21:03 AM »

Hello
i can make all edc17 / med17 eeprom checksum
immo off med17/edc17

info@dpfoff.ru
Logged
ozzy_rp
Jr. Member
**

Karma: +16/-1
Offline Offline

Posts: 49


« Reply #6 on: September 08, 2015, 01:12:00 AM »

All eeprom divided to blocks with 0x80 size
offsets:
0x00 - block id (half word)
0x02 - CS1 (half word)
0x04 - block revision Huh
0x08 - data
0x7C - CS2 (word)
Logged

MED17/EDC17 Reverse engineering
conversion sgo and frf to bin https://osotec.com/
H2Deetoo
Sr. Member
****

Karma: +26/-1
Offline Offline

Posts: 257


« Reply #7 on: September 10, 2015, 03:19:51 AM »

Thanks for info.

With word you mean 16bit or 32bit ?
Logged
ozzy_rp
Jr. Member
**

Karma: +16/-1
Offline Offline

Posts: 49


« Reply #8 on: September 10, 2015, 07:22:33 AM »

Half word - 16 bit
Word - 32 bit

And list Block id from EDC17 eeprom:
1,8,9,A,B,C,1A,1B,1C,1D,1E,1F,2A,2B,2C
2D,2E,2F,3A,3B,3C,3D,3D,3E,3F,17,18,19
20,21,22,23,24,25,26,27,28,29,30,31,32
33,34,35,36,37,38,39,40,41,42,43,44,45
46,47,48,49,CC00
Logged

MED17/EDC17 Reverse engineering
conversion sgo and frf to bin https://osotec.com/
H2Deetoo
Sr. Member
****

Karma: +26/-1
Offline Offline

Posts: 257


« Reply #9 on: September 11, 2015, 02:33:34 AM »

Thanks for specifying that!
For me (in programming) it is common for a word to be 16 bit ;-)


Rgs H2Deetoo
Logged
ozzy_rp
Jr. Member
**

Karma: +16/-1
Offline Offline

Posts: 49


« Reply #10 on: September 11, 2015, 02:55:20 AM »

In TriCore asm another look at it Smiley
Size given in asm mnemonic.
Like this:
ld.hu           d15, [a12]2
extr.u          d2, d2, #0, #0x10
jne16           d15, d2, loc_8013AD6A ; Bad CRC
Logged

MED17/EDC17 Reverse engineering
conversion sgo and frf to bin https://osotec.com/
ozzy_rp
Jr. Member
**

Karma: +16/-1
Offline Offline

Posts: 49


« Reply #11 on: September 24, 2015, 12:28:13 PM »

Next update Smiley


Algorithm for CS1:
data from - 0x04
leight - 0x7C
CS calculated with Tricore internal CRC32 and low half word - CS1
Inicial value - block id


unsigned long crc_buffer(unsigned long crc, const unsigned long *p, unsigned long sz)
{
   const unsigned long poly = 0xEDB88320;
   unsigned long tmp1, tmp2;

   while(sz--)
   {
      tmp1 = 0;
      tmp2 = crc & poly;
      for(int i = 0; i <=31; i++ )
      tmp1 ^= ((tmp2 >> i) & 1);
      crc = *p++ ^ ((crc << 1) | tmp1) ;
   }
   return crc;
}


Logged

MED17/EDC17 Reverse engineering
conversion sgo and frf to bin https://osotec.com/
totalfree
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 2


« Reply #12 on: December 26, 2015, 07:18:59 AM »

Blocks is more.
How to calculate the checksum?
« Last Edit: May 23, 2016, 10:00:11 PM by totalfree » Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #13 on: December 27, 2015, 11:04:27 PM »

Next update Smiley


Algorithm for CS1:
data from - 0x04
leight - 0x7C
CS calculated with Tricore internal CRC32 and low half word - CS1
Inicial value - block id


unsigned long crc_buffer(unsigned long crc, const unsigned long *p, unsigned long sz)
{
   const unsigned long poly = 0xEDB88320;
   unsigned long tmp1, tmp2;

   while(sz--)
   {
      tmp1 = 0;
      tmp2 = crc & poly;
      for(int i = 0; i <=31; i++ )
      tmp1 ^= ((tmp2 >> i) & 1);
      crc = *p++ ^ ((crc << 1) | tmp1) ;
   }
   return crc;
}




Good job!
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
neuro
Full Member
***

Karma: +24/-9
Offline Offline

Posts: 73


WWW
« Reply #14 on: January 02, 2016, 11:44:19 AM »

or use immoff17 https://www.youtube.com/watch?v=BLv68_2x_1g


=P
« Last Edit: January 07, 2016, 06:31:29 AM by neuro » Logged
Pages: [1] 2 3 ... 9
  Print  
 
Jump to:  

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