Factory ECU Dual Pump Control
Fast Freddie, I'm only using a single pump so I have no need for anything like that and have no means to currently test it anyway. I have no intention of writing a patch at this point.
That said, everything you would realistically need is there currently to use the secondary pump output as a control for the second pump with a simple rewire to get rid of the resistor. Triggering off load alone is about the same as MAP and then having TPS and RPM settings is just an additional benefit over a simple MAP trigger.
That said, everything you would realistically need is there currently to use the secondary pump output as a control for the second pump with a simple rewire to get rid of the resistor. Triggering off load alone is about the same as MAP and then having TPS and RPM settings is just an additional benefit over a simple MAP trigger.
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
I have tried to search for code as a followup of this.
For me it seems Pin 21 is controlled by MUT_9B & 0x1, if anyone of you can confirm my assumption via logging, I may have a look futher in disassy, what conditions are affecting it.
For me it seems Pin 21 is controlled by MUT_9B & 0x1, if anyone of you can confirm my assumption via logging, I may have a look futher in disassy, what conditions are affecting it.
His pin number isn't right, but logging that bit it seems correct.
Toss a multi-meter on the high/low relay and watch it switch. Simple revving will change the state of the output.
Toss a multi-meter on the high/low relay and watch it switch. Simple revving will change the state of the output.
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
I finished up my rewire that utilizes the relay #3 controller. I did a bit of observation on my test drive, and relay #3 control switches consistently at 0 psi (crossover from vacuum to boost) no matter what RPM or anything else. The code acamus shows has nothing that would indicate a switch point at 0 psi (typically about 90 load). I suspect that the code he pointed out could be for relay #2 which is pin 21 Evo 9s.
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
I'm about 99% sure I've got this figured out. Fuel pump relay #3 is controlled by FFFF6A0C bit.6 in the 88590015 USDM Evo 9 ROM. The subroutines where the bit is set are at sub_232B4 in the 88590015 ROM. Basically, it keys off load only. Here is the table (for the 88590015 ROM):
I'll have time on Friday to test it out thoroughly and see if it can fix my slight fuel pressure overrun issue during off-boost driving with my custom rewire.
It seems that it would make much more sense to have the relay trigger off something proportional to fuel flow rather than load. I could easily rewrite the code to have it trigger off MAF Hz.
On a slightly related topic, if anyone is interested, it looks like fuel pump relay #2 is triggered by FFFF6A0C bit.7.
Code:
<table name="Min Load for Fuel Pump High Voltage" category="Fuel" address="3fce" type="2D" level="1" scaling="Load8"> <table name="Engine Speed" address="6b7a" type="Y Axis" elements="10" scaling="RPM"/> </table>
It seems that it would make much more sense to have the relay trigger off something proportional to fuel flow rather than load. I could easily rewrite the code to have it trigger off MAF Hz.
On a slightly related topic, if anyone is interested, it looks like fuel pump relay #2 is triggered by FFFF6A0C bit.7.
EvoM Guru
iTrader: (50)
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
mrfred, with this discovery, do you think there is any possibility to write code to enable an unused pin as a programmable output? The purpose would be to control a fourth fuel pump relay for a second fuel pump, like an electronically controllable hobb's switch.
-Acree
-Acree
Not mrfred but yeah it is possible. Just had play with these during last weekend. Setted unsused egr and purge outputs from my own program. Even these are duty outputs, those can be used as switch output by setting duty to 100% (0x80). Nothing to release yet though but it worked on the table just fine 

-Acree
What would you like to use as trigger for setting output? What rom id? I have worked at the moment with 9653 as there was real need for that in my friends car.
I finished up my rewire that utilizes the relay #3 controller. I did a bit of observation on my test drive, and relay #3 control switches consistently at 0 psi (crossover from vacuum to boost) no matter what RPM or anything else. The code acamus shows has nothing that would indicate a switch point at 0 psi (typically about 90 load). I suspect that the code he pointed out could be for relay #2 which is pin 21 Evo 9s.
It is in the main CAS interrupt driven routine instead of the main loop, which seemed kind of odd to be there if it was the fuel pump change over. Doesn't seem like it would really need to be that real time to me.
I'm about 99% sure I've got this figured out. Fuel pump relay #3 is controlled by FFFF6A0C bit.6 in the 88590015 USDM Evo 9 ROM. The subroutines where the bit is set are at sub_232B4 in the 88590015 ROM. Basically, it keys off load only. Here is the table (for the 88590015 ROM):
I'll have time on Friday to test it out thoroughly and see if it can fix my slight fuel pressure overrun issue during off-boost driving with my custom rewire.
It seems that it would make much more sense to have the relay trigger off something proportional to fuel flow rather than load. I could easily rewrite the code to have it trigger off MAF Hz.
On a slightly related topic, if anyone is interested, it looks like fuel pump relay #2 is triggered by FFFF6A0C bit.7.
Code:
<table name="Min Load for Fuel Pump High Voltage" category="Fuel" address="3fce" type="2D" level="1" scaling="Load8"> <table name="Engine Speed" address="6b7a" type="Y Axis" elements="10" scaling="RPM"/> </table>
It seems that it would make much more sense to have the relay trigger off something proportional to fuel flow rather than load. I could easily rewrite the code to have it trigger off MAF Hz.
On a slightly related topic, if anyone is interested, it looks like fuel pump relay #2 is triggered by FFFF6A0C bit.7.
When you say bit.7, are you talking bit.1 being the lowest? It's looking for 0x40, which isn't that bit.6 if you go by bit.0 being the lowest? Isn't that the typical method used? Or is this just matter of preference?
Anybody got any good ways to simulate the crank and cam signals with proper phasing? I have some stuff to build up a test bench and being able to run the ECU on the bench would make it pretty easy to make sense of this stuff as otherwise I have no way to test anything out. I've been thinking about using an Arduino to kick out the two signals?
Anybody got any good ways to simulate the crank and cam signals with proper phasing? I have some stuff to build up a test bench and being able to run the ECU on the bench would make it pretty easy to make sense of this stuff as otherwise I have no way to test anything out. I've been thinking about using an Arduino to kick out the two signals?
-Acree






