E90Post
 


Extreme Power House
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Powertrain and Drivetrain Discussions > N54 Turbo Engine / Drivetrain / Exhaust Modifications - 335i > My Open Source N54 DME Flashing Project



Reply
 
Thread Tools Search this Thread
      04-15-2013, 12:09 PM   #23
135Pats
Turbo's Here
135Pats's Avatar
United_States
61
Rep
5,683
Posts

 
Drives: 135i
Join Date: May 2012
Location: Maryland

iTrader: (2)

Open Source DME writing is way over my head, but welcome to forum! Sub'd.
__________________
E88 N54 Alpinweiss/Coral Red/Motiv HTA 3586r Tial .82AR/Meisterschaft Race/Berk Resonated/ER CP/Synapse/VRSF FMIC/FFTEC LPFP/HFS-4 DO Stainless Lines/BMS Thermostat Delete/Rob Beck PCV Valve + Cap/BMS OCC/ST Coilovers/M3 FCA + Tension Rods/M3 Subframe Bushings/M3 FSB/DINAN Camber Plates/Apex ARC-8/Project Kics/VAC Hubs/Rogue Transmission Mounts/Alpina TCU Flash/Icarbon/Kerscher/BMW Performance
Appreciate 0
      04-15-2013, 12:53 PM   #24
shiv@vishnu
Tuner
United_States
702
Rep
17,616
Posts

 
Drives: X1, 335i
Join Date: Sep 2006
Location: SF Bay, CA

iTrader: (0)

Quote:
Originally Posted by 135Pats View Post
Open Source DME writing is way over my head, but welcome to forum! Sub'd.
Using open source software is no different, to the user, than using ATR. The only differences is that it isn't restricted in terms of map availability/access. You would be able to read/write tuning files from/for other open source users. Basically, nothing is hidden/restricted in the name of IP protection. The open source approach is also considerably lower priced since all you are paying for is basic hardware and because support is community-driven, not by a private for-profit company. Pretty exciting stuff
Appreciate 0
      04-15-2013, 01:00 PM   #25
135Hoser
Custom User Title
135Hoser's Avatar
3
Rep
261
Posts

 
Drives: 09 135i
Join Date: Jul 2011
Location: Canada, Eh

iTrader: (0)

OP, If you plan on developing this further, will you use an existing project like RomRaider? This seems slightly more sane than developing an entire UI from scratch.
__________________
2009 135i
AR Resonated DPs, Line Lock Kit | HPF FMIC | Forge DV's | BMW PE | BMS DCI, OCC, JB4 G5 | Meth
Still todo: Wavetrac LSD, Suspension bits
Appreciate 0
      04-15-2013, 01:02 PM   #26
Roy Cormier
Private
Roy Cormier's Avatar
2
Rep
65
Posts

 
Drives: Single Turbo 335i
Join Date: Feb 2012
Location: Green Bay, WI

iTrader: (0)

Subscribed! I was thinking about trying to do this, haven't gotten around to it yet though. What are you using for hardware?
__________________
Single Turbo E92 BMW 335i | roycormier.net | My YouTube channel

If you can leave black marks on a straight from the time you exit a corner till the time you brake for the next turn....... Then, you have enough horsepower.
Appreciate 0
      04-15-2013, 01:07 PM   #27
135Pats
Turbo's Here
135Pats's Avatar
United_States
61
Rep
5,683
Posts

 
Drives: 135i
Join Date: May 2012
Location: Maryland

iTrader: (2)

Quote:
Originally Posted by shiv@vishnu View Post
Using open source software is no different, to the user, than using ATR. The only differences is that it isn't restricted in terms of map availability/access. You would be able to read/write tuning files from/for other open source users. Basically, nothing is hidden/restricted in the name of IP protection. The open source approach is also considerably lower priced since all you are paying for is basic hardware and because support is community-driven, not by a private for-profit company. Pretty exciting stuff
Gotcha, I suppose I meant the heavy lifting involved ingetting to the point where you have full control over all of the tables. Totally agree, this is a very exciting time for the N54 community
__________________
E88 N54 Alpinweiss/Coral Red/Motiv HTA 3586r Tial .82AR/Meisterschaft Race/Berk Resonated/ER CP/Synapse/VRSF FMIC/FFTEC LPFP/HFS-4 DO Stainless Lines/BMS Thermostat Delete/Rob Beck PCV Valve + Cap/BMS OCC/ST Coilovers/M3 FCA + Tension Rods/M3 Subframe Bushings/M3 FSB/DINAN Camber Plates/Apex ARC-8/Project Kics/VAC Hubs/Rogue Transmission Mounts/Alpina TCU Flash/Icarbon/Kerscher/BMW Performance
Appreciate 0
      04-15-2013, 01:10 PM   #28
