RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Wed Dec 24, 2025 11:34 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 427 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23, 24, 25 ... 29  Next
Author Message
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Fri Mar 02, 2018 8:40 pm 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 7:51 am
Posts: 219
So, I've been looking at the AF3/4 corrections, learning limits etc for some time for the ROM: D2WD701C.

This ROM appears more complicated to most when looking at the AF3/4 components, it has two 'front' O2 sensors (note, not 'AF'), rather than a singular rear. It's possible that some of the code is redundant, as some of it bears simliarity to 'rear' O2 sensor code for example.

Additionally, as there's less of this ROM defined than others, it's been tricky to confirm and nail these parameters down.

The ultimate goal is to disable these features, so that it can be ported to run flex fuel as part of the merpmod development. Without disabling the coding and signalling that these subroutines perform, the flex input isn't going to be possible. Indeed, this is the last stumbling block in terms of parameters to track down before making some coding adjustments in HEW and creating a patch for all to use.

I'm hoping that some of the heavy hitters out there are able to point me in the correct direction for these?? (please??)

This is what I've got to date, and as a reference, the ROMs where I've been comparing similarities in code to try and pin these down. Hopefully these can be confirmed as correct/jumbled or incorrect as the case may be.....
Code:
219F8 AF_3_CL_Target_Compensation_Limits_Query__A2ZJ710J_
23414 AF_3_Correction_Limits_Likely_Correct__E2VG212D_E2ZK001A_
24F6C AF_3_Correction_Limits_Possibly__A2ZJ710J_
237CC AF_3_Learning_Limits_Likely_237CC__E2VG212D_E2ZK001A_
63AD4 AF_3_Correction_Adder_Increase_A_Table_Possible__A2ZJ500F_ - I dont really think this subroutine performs this function, but want to double check....
63AE8 AF_3_Correction_Adder_Increase_B_Table_Possible__A2ZJ500F_ - I dont really think this subroutine performs this function, but want to double check....


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Sun Mar 04, 2018 8:28 pm 
Offline
Newbie

Joined: Wed Aug 02, 2006 8:36 pm
Posts: 7
Hello... need address for A2WC510N - did not find definitive answer in this thread.

Much *thanks* in advance!


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Mon Mar 05, 2018 2:24 am 
Offline
RomRaider Donator

Joined: Tue Jan 28, 2014 10:48 am
Posts: 120
unclemat wrote:
Hello... need address for A2WC510N - did not find definitive answer in this thread.

Much *thanks* in advance!


Just upgrade it to A2WC522N, it has some code fixes stability & cruise control bugs, plus that's what Subaru would do anyway if you ever had them do any ECU work.


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Mon Mar 05, 2018 2:28 am 
Offline
Newbie

Joined: Wed Aug 02, 2006 8:36 pm
Posts: 7
covertrussian wrote:
unclemat wrote:
Hello... need address for A2WC510N - did not find definitive answer in this thread.

Much *thanks* in advance!


Just upgrade it to A2WC522N, it has some code fixes stability & cruise control bugs, plus that's what Subaru would do anyway if you ever had them do any ECU work.


Well, I continue to use 510N-based StreetTuner ROM, hence my attachment to the old version (for real time tuning).


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Mon Mar 05, 2018 2:53 am 
Offline
RomRaider Donator

Joined: Tue Jan 28, 2014 10:48 am
Posts: 120
unclemat wrote:
Well, I continue to use 510N-based StreetTuner ROM, hence my attachment to the old version (for real time tuning).


Gotcha, that makes sense. Somedays I wish we had real time tuning myself, would save a lot of time...


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Tue Mar 06, 2018 5:21 am 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 7:51 am
Posts: 219
unclemat wrote:
Hello... need address for A2WC510N - did not find definitive answer in this thread.

Much *thanks* in advance!


Code:
2C818 AF_3_CL_Target_Compensation_Limits_High_Low:.float -0.5
2C81C AF_3_CL_Target_Compensation_Limits_High:.float 0.5

2DE28 AF_3_Correction_Limits_High:.float 0.5
2DE2C AF_3_Correction_Limits_Low:.float -0.5


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Tue Mar 06, 2018 3:24 pm 
Offline
Newbie

Joined: Wed Aug 02, 2006 8:36 pm
Posts: 7
Great, thank you.


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Sun Mar 11, 2018 4:41 pm 
Offline
RomRaider Donator

Joined: Tue Jul 25, 2017 5:29 pm
Posts: 11
Thanks for all the info in this thread.
Unfortunately I don't have IDA pro as it is quite expensive compared to what I would use it for, but I was able to check my rom (A8DK100Z - 07 EDM STi) and did a hex search as mentioned earlier.
There are three matches in my rom, and one (the first one) of them was matching with the 07 WRX address mentioned in an earlier post, so I gave it a try. I actually tried all three addresses and fortunately nothing vent wrong. :mrgreen:

