Pages: [1] 2
Author Topic: Reverse engineering Siemens MS43, mainly DTC removal?!  (Read 17571 times)
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« on: September 14, 2014, 11:18:26 PM »

Hello guys,

first thread here, so please be easy on me Smiley

My car is equipped with a M54 BMW engine, which uses the Siemens MS43 ecu. I´m an automotive engineer with some natural instinct to try to understand whats it all about, but my experience with processors is somewhat limited. I know there is a damos file flying around and i know the softwareversion its coming with it wrong. So i figured out which softwareversion it was build with and its working well.

In that Damos file, DTC´s are covered, but it doesn´t make sense to me. I´ll try to explain it with some screenshots, i think thats easier for all.


If we open the damos file and the corresponding software, we find DTC area from 0x70130 to 0x7064C, 16 bit. the hex entries in that area seem to be the p-codes, e.g. cat efficiency bank one is located at 0x70188 and shows a hex value of 0x0421, which is Warm Up Catalyst Efficiency Below Threshold (Bank 1). So that makes perfectly sense.

What i don´t really understand is, why are there 4 times the same entries? Every errorcode is duplicated 3 times, to an overall of 4 times.

Sometimes, the entries in those 4 dtc "sub-areas" are equal and sometimes the are completely different, with some strange entries, e.g. 0x70258 (idle speed actuator). It has entries of 1507 and 1508, which perfectly matches the P-Code table: P1507 Idle Speed Control Valve Open Solenoid Control Circuit Signal Low; P1508 Idle Speed Control Valve Opening Solenoid Control Open Circuit

But, why is the first entry at 0x70258 "D506", as there is obviously no P-Code with PD506 listed?

I´ve already tried zeroing those areas, but it didn´t work out.

anyone able and willing to have a look at?




Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #1 on: September 23, 2014, 06:56:58 AM »

Guys,

i don´t want anyone to do all the work... I´d just like to get some hints Smiley
I know the processor is "Infineon SAK-C167CR-" and flash is 29F400.

Is there anyone willing to just tell me how to start with ida-pro 6.1?
Logged
k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #2 on: September 23, 2014, 10:51:39 AM »

which dtc are you trying to delete exactly?
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #3 on: September 23, 2014, 11:26:22 AM »

I´m trying to suppress variable intake manifold as i would likee to redesign the intake manifold. Nevertheless, every other dtc would be helpfull, as i think its "just" understanding the suppressing method?

In particular case, i get the following error message an 0x7c (124) seems to be the corresponding error code at this list:

http://www.endtuning.com/bmwcodes.html#MS41



Logged
k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #4 on: September 23, 2014, 03:34:03 PM »

http://www.romraider.com/forum/viewtopic.php?f=42&t=8749&start=120

im not really sure, but im thinking your table may start around 798AC. x14 width.

i have a moderate interest in this as ive done some ms43 files but no dtc removal.
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #5 on: September 23, 2014, 11:05:49 PM »

Sadly that region is part of the wall film correction fators, its a 8x8 table starting at 0x798AA
Logged
k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #6 on: September 23, 2014, 11:19:18 PM »

yea, i checked closer later and had my doubts. it wasnt defined in any of the ols fies i checked.
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #7 on: September 28, 2014, 11:31:45 AM »

How do i read the irom from C167 processor? I have a benchtable with k-line adaptor and minimon. which pin do i need to ground?
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #8 on: October 01, 2014, 10:10:41 AM »

Alright, got it sorted out and infact it was easier then feared.

so, i have the IRom and i have the Flashcontent from 29F400. Is there anything else needed or can i just go to ida and use the flash with offset like in minimon?
Logged
ddillenger
Hero Member
*****

Karma: +637/-21
Offline Offline

Posts: 5640


« Reply #9 on: October 01, 2014, 04:16:22 PM »

Alright, got it sorted out and infact it was easier then feared.

so, i have the IRom and i have the Flashcontent from 29F400. Is there anything else needed or can i just go to ida and use the flash with offset like in minimon?

it'd be great if you could post HOW you sorted it out, that way the next person wondering has a leg up.
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
k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #10 on: October 01, 2014, 09:31:56 PM »

it'd be great if you could post HOW you sorted it out, that way the next person wondering has a leg up.

yes, because im still very interested in this.
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #11 on: October 01, 2014, 10:56:12 PM »

Erm, i guess its described more then often how to get the iROM of a processor? Right now i haven´t done any spectacular things. I´m just trying to learn how to disassemble the files.
Logged
terminator
Sr. Member
****

Karma: +15/-4
Offline Offline

Posts: 425


« Reply #12 on: October 03, 2014, 04:57:26 PM »

yes, because im still very interested in this.

Even chinese Piasini can read it.

But I'm not sure internal ROM is very important, if I'm right external ROM offset is 0x0 and all needed SFRs are there. At least in the case of MS42.
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #13 on: October 04, 2014, 01:58:32 AM »

what do you mean by SFR? anymore info on MS42?
Logged
marrakech
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 30


« Reply #14 on: October 04, 2014, 05:01:35 AM »

MS43 have all programm in flash.  Not like me7.1, which have some code in processor. You can read full flash from ms43 using boot mode. Email me and i'll send you soft for boot mode reading...
Logged
Pages: [1] 2
  Print  
 
Jump to:  

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