|
|
|
|
|
|
BMW Garage | BMW Meets | Register | Search | Today's Posts | Mark Forums Read |
|
BMW 3-Series (E90 E92) Forum
>
My Open Source N54 DME Flashing Project
|
|
04-15-2013, 02:56 AM | #1 |
Private
20
Rep 71
Posts |
Official Open Source MSD80/81 DME Flashing Project
Hello all. I'm new here so please go easy on me For some time, I've been working on an open source DME flashing system for the MSD80/81. I've even managed to tune my car to some degree (more on that later) using software that I've developed with a small group of colleagues who also just happen to be BMW owners. First, I'd like to say that I'm not tuner by any means. And neither are my colleagues. We are just hardware/software nerds with a penchant for hotrodding. This means that none of us want to get involved in any tuning wars or participate in any dramatic debates. We are here only to learn and to spread what little knowledge we have.
By tuning "To some degree" I mean that while I can read, edit and write to the DME, I do not completely understand the interdependencies of some of the tables. I'll be honest, I have [cough] hacked [cough] a few flash tunes and found what has been changed. For instance I know that what appears to be the fuel maps are located at 703A4 and 706B4 addresses on my particular software version (IJE0S) And what appears to be boost/load target maps are at 6318E and 6318E. And so on... But what I'd really like to learn is what some of these other tables are and how they work. It would be fantastic if we could start an open source tuning community where we can share info. Is there anyone out there that would like to help me define these tables. I'm pretty good at finding tables in raw hex files. But the more eyes we have working on this, the better! If you are interesting in this little project, PM me and we can discuss offline. Thank you for reading! Last edited by Rombinhood@OpenFlash; 04-22-2013 at 06:02 PM.. |
04-15-2013, 02:59 AM | #2 |
1731
Rep 17,960
Posts
Drives: A Lot
Join Date: Sep 2006
Location: SF Bay, CA
iTrader: (0)
Garage List 2018 Ducati Panigal ... [0.00]
2016 Mazda CX5 [0.00] 2017 Aprilia Tuono ... [0.00] 2019 BMW M2 Competi ... [0.00] 2015 BMW M5 Competi ... [10.00] 2016 Ducati XDiavel S [0.00] 2016 AMG GT S [0.00] 2011 Ferrari 458 It ... [0.00] 2017 Charger Hellcat [0.00] 2015 KTM Super Duke ... [0.00] 2016 KTM RC390 [0.00] |
Ah a kindred spirit. Love it. You have PM
Shiv |
Appreciate
0
|
04-15-2013, 03:06 AM | #3 |
Private
20
Rep 71
Posts |
Shiv! I was hoping that you would reply. I don't know if you remember me but I met you years ago when I brought my Evo to your shop to dyno tune back in 2005ish. I was the guy who showed up with my own ECU flashing software running off of my Palm Pilot
|
Appreciate
0
|
04-15-2013, 03:24 AM | #4 | |
1731
Rep 17,960
Posts
Drives: A Lot
Join Date: Sep 2006
Location: SF Bay, CA
iTrader: (0)
Garage List 2018 Ducati Panigal ... [0.00]
2016 Mazda CX5 [0.00] 2017 Aprilia Tuono ... [0.00] 2019 BMW M2 Competi ... [0.00] 2015 BMW M5 Competi ... [10.00] 2016 Ducati XDiavel S [0.00] 2016 AMG GT S [0.00] 2011 Ferrari 458 It ... [0.00] 2017 Charger Hellcat [0.00] 2015 KTM Super Duke ... [0.00] 2016 KTM RC390 [0.00] |
Quote:
To everyone else--- we are in the presence of greatness Cheers, shiv |
|
Appreciate
0
|
04-15-2013, 03:49 AM | #5 |
Brigadier General
306
Rep 3,262
Posts |
Welcome to the forums ! What you say is great news, especially given your background which shows you are very serious
I'm also a software developer at my core and I have been working at some Android and WinRT virtual gauge stuff in the hope that one day we could tune our cars with our mobile phones rather than a dedicated device, eliminating the need to carry a laptop to see logs, etc. So many opportunities. Keep up the great work and maybe one day we will be benefiting from each other's work By the way, I am interested in logging N54 engine parameters via OBD2/CANbus using an Android smartphone (Android now has USB host functionality). Did you do something in this area ? I think it should be even easier than reading and writing the DME.
__________________
|
Appreciate
0
|
04-15-2013, 03:55 AM | #6 |
Captain
14
Rep 961
Posts |
This is some interesting and (potentially)groundbreaking stuff. I wish you the best of luck!!!
__________________
"I'm not surprised you get along well with all the other neighbours. If you put fifty children with Down's syndrome in a room there is going to be a lot of hugging." David Thorne
|
Appreciate
0
|
04-15-2013, 06:18 AM | #8 |
Brigadier General
306
Rep 3,262
Posts |
...and they don't have any reason to give away precious information to open source projects which could at some point ruin their business
__________________
|
Appreciate
0
|
04-15-2013, 06:29 AM | #9 |
Captain
34
Rep 783
Posts |
The way I look at it its just another tool in the shed to get the job done. ATR is free too. Anyone can get or buy anything but not everyone has the skill to master it.
|
Appreciate
0
|
04-15-2013, 06:49 AM | #10 | |
Major General
177
Rep 6,631
Posts |
Quote:
This is akin to OpenECU on other platforms. I never thought I'd see this day come. Can't wait!
__________________
E90 LCI N54 6AT
|
|
Appreciate
0
|
04-15-2013, 07:17 AM | #12 |
I'd hit it
1060
Rep 1,105
Posts |
This will be a good read... in for later
|
Appreciate
0
|
04-15-2013, 10:06 AM | #16 |
Second Lieutenant
16
Rep 227
Posts |
Subscribed!
Welcome to our little world ... Love your name ROM -- bin -- Hood (from the rich to the poor). Mmmmmm!!! I'm more of a hardware guy and have some contract mfg contacts in APAC. Love to help out if you need it!!!
__________________
Vishnu/FFTEC Single Turbo (58mm) 6AT ... 60-130 in 6.881 seconds
Vishnu Procede Rev.3, Vishnu PWM Meth Kit, AE Exhaust, Helix IC, Forge DVs, Wavetrac LSD #### IT'S FOR SALE ### |
Appreciate
0
|
04-15-2013, 10:40 AM | #17 | |
Private
20
Rep 71
Posts |
Quote:
|
|
Appreciate
0
|
04-15-2013, 10:44 AM | #18 | |
Private
20
Rep 71
Posts |
Quote:
Thanks again to everyone who PMed me |
|
Appreciate
0
|
04-15-2013, 10:58 AM | #19 |
Lieutenant Colonel
65
Rep 1,708
Posts |
Very interested... wish I was a computer guy and understood this stuff, but I know nothing.
Is open sourcing primarily just altering table values? Eventually, could we have access to the calculations/relationships between them? Maybe change (or eliminate) table relationships. Just curious. What's the timeframe involved with cracking the DME... do you have to translate from German, and/or are you actually tracing to the electrical input/output? |
Appreciate
0
|
04-15-2013, 11:02 AM | #20 |
Private
20
Rep 71
Posts |
I'm a little hesitant to ask just anyone to help me. Especially those who are already invested in a closed platform (Cobb Tuning). I don't want to ask them to give away information that they rely on for revenue stream. Nor do I think Cobb Tuning would appreciate it if they helped me with my open source project since it is in direct odds with their best interest. While I think I'm being realistic, I hope I'm being pessimistic as I would be pleasantly surprised if they contacted me and were willing to help. It would be very useful to spend a few hours with the Cobb pro tuning suite for no other reason than learning the names of the tables that I have access to via the open source software. It does make sense to use the same nomenclature/labels/units as existing mapping software just to make it easy on those who would want to eventually transition from a closed tuning platform over to open source.
|
Appreciate
0
|
04-15-2013, 11:06 AM | #21 | |
Colonel
70
Rep 2,626
Posts |
Quote:
For instance, if Terry and Shiv decide to open source their piggys, when we get the source code and we can change teh firmware to our liking. same with COBB. (think Linux vs windows)
__________________
'07 E92 335i 6MT- HP650, inlets/outlets, ER FMIC, VRSF CP, LPFP stg2, CSF rad, 'is Aux rad, ER OC, Ohlins, M control arms, eibach front sway bar.
'05 C55 AMG SOLD - '22 Tesla M3P | '10 E92 335i M, 6MT COBB, FBO, st2 LPFP, Mfactory LSD | '07 E90 335i, PTF COBB E50, FBO, HFS4 |
|
Appreciate
0
|
04-15-2013, 11:29 AM | #22 | |
Private
20
Rep 71
Posts |
Quote:
Reading the DME didn't involve much more than gaining read access to the flashable memory/ROM. In the case of most modern DMEs this involves dealing with some moderate level encryption. So working out the encryption keys was necessary. We actually did this through putting some of our in-house resources to work. Within a 50 yard radius of my desk, we probably have access to more raw processing power than most cities in the US. So that helps. Once we have this ROM (2.1 meg file), we open it up in some sort of map editor. We then set up a definition file, for this particular ROM file that provides a usable framework. By this I mean that it locates the map addresses and converts the raw hex data into useable map/table data. This is the part that I'm not too familiar (yet) with as it involves a fundamental knowledge of MSD80/81 specific tuning. But once these definition files are created (with the help of Shiv and whomever else is willing to help), the rest is just tuning as you would using a closed tuning system. But the advantage of open source is that it is constantly and infinitely updatable/definable as the user would have access to every bit of the flashable DME code. Not just the info that the tuner wants to give you access to. This usually open up a new world for enthusiasts like us and leads to some pretty amazing functionality breakthroughs that wouldn't have been possible or likely otherwise. Give a man a fish and he can eat for a day. Show him how to fish and he can eat for the rest of his life. Or something like that [Screenshot of a ROM file show below. Left column is hexadecimal format. Right column in ASCII] |
|
Appreciate
0
|
Bookmarks |
Thread Tools | Search this Thread |
|
|