Notices
ECU Flash

Help for my RS from the experts:)

Old May 24, 2010 | 07:47 PM
  #16  
Ceddy's Avatar
Evolving Member
 
Joined: Apr 2008
Posts: 265
Likes: 1
From: Reading, PA
Originally Posted by 0xDEAD
We've been needing user defined outputs for a while now. To fit a variety of different uses I think this would work best. Allow the user to enter the output they would like to hijack in the stock code. Depending on the car setup you may not use some of the stock outputs (EGR, secondary fuel pump, cooling fan, etc...). Then allow the user to determine when this output is on or off using 2d tables of X vs output state. The variables of X would be RPM, TPS, and load. When all three tables are true, the output is on. It would look like this:

RPM state
500 0
1000 1
1500 1
2000 1
etc.......

TPS state
10 0
20 0
30 0
40 1
50 1
etc....

load state
0 0
20 0
40 1
60 1
80 0
100 0
etc...

Thus the output would be active when RPM is greater than 500, tps is more than 40%, and load is between 40-60%.

This would work for david right now and for me in the future so that I have a way to activate nitrous on my auto car.
This is how I did Solenoid Window Switches for my DSM Flash Mods. Think it is an easier approach then using tables.

EcuFlash doesn't offer a table with multiple scalings, so unfortunately I have to use six tables.

There are six windows for RPM, TPS, Load, Speed, Knock, and Boost. You must be in the window for all six, for activation.

Stock or Windowed Control is by a flag byte, that allows Inversion of output also.

Help for my RS from the experts:)-widowswitches.png
Reply
Old May 25, 2010 | 07:00 PM
  #17  
David Buschur's Avatar
Thread Starter
Evolved Member
iTrader: (53)
 
Joined: Mar 2003
Posts: 14,622
Likes: 32
Sorry, man I have been so freaking busy it's unreal, busier than I've been in years. Shop is swamped, we are all doing more to keep up.

0xdead, something like you descibed seemed to be best, if that is able to be used for multiple outputs.

Roadspike, I'd really like to program this stuff in the actual ECU. The fan should be the easiest thing to take care of. Water pump/fuel pump needs figured out.

Thank you all for looking into it.

BTW, I've tuned a few speed density cars, I just haven't been posting many results lately. I get tired of the grief on the forums and it's driving me away.
Reply
Old May 25, 2010 | 07:20 PM
  #18  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Originally Posted by davidbuschur
Sorry, man I have been so freaking busy it's unreal, busier than I've been in years. Shop is swamped, we are all doing more to keep up.

0xdead, something like you descibed seemed to be best, if that is able to be used for multiple outputs.

Roadspike, I'd really like to program this stuff in the actual ECU. The fan should be the easiest thing to take care of. Water pump/fuel pump needs figured out.

Thank you all for looking into it.

BTW, I've tuned a few speed density cars, I just haven't been posting many results lately. I get tired of the grief on the forums and it's driving me away.
Understandable been tuning up the start conditions on my own car so i can more easily get in and out of traffic when the car is bone cold


Dead or Ceddy from a programming standpoint do you just hook into the ioport subroutine and override like the CEL flash or something different, still learning here.

Last edited by RoadSpike; May 25, 2010 at 07:31 PM.
Reply
Old May 25, 2010 | 09:13 PM
  #19  
Ceddy's Avatar
Evolving Member
 
Joined: Apr 2008
Posts: 265
Likes: 1
From: Reading, PA
Originally Posted by RoadSpike
Dead or Ceddy from a programming standpoint do you just hook into the ioport subroutine and override like the CEL flash or something different, still learning here.
Yes, it should be very similar to the CEL Hook. (I'm not sure how Tephra does it on the SH ecus.)

Most of the solenoids can be hooked in the Duty Cycle Output sub (The one that counts to 0x30).
Reply
Old May 26, 2010 | 01:00 AM
  #20  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Originally Posted by Ceddy
Yes, it should be very similar to the CEL Hook. (I'm not sure how Tephra does it on the SH ecus.)

Most of the solenoids can be hooked in the Duty Cycle Output sub (The one that counts to 0x30).
Found that easily in the 94170015 rom version looks like there are a bunch of solenoid controls happening here egr, wastegate duty, and a few more.
Reply
Old May 26, 2010 | 07:28 PM
  #21  
David Buschur's Avatar
Thread Starter
Evolved Member
iTrader: (53)
 
Joined: Mar 2003
Posts: 14,622
Likes: 32
IF, IF, someone here has a solution and can build a ROM, I can give you more exact details on what I am doing and triggering. I'd gladly just pay someone to build what I need and send me the base file that will function.

I will run speed density, 5 bar AEM map sensor and AEM/GM AIT.

The Haltech runs DAMN good on my car but I'd like to give the stock ECU a shot and see how well it will work. My opinion on it sure has changed in the last few years and we've put out a lot of cars making great power on it.

Thanks everyone.
Reply
Old May 27, 2010 | 03:23 PM
  #22  
Paul Walkin's Avatar
Evolving Member
iTrader: (6)
 
Joined: Apr 2010
Posts: 267
Likes: 1
From: NJ
Interesting read for sure.

I'm assuming you don't care to lose some of the standalone features like live tune and ignition cut?
Reply
Old May 27, 2010 | 07:25 PM
  #23  
David Buschur's Avatar
Thread Starter
Evolved Member
iTrader: (53)
 
Joined: Mar 2003
Posts: 14,622
Likes: 32
Live tuning is no big deal and some of the ROMS have it from what I understand or are working on it. Ignition cut/rev limiters are in the stock ECU.
Reply
Old May 27, 2010 | 08:31 PM
  #24  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
I wouldn't mind writing the patch I really have only one question to the mod gods.

Since all these signals are pwm it looks highly like the code itself does the switching of the on and off state via bitwise signal. So basically can i just switch it to permanent on or off status?

Got about three "duty" variables i need to figure out

Alread know egr, evap, and wastegate

There are 4 unknown pwm signals but they get ignored if FAA bit 6 is set to 0.

Edit:

Discovered what they were now.

All 4 are the heater circuits of the o2 sensors 2 are just unused because they are meant for a v6 setup it appears.

Still 2 unknown pwm signals to determine hopefully one is the fpr which all i need to begin making a patch.

Last edited by RoadSpike; May 27, 2010 at 10:04 PM.
Reply
Old May 27, 2010 | 10:13 PM
  #25  
Paul Walkin's Avatar
Evolving Member
iTrader: (6)
 
Joined: Apr 2010
Posts: 267
Likes: 1
From: NJ
Originally Posted by davidbuschur
Live tuning is no big deal and some of the ROMS have it from what I understand or are working on it. Ignition cut/rev limiters are in the stock ECU.
Good to know. My DSM/Scooby background is catching up to me

Last edited by Paul Walkin; May 27, 2010 at 10:18 PM.
Reply
Old May 27, 2010 | 11:19 PM
  #26  
Ceddy's Avatar
Evolving Member
 
Joined: Apr 2008
Posts: 265
Likes: 1
From: Reading, PA
Originally Posted by RoadSpike
All 4 are the heater circuits of the o2 sensors 2 are just unused because they are meant for a v6 setup it appears.

Still 2 unknown pwm signals to determine hopefully one is the fpr which all i need to begin making a patch.
The FPS most likely isn't PWM. On H8 ecus it isn't, and I doubt they changed it for the SH ecus.

MUT_9B bit #7 is FPS flag on H8s, most likely same on SHs.

Actuator_0 bit #3, is another way to find the FPS routine.


For item order in the PWM sub, I have:
EGR
Purge
Front O2 Heater
Secondary Front O2 Heater
Rear O2 Heater
Secondary Rear O2 Heater
Wastegate
Skipped - Unknown
Skipped - Unknown
Reply
Old May 27, 2010 | 11:30 PM
  #27  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Originally Posted by Ceddy
The FPS most likely isn't PWM. On H8 ecus it isn't, and I doubt they changed it for the SH ecus.

MUT_9B bit #7 is FPS flag on H8s, most likely same on SHs.

Actuator_0 bit #3, is another way to find the FPS routine.


For item order in the PWM sub, I have:
EGR
Purge
Front O2 Heater
Secondary Front O2 Heater
Rear O2 Heater
Secondary Rear O2 Heater
Wastegate
Skipped - Unknown
Skipped - Unknown
Awesome thanks for the tips Ceddy. I'll start looking.

Edit:

Ok so i think I found the actuator routine but i have a few questions.

Bit 3 as in h'0x4 or as in h'0x8 i can never tell if people even programmers start with 0 or not.

Didn't find any references to actuator_0 but mut 9b was of course easy enough to track back.

Current rom 94170015

PWM sub @ 0xB1FE
Actuator Sub @ 0xAEB4

Last edited by RoadSpike; May 27, 2010 at 11:49 PM.
Reply
Old May 28, 2010 | 07:03 AM
  #28  
03whitegsr's Avatar
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
It looks like things are in a little different order and there are fewer PWM outputs in 96530006. If somebody can tell me if I got this right, it would be awesome.

Actuator Sub is at AC94

PWM Sub is at B032
The order of the PWM subs looks to be:
EGR
Purge
Wastegate
Front O2 Heater
2nd Front O2 Heater
Rear O2 Heater
2nd Rear O2 Heater
Reply
Old May 28, 2010 | 09:39 AM
  #29  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Originally Posted by 03whitegsr
It looks like things are in a little different order and there are fewer PWM outputs in 96530006. If somebody can tell me if I got this right, it would be awesome.

Actuator Sub is at AC94

PWM Sub is at B032
The order of the PWM subs looks to be:
EGR
Purge
Wastegate
Front O2 Heater
2nd Front O2 Heater
Rear O2 Heater
2nd Rear O2 Heater

Those are the same as the spots i found in the 94170015 rom.
Reply
Old May 30, 2010 | 05:35 PM
  #30  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Think I may have discovered in a different way the actuator code that does the fuel pressure solenoid plus a few others like fuel pump etc.

94170015 ram address FFFF8CCA

Basically reversing the mut command d6 for the fuel pressure solenoid to get to this location. It may not even be right but perhaps i'm on the right track .

Code location I'm guessing its at: 0x1EFF4

Mut Request Location:
0x8C3C
Reply

Thread Tools
Search this Thread

All times are GMT -7. The time now is 03:05 PM.