Rombinhood@OpenFlash
Private
8
Rep
71
Posts

 
Drives: 335i
Join Date: Apr 2013
Location: Cupertino, CA

iTrader: (0)

Quote:
Originally Posted by 135Hoser View Post
OP, If you plan on developing this further, will you use an existing project like RomRaider? This seems slightly more sane than developing an entire UI from scratch.
You are 100% correct. I'm not a UI guy (although I have a very good one setting next to me). But with the help of others on this forum who have already offered to help, we will probably adopt an off-the-shelf freeware tuning interface like RomRaider, Tuner Pro RT, etc. Once I'm given all the map definitions, descriptions and scaling/unit info, we can put something out there very quickly. The nice thing about getting the whole community involved is that cool things can happen very quickly since we do this for fun and don't have to fill out daily TPS reports
Appreciate 0
      04-15-2013, 01:20 PM   #29
Rombinhood@OpenFlash
Private
8
Rep
71
Posts

 
Drives: 335i
Join Date: Apr 2013
Location: Cupertino, CA

iTrader: (0)

Quote:
Originally Posted by Roy Cormier View Post
Subscribed! I was thinking about trying to do this, haven't gotten around to it yet though. What are you using for hardware?
Right now i'm using a hacked $15 OBD2 diagnostic cable (from Amazon) with my Macbook. Although this is temporary. My short-term plan is do be able to do it all through a handheld device like a iphone or ipod. The screen resolution and touch sensitivity on those devices are so good (maybe I'm a little biased ) that they can truly be substitute for a laptop when doing something as simple as map editing/flashing.
Appreciate 0
      04-15-2013, 01:40 PM   #30
335okc
Captain
335okc's Avatar
10
Rep
654
Posts

 
Drives: e90 335
Join Date: Feb 2011
Location: okc

iTrader: (0)

Ah, the good ol' hex editor. brings me sweet memories of hacking old software.
i can't believe the rom is only 2.1mb tho, is that really true?

have you posted the current code somewhere? i'm highly intrigued.
Appreciate 0
      04-15-2013, 01:44 PM   #31
2000max
Private
0
Rep
72
Posts

 
Drives: '06 Evo RS
Join Date: Jan 2012
Location: New York

iTrader: (6)

So we just need to get a bunch of people up and running on disassembling the ROM? It will be interesting to see what the fueling disassembly looks like and what we can do with it! I'd love for some way to get the o2 sensors out of the manifold on the single turbos.

FWIW ecuflash provides an xml file that can be edited as new features/new tables are defined within the ROM

Thank you for posting this, I can't wait to see what comes out of it.
Appreciate 0
      04-15-2013, 01:46 PM   #32
pwr hungry
Banned
14
Rep
1,260
Posts

 
Drives: 335
Join Date: Mar 2013
Location: Amer'ca

iTrader: (2)

Quote:
Originally Posted by RombinHood2
Quote:
Originally Posted by Roy Cormier View Post
Subscribed! I was thinking about trying to do this, haven't gotten around to it yet though. What are you using for hardware?
Right now i'm using a hacked $15 OBD2 diagnostic cable (from Amazon) with my Macbook. Although this is temporary. My short-term plan is do be able to do it all through a handheld device like a iphone or ipod. The screen resolution and touch sensitivity on those devices are so good (maybe I'm a little biased ) that they can truly be substitute for a laptop when doing something as simple as map editing/flashing.
Definitely biased. As soon as i fix my galaxy s2 screen, this iphone is back in to paperweight status!

Very interested in the project though. And if you have to make it for Mac...at leastmake it for the ipad. I would actually use one of those.
Appreciate 0
      04-15-2013, 01:56 PM   #33
Rombinhood@OpenFlash
Private
8
Rep
71
Posts

 
Drives: 335i
Join Date: Apr 2013
Location: Cupertino, CA

iTrader: (0)

Quote:
Originally Posted by 335okc View Post
Ah, the good ol' hex editor. brings me sweet memories of hacking old software.
i can't believe the rom is only 2.1mb tho, is that really true?

have you posted the current code somewhere? i'm highly intrigued.
The portion of the memory which we read/write to is only 2.1mb. This is the portion with all the mapping data from what I can tell. My code will definitely be refined to some degree before release. I also need to make sure we have recovery modes in place just in case there is a communication loss during the write process while would otherwise render the DME a pricey paperweight.

