E90Post
 


TNT Racewerks
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Powertrain and Drivetrain Discussions > NA Engine (non-turbo) / Drivetrain / Exhaust Modifications > I cloned my MSV70 DME



Reply
 
Thread Tools Search this Thread
      02-01-2015, 08:22 PM   #221
Taskmaster
Banned
Japan
2476
Rep
9,004
Posts

Drives: M235i 6MT / E92 328 Msport 6MT
Join Date: Nov 2013
Location: Florida

iTrader: (6)

I thought there was a way to unbrick? Hass can probably help out, but AA and OE won't steer you wrong.
Appreciate 0
      02-01-2015, 08:28 PM   #222
hassmaschine
Major General
United_States
3987
Rep
7,212
Posts

Drives: "NBO" 330i
Join Date: Jun 2014
Location: earth

iTrader: (0)

Yeah i can probably recover it. It would be easier if you had a copy of the original file but it can be peiced back together pretty easily.
Appreciate 0
      02-01-2015, 08:55 PM   #223
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
I have a download from the ECU taken a few months back. Tried to attach but the zip file was too large for this forum
Appreciate 0
      02-01-2015, 09:54 PM   #224
e90ftw
Private First Class
No_Country
83
Rep
140
Posts

Drives: G87 M2
Join Date: Aug 2012
Location: USA

iTrader: (3)

If you have a Bavarian Technic cable you can try using BB flash to do a force write.
Appreciate 0
      02-07-2015, 06:47 PM   #225
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
I have good news to report.

After exhausting myself trying to recover the DME, I gave myself a break and sent the DME on a little holiday to Active Autowerks. They thought it was possible to recover and tune the unit but ultimately failed and sent it back. While the unit was gone and I was more relaxed I managed to get my INPA and winfkp sorted a little better and it took less then an hour to recover the DME when it returned this afternoon.

I recovered the DME using expert mode in winfkp, not a real fun area of the program to mess with, very powerful but unforgiving. I'm sure the community could use a good write-up on the procedures.

I am sure there is a moral to this story but I'm probably not the best teacher.


I managed to recover the dme using a calm head a fresh INPA install and winfkp expert mode.
Appreciate 0
      02-08-2015, 05:34 AM   #226
vilord
Major
497
Rep
1,316
Posts

Drives: E91, Tundra, TT, SV650
Join Date: Apr 2013
Location: boston

iTrader: (1)

Garage List
how did you figure out which binaries to load onto the dme, and what process did you go through?

