RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

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

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Grp N Map Fuel Pump Duty
PostPosted: Fri Jun 25, 2010 8:57 am 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 2:14 pm
Posts: 316
Location: Kenya
Hi all, been running this map on a few jdm cars and so far so good. For the sake of the fuel pump longevity though, it would be nice if the fuel pump duty would vary as it does on the stock ecuroms. Looking at the Grp N rom, i think the fuel pump duty logic runs from sub_CED8 which calls sub_CF1A, sub_CF8C and sub_CEEC (confirmation requested). My assembly coding is rather rusty and I was hoping to start a thread which might lead to a fuel pump duty control for this rom.......
Attachment:
sub_ced8.jpeg
Attachment:
sub_cf1a.jpeg
Attachment:
sub_cf8c.jpeg
Attachment:
sub_ceec.jpeg


You do not have the required permissions to view the files attached to this post.

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Sat Jul 03, 2010 1:41 pm 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 2:14 pm
Posts: 316
Location: Kenya
Just tried a rom I had patched up with code borrowed from the spec c rom for fuel pump duty; the pump duty ran at 33.33% :D but doesn't increase when i rev up the engine, but i can see some :idea: at the end of this tunnel.
In the stock rom, what parameter(s) are used to govern fuel pump duty?

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Sat Jul 03, 2010 4:20 pm 
Offline
Experienced

Joined: Mon Aug 18, 2008 11:15 pm
Posts: 316
Location: Chicago, Illinois
Without opening IDA and actually going through the code, I know that the last pic you posted is what actually applies the FPDC. The middle box sets 100% FPDC(0ffh) while the left and right boxes(clr 3, z) set it to 0% FPDC. The issue with controlling it any further would be space. I will try to work it out with the limited space available and maybe I can put something together this winter. I don't have time until at least November though :( FWIW, running the pump that hard is only going to shorten the life span by minimal amounts.

Andy


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Sat Jul 03, 2010 4:50 pm 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 2:14 pm
Posts: 316
Location: Kenya
Thanks for the info.

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Sun Jul 04, 2010 5:20 pm 
Offline
Experienced

Joined: Mon Aug 18, 2008 11:15 pm
Posts: 316
Location: Chicago, Illinois
Attachment:
fpd.JPG
Attachment:
fpd2.JPG

This is the logic from an 02wrx for controlling the pump. Basically you need to find space for that.

Andy


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Sun Jul 04, 2010 6:29 pm 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 2:14 pm
Posts: 316
Location: Kenya
Thanks, already got some space for that particular code in the grpn rom hence the pump is now running at 33.33%, using code from the jdm spec c rom which is similar anyways; the spec c rom however calls 4 subroutines as compared the grpn one as seen in the very first pic above, trying to figure out the first routine called as that might have some bearing on what duty the fuel pump is set to. Also not too worried about the pump duty as such, but using this to learn some of the ecus logic.

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Sun Jul 04, 2010 7:38 pm 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
Anyone got a theory on why they use 33 / 66 / 100 rather than just a simple "min(100, IDC+25)" or something like that?

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Mon Jul 05, 2010 1:00 am 
Offline
RomRaider Donator
User avatar

Joined: Wed Jun 14, 2006 8:47 pm
Posts: 316
Location: New Mexico
I would really like to be able to run my in tank pump at 100% to prevent cavitation on my bosch at idle. Someone please figure it out for the 06 WRX.

_________________
2006 WRX wagon
9.82@150.55mph
CAMTuning


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Mon Jul 05, 2010 5:30 am 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 2:14 pm
Posts: 316
Location: Kenya
06rexwagon wrote:
I would really like to be able to run my in tank pump at 100% to prevent cavitation on my bosch at idle. Someone please figure it out for the 06 WRX.


What's the rom id?

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Mon Jul 05, 2010 7:35 am 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
I got your PM and I'll do it on for your ROM on Tuesday. :)

Briefly, the process to create the table for a 32-bit ROM goes like this:

Find the SSM function that retrieves fuel pump duty.
Find the variable that function returns.
Look for XREFs to that variable.
In my ROM there are only 3 XREFs:
The first initializes it to zero.
The 2nd is the SSM routine.
The 3rd is a function that checks some switches and sets it to 0, 33, 66, or 100.
A table can be defined for the 33 and 66 values, so they can be set to whatever you want. Setting both to 100 should cause the pump to run at 100% all the time. Or you could set them 50 and 75 for example, if you just want a modest increase from the 33 and 66 settings.

That worked for my ROM, and I'm guessing the 06 WRX will be pretty similar. I haven't dug into it yet though. Nor have I tested changes to the table for my own ROM yet but like I said... Tuesday. :)

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Mon Jul 05, 2010 3:03 pm 
Offline
RomRaider Donator
User avatar

Joined: Wed Jun 14, 2006 8:47 pm
Posts: 316
Location: New Mexico
ckibue wrote:
06rexwagon wrote:
I would really like to be able to run my in tank pump at 100% to prevent cavitation on my bosch at idle. Someone please figure it out for the 06 WRX.


What's the rom id?

Thanks NSFW.
The ROM ID is A8DH201X

_________________
2006 WRX wagon
9.82@150.55mph
CAMTuning


Top
 Profile  
 
 Post subject: Re: Grp N Map Fuel Pump Duty
PostPosted: Mon Jul 05, 2010 9:05 pm 
Offline
Experienced

Joined: Fri Mar 24, 2006 7:14 pm
Posts: 768
Sounds like great progress guys!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 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