And hacking is sweet!

Thanks for the encouragement/support!

Last edited by Rombinhood@OpenFlash; 04-15-2013 at 02:02 PM.
Appreciate 0
      04-15-2013, 02:06 PM   #34
Rombinhood@OpenFlash
Private
8
Rep
71
Posts

 
Drives: 335i
Join Date: Apr 2013
Location: Cupertino, CA

iTrader: (0)

Quote:
Originally Posted by 2000max View Post
So we just need to get a bunch of people up and running on disassembling the ROM? It will be interesting to see what the fueling disassembly looks like and what we can do with it! I'd love for some way to get the o2 sensors out of the manifold on the single turbos.

FWIW ecuflash provides an xml file that can be edited as new features/new tables are defined within the ROM

Thank you for posting this, I can't wait to see what comes out of it.
Yes, the more people we get behind the disassembly project the better! Tomorrow night, I have a meet up with someone who has offered to help me get the ball rolling.

Maybe we can start a new sub-forum here devoted specifically to open source development?
Appreciate 0
      04-15-2013, 02:08 PM   #35
09BMW335i
Second Lieutenant
09BMW335i's Avatar
2
Rep
246
Posts

 
Drives: 2009 335i
Join Date: Nov 2012
Location: northwest burbs, IL

iTrader: (0)

Garage List
2012 Cadillac SRX  [0.00]
2009 335I  [0.00]
this is a great achievement. THe only down side i would see is if you have this type of open source programming lets call it. You have people that would grab not read anything and start changing thing. It could be a huge mess however, it would allow us users to really dig deep into the relam of the N54 motor and others to see how the software really works.


I am all for this. It would really get us closer to get even more out of this great motor.

Cant wait to see more
__________________
09 335i Sport --JB4--DCI--Macht Schnell Catless Downpipes--AMS FMIC--Walbro 455 LPFP--HPF Gen2 Exhaust--SPEC Stage 3+ clutch / billet steel flywheel--Flash by Wedge
Appreciate 0
      04-15-2013, 02:33 PM   #36
klipseracer
Banned
United_States
74
Rep
3,012
Posts

 
Drives: 2007 E90 335i, 05 E46 330i
Join Date: Aug 2009
Location: Arizona

iTrader: (27)

Garage List
2007 335i  [0.00]
2005 330i  [0.00]
Send a message via MSN to klipseracer
Quote:
Originally Posted by 09BMW335i View Post
this is a great achievement. THe only down side i would see is if you have this type of open source programming lets call it. You have people that would grab not read anything and start changing thing. It could be a huge mess however, it would allow us users to really dig deep into the relam of the N54 motor and others to see how the software really works.


I am all for this. It would really get us closer to get even more out of this great motor.

Cant wait to see more
If you drive your car off a cliff, your car would be a huge mess as well. Both of these statements are facts. With that said, if you don't want your car to be a 'huge mess' I'd advise not driving your car off a cliff. Cause and Effect. Nobody needs to remind you that driving your car off a cliff is bad, and there is no difference here. If you mess up your DME because you tried to code something or flash a bad file to your OWN car on your OWN time, then thats your bad, sorry.

Regarding the OP, this is probably some of the best tuning news we have heard in a while. Please, provide this man the support he needs! If you want to setup a paypal donation fund, I would support that.
Appreciate 0
      04-15-2013, 02:38 PM   #37
shiv@vishnu
Tuner
United_States
702
Rep
17,616
Posts

 
Drives: X1, 335i
Join Date: Sep 2006
Location: SF Bay, CA

iTrader: (0)

Quote:
Originally Posted by klipseracer View Post
Regarding the OP, this is probably some of the best tuning news we have heard in a while. Please, provide this man the support he needs! If you want to setup a paypal donation fund, I would support that.
Consider him supported
Appreciate 0
      04-15-2013, 02:39 PM   #38
DefactoM6
Sees the world the way it could be
United_States
12
Rep
761
Posts

 
Drives: '88 M6, '02 Z8, '09 E92 335i
Join Date: May 2010
Location: CT

iTrader: (11)

Quote:
Originally Posted by klipseracer View Post
If you drive your car off a cliff, your car would be a huge mess as well. Both of these statements are facts. With that said, if you don't want your car to be a 'huge mess' I'd advise not driving your car off a cliff. Cause and Effect. Nobody needs to remind you that driving your car off a cliff is bad, and there is no difference here. If you mess up your DME because you tried to code something or flash a bad file to your OWN car on your OWN time, then thats your bad, sorry.

Regarding the OP, this is probably some of the best tuning news we have heard in a while. Please, provide this man the support he needs! If you want to setup a paypal donation fund, I would support that.
Exactly. Too many idiots around here who don't put in the time or energy to read. Let them learn the hard way. Rombinhood2, you are a hero, and I look forward to seeing you and your team do things that would go way the hell over my head. Tuning from an iPad would be quite entertaining...
__________________
Appreciate 0
      04-15-2013, 02:44 PM   #39
09BMW335i
Second Lieutenant
09BMW335i's Avatar
2
Rep
246
Posts

 
Drives: 2009 335i
Join Date: Nov 2012
Location: northwest burbs, IL

iTrader: (0)

Garage List
2012 Cadillac SRX  [0.00]
2009 335I  [0.00]
I am also done for throwing some funding into the open source if we get enough people willing to support
__________________
09 335i Sport --JB4--DCI--Macht Schnell Catless Downpipes--AMS FMIC--Walbro 455 LPFP--HPF Gen2 Exhaust--SPEC Stage 3+ clutch / billet steel flywheel--Flash by Wedge
Appreciate 0
      04-15-2013, 04:20 PM   #40
Dave W.
Lieutenant
4
Rep
492
Posts

 
Drives: Porsche 951, 1992 Eagle Talon
Join Date: Apr 2012
Location: SF Bay Area

iTrader: (0)

Wow this is great news! I've been hoping something like this would happen. I was deeply involved with open source hacking on the DSM ecu and I had a great time with it. Then I moved on to the 1987 Porsche 944 DME (ecu) and hacked it easily with a little help. No prob since the entire chip is just 4k, even though the code base was entirely new to me. The first time I opened up the e9x DME I was pleasantly surprised to see the format was extremely similar to the old Bosch DME in my Porsche. Thanks to the old code I already know how to format the header info that preceeds each table so the rpm, load, volts, ect can line up properly. I think that will make it easier to communicate with other users.

So yeah, count me in!
Appreciate 0
      04-15-2013, 04:48 PM   #41
cupertinosteve
Second Lieutenant
United_States
6
Rep
213
Posts

 
Drives: BMW 335i
Join Date: Nov 2011
Location: Cupertino, Duh?

iTrader: (0)

Is there a PayPal donation account setup?

I'll fund some R&D.
__________________
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, 05:22 PM   #42
Mahhvinn
EUROPROJEKTZ
Mahhvinn's Avatar
United_States
97
Rep
7,953
Posts

 
Drives: backwards
Join Date: Dec 2008
Location: San Jose, CA (Bay Area)

iTrader: (15)

Garage List
2008 E90 335i  [3.50]
This is another amazing step forward for our platform! This is how tuning and community should be!

Thank you Rombinhood and your colleagues for stepping forward with this! Also, I'm glad to see Shiv taking part in the fun!

I too am willing to fund some R&D with a donation to keep the momentum going.
__________________
LTMW|SPEEDELEMENT|EUROPROJEKTZ

#TeamStretchNPoke
Appreciate 0
      04-15-2013, 05:33 PM   #43
The Ghost
Reborn
The Ghost's Avatar
United_States
15
Rep
1,107
Posts

 
Drives: 335i
Join Date: Jun 2011
Location: USA

iTrader: (1)

Quote:
Originally Posted by RombinHood2 View Post
Thanks for the kind reply! I'm not exceptionally familiar with the Android platform to tell the truth. But let's just say I work for their competition here in Cupertino But whipping up a datalogging/display device that feeds CAN info off of the OBD2 port is relatively simple compared to writing/reading the DME ROM since it doesn't require any encryption keys or checksum calculations. It can be done at the basic diagnostic level. My colleague has already written a program that does so via iPhone. Porting over my little DME read/writing program does seem to be the next natural step.
In
Appreciate 0
      04-15-2013, 05:35 PM   #44
Ænema
Captain
10
Rep
961
Posts

 
Drives: BMW
Join Date: Aug 2012
Location: Arizona Bay

iTrader: (0)

Based on the limited number of people who are using ATR right now I feel like there won't be many people that would jump into this blindly and get in over their heads. It will probably be a very small community at first but hopefully will grow.

I don't know the first thing about ECU hacking but I've got a lot of ATR experience and will help out with that side of it whenever possible.
__________________
"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
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Forum Jump


All times are GMT -5. The time now is 12:34 AM.




e90post
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
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