RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 5:41 pm

All times are UTC





Post new topic Reply to topic  [ 153 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Oct 08, 2015 8:33 am 
Offline
Newbie

Joined: Tue Jun 03, 2014 6:35 am
Posts: 5
Professwrx wrote:
As of last night I no longer own my Subaru, and don't plan on purchasing another. This, unfortunately, completely and effectively terminates my development of this ROM.


thats a shame, youve done one hell of a job. As much as id like to offer to take over the project my coding skills and ecu knowledge arnt even close to what is required. Cheers for everything!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Wed Oct 28, 2015 4:00 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Professwrx wrote:
As of last night I no longer own my Subaru, and don't plan on purchasing another. This, unfortunately, completely and effectively terminates my development of this ROM.


Sorry to hear that :(, hope all is well.

Thanks for all of the hard work!!!!

FWIW, I still plan on picking this back up at some point. It's just a matter of time.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Oct 29, 2015 9:02 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Merp! You're alive!

Nice to see you on, mate ;)

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Wed Dec 02, 2015 4:24 am 
Offline
Experienced

Joined: Sun Oct 16, 2011 7:57 am
Posts: 150
Hey Merp,

Hahah there were rumours you'd gone over to work for Cobb.....

So I've basically done a bit of work with merpmod for flex fuel...

* Implement failsafe condition for TGV inputs (i.e. detects out of range condition on input and either holds last good value or fails to default, flashes CEL). This is using Jason Carberry's flex converter, which outputs 0.5v-4.5v for 0-100%.
* implemented separate blend curves for boost, timing and fuel
* changed the startup/tipin/cranking enrichment to be based on a 3d multiplier table, top axis blend ratio, left axis whatever is relevant (i.e. temp or throttle angle)

Working okay so far. I'd like to clean this up a little bit to be a bit simpler for someone to tune (i.e. look at carberry) but all in all it's functional.

Ideas I'd like to get working are:

* option for rear o2 input
* build out the wideband/leanboost CEL flash code
* option for fuel pressure input, CEL flash and/or limp mode if not following 1:1 rising ratio with MRP
* at that point, we've run out of inputs but it would be awesome to read in oil temp/pressure somehow and limit revs based on that

I plan to keep testing and refining my work, once I'm happy I'll get it committed to git up somehow.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Tue Jan 19, 2016 4:02 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Very cool :)

Thoughts on inputs: force SD with no MAF, and re-use MAF input. If you're on CAN an arduino can be setup to broadcast the new sensors at high speed. Firmware to read them will be quite an undertaking :). There are also a bunch of digital I/O pins on these boards. You might find one that isn't used or can be re-purposed, then do firmware to read PWM from it. :).

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sat Jan 30, 2016 10:36 pm 
Offline
Experienced

Joined: Sun Oct 16, 2011 7:57 am
Posts: 150
i was thinking the same re: CAN.

Anybody have any ideas on where to even look in a ROM for this ?

I've started with the registers for the CAN transceivers on a 7058, it's difficult to follow the logic in IDA... maybe i need more practice


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Mon Feb 01, 2016 4:55 am 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
I haven't looked into CAN much, but it might help to trace the logic from the CEL routine in a rom from 2012+ and perhaps compare to a 2008 rom to see what's different. In 2008 you can trace it to the IO pin it was hardwired to :) Now its all over CAN. This is on my long term TODO as CEL flash is often requested for the CEL over CAN roms.

But... that's an output and we're looking for inputs, although it would surely help to understand the output process. You might check out some of the awesome work done by subarudieselcrew here: https://subdiesel.wordpress.com/

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sun Feb 14, 2016 4:53 pm 
Offline
Newbie

Joined: Wed Dec 05, 2012 3:00 pm
Posts: 94
What ROM's are you guys working on?
I take it not 04 STi.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sun Feb 14, 2016 10:20 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
My main area of focus is still A8DH202X.

Unfortunately the 04 is just too tight on space for most of these features without tearing out some OEM code. I'm sure its possible with some effort but its simply beyond the scope of my efforts.... But, if someone who has one gets involved, 90% of the existing MerpMod codebase is compatible. :)

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Mon Feb 15, 2016 5:51 am 
Offline
Experienced