So for A8DK100Z it is #029A60 and right after re-flash, AF correction#3 was stuck to 0% from the earlier value of ~-45%.
(of course first I was logging the 16bit ecu version monitor :D and that gave me a -50% value, but after some time, I realized there is a 32bit ecu version of the same and that was showing 0%)


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Tue Mar 13, 2018 11:22 pm 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 7:51 am
Posts: 219
rozsko wrote:
Thanks for all the info in this thread.
Unfortunately I don't have IDA pro as it is quite expensive compared to what I would use it for, but I was able to check my rom (A8DK100Z - 07 EDM STi) and did a hex search as mentioned earlier.
There are three matches in my rom, and one (the first one) of them was matching with the 07 WRX address mentioned in an earlier post, so I gave it a try. I actually tried all three addresses and fortunately nothing vent wrong. :mrgreen:

So for A8DK100Z it is #029A60 and right after re-flash, AF correction#3 was stuck to 0% from the earlier value of ~-45%.
(of course first I was logging the 16bit ecu version monitor :D and that gave me a -50% value, but after some time, I realized there is a 32bit ecu version of the same and that was showing 0%)


Based on td-d's work from here and here

Code:
29A60 AF_3_Correction_Limits_High:.float 0.5
29A64 AF_3_Correction_Limits_Low:.float -0.5

27AE0 AF_3_CL_Target_Compensation_Limits_Low:.float -0.5
27AE4 AF_3_CL_Target_Compensation_Limits_High:.float 0.5


td-d, sent you an email, did you receive it?


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Thu Mar 15, 2018 5:38 am 
Offline
Moderator

Joined: Thu May 20, 2010 4:01 am
Posts: 3117
Location: Johannesburg, South Africa
I did, sorry - haven’t had a chance to look, somewhat swamped at work at the moment.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Thu Mar 15, 2018 4:44 pm 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 7:51 am
Posts: 219
Urghh.... Yup, I know that feeling. No worries, thanks for the confirmation! Don't sweat it, if you get the chance at some point down the track that would grand, but no rush. (Just wanted to know technology had not failed me!). Cheers!


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Thu Mar 29, 2018 3:33 pm 
Offline
RomRaider Donator

Joined: Sun Jan 03, 2016 10:05 am
Posts: 217
Hi Lorax,
What exactly is the goal? I have a 5 o2 sensor car, I turned off AF3 and AF4 learning and correction but the reality is they really don't do much. It is a very small percentage that they will actually correct for that I've seen (less than 1%).

If you can get it to read other than 0% (giving throttle in park or something), you can figure it out by making the change and see if stays at 0.


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Sat Mar 31, 2018 8:41 pm 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 7:51 am
Posts: 219
05Pzev wrote:
Hi Lorax,
What exactly is the goal? I have a 5 o2 sensor car, I turned off AF3 and AF4 learning and correction but the reality is they really don't do much. It is a very small percentage that they will actually correct for that I've seen (less than 1%).

If you can get it to read other than 0% (giving throttle in park or something), you can figure it out by making the change and see if stays at 0.


Thanks Pzev.

Looking to run flex sensor through rear O2, after porting version of merpmod. Corrections need to be disabled, or flex input will cause aberrant fuelling.

Yes, could test what I've got to date code wise, but it's not my vehicle, nor same country and would prefer to confirm coding alterations, with support of the experts on this site. As opposed to; testing possible combinations with the theoretical chance of causing damage.

As an aside, I have looked at your ROM in IDA, and there are several more values of 0.5/-0.5 (and the reverse) in this particular ROM. Thus my reluctance to simply test them all, at least in the first instance.


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Thu Apr 05, 2018 9:13 pm 
Offline
RomRaider Donator

Joined: Sat Nov 11, 2017 11:55 am
Posts: 3
Hi, I'm looking for the address for AZ1G401V, 09 USDM WRX

I could not find and exact match to the string in the first post but ... there was 3F000000 BF000000 FFFF2F94 4F22C79A F808D59A listed at the third location

This is my attempt, Can anyone confirm?
Code:
2F210 AF_3_Compensation_Limits?
301E0
30DA4
31AE4 AF_3_Correction_Limits?
334A4


Top
 Profile  
 
 Post subject: Re: AF#3 (Rear O2 sensor) correction limits
PostPosted: Sun Apr 08, 2018 8:18 am 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 7:51 am
Posts: 219
Epp14 wrote:
Hi, I'm looking for the address for AZ1G401V, 09 USDM WRX

I could not find and exact match to the string in the first post but ... there was 3F000000 BF000000 FFFF2F94 4F22C79A F808D59A listed at the third location

This is my attempt, Can anyone confirm?
Code:
2F210 AF_3_Compensation_Limits?
301E0
30DA4
31AE4 AF_3_Correction_Limits?
334A4


Halfway there:

Code:
2F210 AF_3_CL_Target_Compensation_Limits_High:.float 0.5
2F214 AF_3_CL_Target_Compensation_Limits_Low:.float -0.5

30DA4 AF_3_Correction_Limits_High:.float 0.5
30DA8 AF_3_Correction_Limits_Low:.float -0.5


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 427 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23, 24, 25 ... 29  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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