i'm intending to flash my dme (msv80) with software from a different series, and i guess i need some ideas of how to figure out which code is correct for the car i'm copying (since i can't just hook up the computer and read the current software numbers)

Last edited by vilord; 02-08-2015 at 12:57 PM..
Appreciate 0
      02-08-2015, 06:29 PM   #227
Three_thirty_I
Lieutenant Colonel
Three_thirty_I's Avatar
South Africa
378
Rep
1,928
Posts

Drives: 2010 BMW E90 330i M Sport
Join Date: Aug 2010
Location: Cape Town, South Africa

iTrader: (0)

Garage List
Been reading through this thread, some really interesting and cool stuff here! You are a brave and knowledgeable chap hass!!
__________________
2010 BMW E90 330i M Sport (M)

Ex: BMW E90 330i (M) '05 (His) | (Hers) BMW E46 320i f/l (M) '03

Appreciate 0
      02-09-2015, 08:54 AM   #228
hassmaschine
Major General
United_States
3987
Rep
7,212
Posts

Drives: "NBO" 330i
Join Date: Jun 2014
Location: earth

iTrader: (0)

Quote:
Originally Posted by rjahl View Post
I have good news to report.

After exhausting myself trying to recover the DME, I gave myself a break and sent the DME on a little holiday to Active Autowerks. They thought it was possible to recover and tune the unit but ultimately failed and sent it back. While the unit was gone and I was more relaxed I managed to get my INPA and winfkp sorted a little better and it took less then an hour to recover the DME when it returned this afternoon.

I recovered the DME using expert mode in winfkp, not a real fun area of the program to mess with, very powerful but unforgiving. I'm sure the community could use a good write-up on the procedures.

I am sure there is a moral to this story but I'm probably not the best teacher.


I managed to recover the dme using a calm head a fresh INPA install and winfkp expert mode.
I'm glad you were able to bring it back! I still don't understand why AA couldn't do it, but whatever. it runs now.

As far as why it failed, I'm 99.9% sure it was because the checksum wasn't corrected. I want to try and flash your file to one of my spare DMEs (with the checksum corrected) and see if it'll boot. You might be a bit gun shy now, but since you know how to recover it you could give it another shot. I'm assuming you flashed the stock file back, which has the wrong DISA thresholds for the 3 stage manifold.

if it works, then it should definitely be possible to modify files and flash using WinKFP. Which is a little bit dangerous as you found out, but many people have access to it.
Appreciate 0
      02-09-2015, 09:00 AM   #229
hassmaschine
Major General
United_States
3987
Rep
7,212
Posts

Drives: "NBO" 330i
Join Date: Jun 2014
Location: earth

iTrader: (0)

Quote:
Originally Posted by vilord View Post
how did you figure out which binaries to load onto the dme, and what process did you go through?

i'm intending to flash my dme (msv80) with software from a different series, and i guess i need some ideas of how to figure out which code is correct for the car i'm copying (since i can't just hook up the computer and read the current software numbers)
why can't you read the current software #? It's a string near the beginning of the file. basically you would copy the data section from another car but the software version must match. you'd leave the file header as-is. The other way is possibly using Expert mode since it'll let you flash anything.

but you also must correct the checksum, which on MSV80 is totally unknown at this point (I know what kind of checksum MSV70 is and where it's located, I just don't know what range it applies to).

Either way, this can be pretty dangerous. Also, I don't have any way to recover MSV80 from a brick state, so be careful. It's not impossible, of course, but few people will be able to do it and your standard answer will be to take it to the dealer for a new DME (or reprogramming if you're lucky).

IMO, something like the OFT would be a much safer way to modify values. If you mess something up, it has a recovery mode. Of course there is no MSV80 definition file..
Appreciate 0
      02-09-2015, 12:18 PM   #230
vilord
Major
497
Rep
1,316
Posts

Drives: E91, Tundra, TT, SV650
Join Date: Apr 2013
Location: boston

iTrader: (1)

Garage List
essentially what i want to do is to load the stock program and data files for a MSV80 130i MT, which uses the same N52 engine as my car, and 3-stage intake, onto my MSV80 328xi.
since i'll be loading a standard pair of program and data unmodified, i'm more confident that it won't brick.
do i have misguided confidence here?

EDIT: I would ideally like to load the program and data file pair using ISTA/P, though I'm not sure if it will let me when it doesn't see the 130i code as an upgrade path from my current software...

EDIT 2: And... I don't know yet how to determine which PGM/DATA file pair is correct for the 130i... unless i can find some forum member in the UK who owns one and will pull it up for me... i don't know what files in the datum tell me that X data is for Y car...

Last edited by vilord; 02-09-2015 at 12:23 PM..
Appreciate 0
      02-09-2015, 12:28 PM   #231
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
I found the Hardware and software numbers by finding the "programmed" dme numbers at the Real OEM web site. Drop the first digit in the part number. Look this up in the MSV70. HIS file within the MSV70 folder and follow the updates (old, new "ZB-ALT ZB-NEU" ) until you reach the oldest file. Then open the MSV70.dat file and the most current OPA. and ODA files will be listed next to the newest ZB number. Fairly easy. I did this for several versions of the Z4 and came up with a list of data files .ODA that used the exact same program file .OPA.

All of the files mentioned above are simple text files.

I actually copied these ODA files into excel and could easily see where most of the Data within these files are the same.

That's the easy part.
Appreciate 0
      02-09-2015, 12:40 PM   #232
vilord
Major
497
Rep
1,316
Posts

Drives: E91, Tundra, TT, SV650
Join Date: Apr 2013
Location: boston

iTrader: (1)

Garage List
@rjahl: Thank you for such a detailed description! Just what I need
Appreciate 0
      02-09-2015, 12:45 PM   #233
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
I don't know anything about Insta/P but if it's written anything like Winfkp and Inpa, I will repeat Hassmaschine's warnings. There are no guarantees that anything you do will be repairable, make plans for that possibility. Aside from having little or no documentation this software is essentially a patchwork of data files and scripts, hundreds of them and many in German. I have downloaded at least four different packages and each of them are deficient in on way or another. Even if you get a base package installed correctly, you still need to have the right Daten packages correctly added including running a routine that updates a index file called .DA2 file. Without that file being correctly indexed you can have issues like I had last week. I was lucky and recovered the DME but I was completely unsuccessful in installing the higher output files.

I would still like to use the OEM higher output data files but I need to find another approach.
Appreciate 0
      02-09-2015, 12:56 PM   #234
vilord
Major
497
Rep
1,316
Posts

Drives: E91, Tundra, TT, SV650
Join Date: Apr 2013
Location: boston

iTrader: (1)

Garage List
ISTA/P is what the BMW dealerships currently use for coding and upgrading. It utilizes a nice pretty GUI for all of the operations, gives lots of warnings, and 90% of the time won't let you fuck up (because when a tech at the dealership fucks up it costs them a lot of money)
My understanding is that it also only works with the high speed fiber optic / icom interconnect, which i dumped a bunch of money on a couple years ago and have only plugged in once...
Appreciate 0
      02-09-2015, 01:02 PM   #235
hassmaschine
Major General
United_States
3987
Rep
7,212
Posts

Drives: "NBO" 330i
Join Date: Jun 2014
Location: earth

iTrader: (0)

I don't really even know if it's worth loading an entire file from another car.

There aren't really that many settings that matter that you need to change - the VVL maps, intake/exhaust vanos, and DISA thresholds are about it. the ignition maps as far as I've seen are all identical from the 325i to the 328i, EU and US cars.

A much safer way would be to modify the stock data section for your car with the correct values, rather than an entirely different 0DA file that might have other changes you don't need or want. There are hundreds of differences between the files, but it's only a small handful of them that actually matter.
Appreciate 0
      02-09-2015, 01:11 PM   #236
vilord
Major
497
Rep
1,316
Posts

Drives: E91, Tundra, TT, SV650
Join Date: Apr 2013
Location: boston

iTrader: (1)

Garage List
i see advantages and disadvantages to both approaches... the advantage to just changing what you need to change is that you know nothing else will be wrong.
the advantage of using a stock file from another car is that a) there might be changes you don't realize that you need, and b) the stock files definitely don't need mucking about with checksums and so on...
my thinking is to start with an attempt at using stock files, and if all goes well, stop there. if not, then i'll start running hex comparisons between the various MSV80 dumps and try to figure out what needs changing where, where the checksums are, etc, etc.
Appreciate 0
      02-09-2015, 01:31 PM   #237
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
My motivation for using Winfkp and a file from a different car was based on two facts.

1. I did not have another way to insert any programming into the DMW.
2 . Even if I could, I have no way to understand the data files. I can read Hex and edit but manually finding and identifying maps is not possible for me. I can see them in the data but actually locating the axis, offsets and values is beyond my current skill set.
Appreciate 0
      02-10-2015, 08:01 AM   #238
hassmaschine
Major General
United_States
3987
Rep
7,212
Posts

Drives: "NBO" 330i
Join Date: Jun 2014
Location: earth

iTrader: (0)

Quote:
Originally Posted by vilord View Post
i see advantages and disadvantages to both approaches... the advantage to just changing what you need to change is that you know nothing else will be wrong.
the advantage of using a stock file from another car is that a) there might be changes you don't realize that you need, and b) the stock files definitely don't need mucking about with checksums and so on...
my thinking is to start with an attempt at using stock files, and if all goes well, stop there. if not, then i'll start running hex comparisons between the various MSV80 dumps and try to figure out what needs changing where, where the checksums are, etc, etc.
the checksum is right after the software version header. I'm not really sure it doesn't need changing, unless you're forcing WinKFP to flash a file from a different version, but I don't think that will end well.
Appreciate 0
      02-12-2015, 07:02 AM   #239
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
checksum

As far as why it failed, I'm 99.9% sure it was because the checksum wasn't corrected. I want to try and flash your file to one of my spare DMEs (with the checksum corrected) and see if it'll boot. You might be a bit gun shy now, but since you know how to recover it you could give it another shot. I'm assuming you flashed the stock file back, which has the wrong DISA thresholds for the 3 stage manifold.

if it works, then it should definitely be possible to modify files and flash using WinKFP. Which is a little bit dangerous as you found out, but many people have access to it.[/QUOTE]


Hass,
Have you tried flashing the bin into your spare DME? I've been able to look at the file and I think I can see the error.

Can you confirm if the checksum is at 400A4-400A7

I'm guessing but it looks like this covers blocks40240-4FFFF and blocks 50000-5EAFF

Edit: second address has been corrected in red;

Last edited by rjahl; 02-12-2015 at 04:41 PM.. Reason: correction
Appreciate 0
      02-12-2015, 09:26 AM   #240
hassmaschine
Major General
United_States
3987
Rep
7,212
Posts

Drives: "NBO" 330i
Join Date: Jun 2014
Location: earth

iTrader: (0)

I will confirm but yes it's in that area.

I haven't had a chance to try it yet, last week was a 60 hour work week, this week doesn't look better.

edit: yes, 400A4-400A7 is the checksum location. as far as the range, I don't know if that was a typo but I've tried many selection sets and it doesn't appear to be that simple.

the only way I can think of is to change bytes at specific addresses, let my tool correct the checksum and then figure out what range it's looking for.

Last edited by hassmaschine; 02-12-2015 at 01:57 PM..
Appreciate 0
      02-14-2015, 09:40 PM   #241
rjahl
Colonel
rjahl's Avatar
1002
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
Quote:
Originally Posted by hassmaschine View Post
I'm just curious what the 0da looks like in comparison to the full dump. I think I can convert it but I was wondering if you had one already done.
I finally cleaned these up. These are only a few ODA file conversions for the E85 but it's a good way to compare the differences between variants. All of these use the same S7577968.OPA, the ODA files look like a 100% transfer into the DME. The OPA files are a bit more complicated.
Attached Files
File Type: zip SI and I ODA files.zip (330.3 KB, 265 views)
Appreciate 0
      02-17-2015, 02:13 PM   #242
_Ryan_
Captain
No_Country
62
Rep
741
Posts

Drives: E87 130i
Join Date: Jan 2012
Location: Melbourne, AU

iTrader: (0)

Garage List
2005 BMW 130i  [5.24]
Quote:
Originally Posted by hassmaschine View Post
I've mostly been working on a disassembly. Still trying to figure out the right memory layout. I've been stuck figuring out where the references to the parameters are, because i think i have the layout wrong.

I did start working on a 130i xdf. I'm not really comfortable posting it yet because it's still incomplete and there may be errors. The plan is to have msv70/80 xdfs for the common program versions.
Great. Out of curiosity, have you come across the XDF for the OFT?
Appreciate 0
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 01:24 PM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST