Notices
ECU Flash

Factory ECU Dual Pump Control

Old May 3, 2011 | 05:41 AM
  #76  
03whitegsr's Avatar
Thread Starter
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
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.
Reply
Old Nov 23, 2011 | 10:11 PM
  #77  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by acamus
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.
ok, acamus is talking about Pin 21, but Pin 39 is the controlling pin for the hi/lo voltage switch-over on a USDM Evo 8. Am I missing something here?
Reply
Old Nov 25, 2011 | 11:26 AM
  #78  
03whitegsr's Avatar
Thread Starter
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
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.
Reply
Old Jan 2, 2012 | 05:33 PM
  #79  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by 03whitegsr
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.
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.
Reply
Old Jan 3, 2012 | 12:13 AM
  #80  
mrfred's Avatar
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):

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>
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.
Reply
Old Jan 3, 2012 | 05:47 AM
  #81  
Spec-Ops1's Avatar
Account Disabled
iTrader: (38)
 
Joined: Jun 2010
Posts: 1,229
Likes: 1
From: Fayetteville,NC
Mrfred, for those running SD, will the code still trigger off MAF Hz?
Reply
Old Jan 3, 2012 | 07:01 AM
  #82  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by Freddie@Spec-Ops
Mrfred, for those running SD, will the code still trigger off MAF Hz?
odd as it may sound, maf hz used in all the code in the rom is calculated from master load (which does not go away with the sd conversion), so a maf hz trigger would work with an sd rom.
Reply
Old Jan 3, 2012 | 07:04 AM
  #83  
Spec-Ops1's Avatar
Account Disabled
iTrader: (38)
 
Joined: Jun 2010
Posts: 1,229
Likes: 1
From: Fayetteville,NC
Thanks! I thought so just wanted to verify... I know when you change MAF scaling it will mess with the SD tune...
Reply
Old Jan 3, 2012 | 10:38 AM
  #84  
Acree's Avatar
Evolved Member
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (8)
 
Joined: Nov 2006
Posts: 787
Likes: 1
From: Dallas
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
Reply
Old Jan 3, 2012 | 11:01 AM
  #85  
donner's Avatar
Evolving Member
iTrader: (1)
 
Joined: Aug 2009
Posts: 199
Likes: 2
From: Europe
Originally Posted by Acree
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
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
Reply
Old Jan 3, 2012 | 11:15 AM
  #86  
Acree's Avatar
Evolved Member
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (8)
 
Joined: Nov 2006
Posts: 787
Likes: 1
From: Dallas
Originally Posted by donner
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
THAT sir, gets me excited. When you feel comfortable, please share your results. This will save me the time and trouble in making an electronic hobbs switch from a microprocessor.

-Acree
Reply
Old Jan 3, 2012 | 11:31 AM
  #87  
donner's Avatar
Evolving Member
iTrader: (1)
 
Joined: Aug 2009
Posts: 199
Likes: 2
From: Europe
Originally Posted by Acree
THAT sir, gets me excited. When you feel comfortable, please share your results. This will save me the time and trouble in making an electronic hobbs switch from a microprocessor.

-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.
Reply
Old Jan 3, 2012 | 03:24 PM
  #88  
Acree's Avatar
Evolved Member
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (8)
 
Joined: Nov 2006
Posts: 787
Likes: 1
From: Dallas
Load would be the easiest trigger I'm assuming. I am on the USDM IX Rom, I believe 88590015?

-Acree
Reply
Old Jan 4, 2012 | 10:11 PM
  #89  
03whitegsr's Avatar
Thread Starter
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
Originally Posted by mrfred
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.
If you are talking about the bit Acamus pointed out and the code chunk I went over, it doesn't really make sense as the #2 relay. Could be EVAP related?

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.

Originally Posted by mrfred
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):

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>
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.
The corresponding routine in 96530006 is at 205AC and I have it marked as an unknown solenoid. Table is located at 0x4568 and axis is 0x6576, should anybody be interested in testing.

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?
Reply
Old Jan 4, 2012 | 10:45 PM
  #90  
Acree's Avatar
Evolved Member
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (8)
 
Joined: Nov 2006
Posts: 787
Likes: 1
From: Dallas
Originally Posted by 03whitegsr
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?
I don't know if you have ever heard of Matlab, but it would very easy to simulate those signals with it. You could simply create a matrix with the correct sampling rate/phase/amplitude and then create a .wav file. Depending on what the required voltage range is on the ECU input pins, the "sound" signal coming from the computer could substitute for the real thing very well.

-Acree
Reply

Thread Tools
Search this Thread

All times are GMT -7. The time now is 09:10 AM.