RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 4:12 pm

All times are UTC




Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 12:05 pm 
Offline
Senior Member

Joined: Sat Feb 12, 2011 11:27 pm
Posts: 2032
Location: Northern NSW
td-d wrote:
Argh... I was requested to put up a Romraider definition, and I cannot get it to show up in Romraider, no matter what I do. Dale - could I ask you a favour, to post up a template for it to show up with the one of the roms above that people could cut and paste their addresses into?


Can I suggest?

ADMIN: deleted erroneous RR def...


Last edited by throttlehappy on Wed Feb 22, 2012 1:04 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 12:14 pm 
Offline
Senior Member

Joined: Sat Feb 12, 2011 11:27 pm
Posts: 2032
Location: Northern NSW
Fixed a small spelling error :)


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 12:55 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Ok, confirmed :D

I have indeed found the AF#3 Rear O2 correction limits. Stock is set to 50% (!), so it's always on basically. I set it to 1% to test, and stuck nicely to those limits. I will start a new thread.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 2:24 pm 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 7:12 am
Posts: 672
Location: The Philippines
td-d wrote:

Happy to find them for any other roms - as a tip to any other IDA'ers on here - the values are basically adjacent to the AF learning ranges. Seems stock is 1.5999 min and 80 max on most roms.


Hi,

For AZ1G101N, I see min at 74.76 and max 78.08. My current Af learning #1 flow ranges are stock 5.6 10 and 40. Its odd to have a min and max value like that. Thoughts?


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 2:59 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
That's not correct - don't make edits with that. Working on your definitions to see what the issue is.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Last edited by td-d on Wed Feb 22, 2012 3:06 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 3:01 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Cheers - thanks Throttlehappy - much appreciated!

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 3:06 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Ok - that's odd, but on some roms, the massairflow scaling throws out those erroneous values.

If you change it to "rawecuvalue" the correct values will pop up - minimum of 1.6 and max of 80.

Mark - here's your corrected one for AZ1G101N:

<table name="Af learning Max threshhold" address="c7740" type="1D" level="1" scaling="rawecuvalue"/>

<table name="Af learning Min threshhold" address="c7730" type="1D" level="1" scaling="rawecuvalue"/>

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Last edited by td-d on Wed Feb 22, 2012 3:30 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 3:23 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
There's definitely something borked with my Romraider definitions, even with ThrottleHappy's neat RR definitions above, I'm not getting it. Too many experimental variables chucked in there :lol:

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 4:53 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Here's the RR def.
Paste this just below the "A/F Learning #1 Airflow Ranges" table in your CALID section (not in the 32BITBASE section).
Code:
<table name="A/F Learning #1 Min Threshold" storageaddress="0x??????" />
<table name="A/F Learning #1 Max Threshold" storageaddress="0x??????" />
Then update the storageaddress value 0x?????? to the correct hex address for your CALID.

Paste these lines into the 32BITBASE CALID below the "A/F Learning #1 Airflow Ranges" table.
Code:
<table type="2D" name="A/F Learning #1 Min Threshold" category="Fueling - AF Correction / Learning" storagetype="float" endian="little" sizey="1" userlevel="4">
  <scaling units="Mass Airflow (g/s)" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1" />
  <table type="Static Y Axis" name="Capped Limit" sizey="1">
    <data>Min Threshold</data>
  </table>
  <description>Minimum required airflow for A/F Learning #1 Airflow Ranges to update.</description>
</table>
<table type="2D" name="A/F Learning #1 Max Threshold" category="Fueling - AF Correction / Learning" storagetype="float" endian="little" sizey="1" userlevel="4">
  <scaling units="Mass Airflow (g/s)" expression="x" to_byte="x" format="0.00" fineincrement=".1" coarseincrement="1" />
  <table type="Static Y Axis" name="Capped Limit" sizey="1">
    <data>Max Threshold</data>
  </table>
  <description>Setting the maximum threshold to lower than the D Min Range value of the A/F Learning #1 Airflow Ranges causes the open loop fuelling to ignore the D learned correction value.</description>
</table>


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Wed Feb 22, 2012 11:44 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
td-d wrote:
Here's a trick that is likely to work for most of the roms. In ecuflash, open up the AF learning range tables, and check what the address is.

That address minus hex 4 is the minimum. That address plus hex C is the maximum. Use calc in 'programmer' mode.
I have not looked really close at this, but do you think that the value at 0x14 below the range table address is a minimum sensitivity value to allow processing of correction changes?

I also see there are two other values which are fed into the smoothing subroutine. One is in the subroutine data but the other is at 0x10 below the range table address.


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Thu Feb 23, 2012 3:50 am 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Out of town for a couple of days, so no access to Ida at the moment. Didn't look too closely at the routine, quite possible. Pretty lengthy routine from what I recall.

There's definitely a smoothing factor somewhere (that has been incorporated into the COBB SD patch) that I'd also like to find. Some of these routines are immensely long and convoluted (especially with all the indirect referencing). I have to open up simsh and Ida side by side and watch what's happening line by line.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Fri Feb 24, 2012 11:44 am 
Offline
RomRaider Donator

Joined: Fri Dec 25, 2009 12:46 pm
Posts: 93
If you can spare the time, AZ1J500G EDM '11 STI, please.

TIA


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Fri Feb 24, 2012 7:07 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
2bfi wrote:
If you can spare the time, AZ1J500G EDM '11 STI, please.

TIA


Max - C8038
Min - C8028

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Sat Feb 25, 2012 1:51 am 
Offline
RomRaider Donator

Joined: Fri Dec 25, 2009 12:46 pm
Posts: 93
td-d wrote:
2bfi wrote:
If you can spare the time, AZ1J500G EDM '11 STI, please.

TIA


Max - C8038
Min - C8028


Thanks!

As with Mark's problem above, it showed min at 74.76 and max 78.08. I changed scaling to rawecuvalue as you instructed in the post above. It's perfect at min 1.6, max 80.

I looked into ecuflash's scalings and saw there is a MassAirflow(g/s) which gives the wrong value, and a MassAirflow(g/s)1 which give the right value.

So I modified it to:
Code:
 <table name="Af learning Max threshhold" address="C8038" type="1D" level="1" scaling="MassAirflow(g/s)1"/>
 <table name="Af learning Min threshhold" address="C8028" type="1D" level="1" scaling="MassAirflow(g/s)1"/>

It's just window dressing but it works. :)


Top
 Profile  
 
 Post subject: Re: AF learning A-D minimum and maximum threshholds
PostPosted: Sat Feb 25, 2012 6:48 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
Very Well Done in finding these limits!

This is how is set up my table i find it easier for me to visualise.

<data> MIN Range A </data>
<data> Max Range A / Min Range B </data>
<data> Max Range B / Min Range C </data>
<data> Max Range C / Min Range D </data>
<data> Max Range D </data>

Thanks Heaps keep up the good woork!


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

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

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