Joined: Sun Oct 16, 2011 7:57 am
Posts: 150
Hey Merp,

So you need to put an 06 ECU into the 04 :)

Fixed.

Question - where did you get to with the RAM Tuning code ? How did you actually intend to program/tune the RAM tables ?

Cheers,

Adrian


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sat Feb 20, 2016 7:25 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Hehe, yep. 05STi might have a closer pinout and it has the ROM/RAM space.

I think the farthest I got with RAM tuning was to put memory, lookup tables, logic forks, and definitions in place for RAM tables, which are blocked with preprocessor statements unless you set a flag in the config.h

The next step is to write the code to initialize the RAM tables from ROM tables and run a checksum. I was looking at different algorithms and it looks like MD4 is an option but I think there might be something a little lighter on the processor.

Tuning should be done with a custom SSM routine that validates the cell location, writes the cell, and then runs the checksum w/ failsafe. We either have to downgrade to ROM during the write or alter the IRQ settings to block interrupts during the write, else there is a possibility of running on a partially written table that hasn't been checksummed (potentially corrupt).

Once that is set up, functionality to read/write RAM tables has to be written in RR or SharpTune. This is the biggest hurdle.

Another critical is verifying the unused RAM space in each ROM.

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sun Feb 21, 2016 4:18 am 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
Merp wrote:
Sorry to hear that :(, hope all is well.

All is well, just decided literally one day that I wanted to sell the subaru because after moving here I've noticed it's useless in Arizona as I want it (snowy climate, rainy winding roads and snowsports). It got only 22.5mpg and was boring in the AZ road grid. Got a 40mpg city Diesel Cruze to directly replace it.

And I am currently working on writing all these code add ons to my other new car. It's actually 25 model years old and will probably get very little respect around here, but I don't care. It's a restomod-project 92 Trans Am vert. Manual, soon to be Turbo V8. The WRX took way too long to get to boost. I prefer the instant torque of an SBC.

Wrote a basic DriveMode switch that I haven't implemented yet, but it's ready. Not as "elegant" as the WRX version.
Writing MAP sensor code for Boost implementation.
Thinking about Flex Fuel too, once Boost is done.
It's SO EASY working on 27-28 year old 8 bit ECUs. It's all said and done in as many subroutines for everything as the WRX had for wastegate stuff. Found a Subaru guy that used to write code for them went by Traxion on here and something else on the other boards about.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Fri Apr 01, 2016 10:42 pm 
Offline
Newbie

Joined: Sun Nov 29, 2009 3:17 am
Posts: 11
Merp wrote:
Hehe, yep. 05STi might have a closer pinout and it has the ROM/RAM space.


Is it feasible to swap an 05' ecu into an 04' car? (mine happens to be an 04' sti swap into GC 2.5rs) I don't want to have to add in the immobilizer crap after already doing the harness.

Wish I researched 04 vs 05 ecu prior to swap...


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sat Oct 08, 2016 6:37 pm 
Offline
Newbie

Joined: Sat Dec 12, 2015 4:55 am
Posts: 23
Hey guys, not near as code savvy as you all but I have been tuning for quite some time. I know tinyrex is the easiest lc/ffs patch, I have it now. But would like to explore open source speed density. Is there an official merpmod patch available for the usdm 2010 wrx mt?


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Tue Nov 29, 2016 5:34 am 
Offline
Experienced

Joined: Fri Jan 22, 2010 2:42 pm
Posts: 192
Is anyone able to Port this over to AZ1G101M at all?

Really all I need is the flex fuel code added to the existing MerpMod patch for the ECU, but if all the other parts can be done it would be fun to play with.

Starting to step up the work on the Foz (I miss my 450hp STI too much to resist modding the Foz) and want to go to E85, but due to a general lack of ethanol stations and some long road trips, I really want to get blending sorted so I wouldn't have to worry about draining tanks, or carrying 40L of spare fuel :)

_________________
Had: MY07 ADM STI (A8DK100V)
~300kw atw on e-flex, self tuned.

Now: MY09 Foz XTP (AZ1G101M)
~250kw atw on E70 (TD06SL2-18G), self tuned.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 153 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl