Notices
ECU Flash

Unclipped 2 byte airflow logged

Thread Tools
 
Search this Thread
 
Old Jun 18, 2007 | 10:52 PM
  #31  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
Okay so I started messing around with this tonight but ran into a couple of snags. I altered the lines at 3ee6e & 3ee72 just as I did for 2 byte load (for whatever their values were) way back and altered the lines to 27550 and 27551. I entered the scaling presumably as the eval line in EvoScan but it kept shutting down as long as I tried to log it. If I turned it off it was okay so I am sure I have the scaling request wrong. Any ideas?

This is how I understood the line should look in the data.xml from what I read:

<DataListItem DataLog="Y" Color="" Display="2 Byte Airflow" LogReference="2Byte Hz" RequestID="02" RequestID2="03" Eval="6.29/64*([256*requestID02]+requestID03)" Unit="Hz" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="2800" ChartMin="0" ChartMax="2800" ScalingFactor="0.1" Notes=""/>

or something like that anyway...I just threw in the max Hz values since I didnt have anything to go by.


JB

Last edited by JohnBradley; Jun 18, 2007 at 11:37 PM.
Reply
Old Jun 19, 2007 | 12:08 AM
  #32  
codgi's Avatar
Evolved Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Atlanta, GA
I think its your Eval thats throwing it off....from looking through EvoScan I don't think Eval ever explicitly uses the requestID in calculations. Its always "x" where x is the response from the ECU or LogReference for the particular item (e.g InjPulseWidth).

Last edited by codgi; Jun 19, 2007 at 12:10 AM.
Reply
Old Jun 19, 2007 | 08:01 AM
  #33  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by JohnBradley
...
<DataListItem DataLog="Y" Color="" Display="2 Byte Airflow" LogReference="2Byte Hz" RequestID="02" RequestID2="03" Eval="6.29/64*([256*requestID02]+requestID03)" Unit="Hz" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="2800" ChartMin="0" ChartMax="2800" ScalingFactor="0.1" Notes=""/>

or something like that anyway...I just threw in the max Hz values since I didnt have anything to go by.


JB
What version of EvoScan are you using? My 2-byte load entry in EvoScan 0.99 is:

<DataListItem DataLog="Y" Color="" Display="2-Byte Load" LogReference="Load2Byte" RequestID="00" RequestID2="01" Eval="0.3125x" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="500" ChartMin="0" ChartMax="500" ScalingFactor="1" Notes=""/>

If you had set up 2-byte air flow to be reported at MUT 02 and 03, then it would look like:

<DataListItem DataLog="Y" Color="" Display="2-Byte Air Flow" LogReference="AirFlow2Byte" RequestID="02" RequestID2="03" Eval="6.29x/64" Unit="Hz" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="3000" ChartMin="0" ChartMax="3000" ScalingFactor="1" Notes=""/>

The Eval formula may not have the correct constants. I haven't looked to see what the constants are for 2-byte airflow.

Last edited by mrfred; Jun 20, 2007 at 06:31 AM.
Reply
Old Jun 19, 2007 | 10:49 AM
  #34  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
Thanks M thats what I was doing wrong. I knew the Eval had to be the cause but I just didnt know where I need to change it or what I needed to change it too. I am using V99 as well. The 2 byte load works great (I did it months ago) I just couldnt get the 2 byte airflow to work to save my life.

On another note I tried using the formula that Eric posted in this thread to have a Air Mass Calculation (like g/s or lbs/min) in Evoscan and while it didnt work yet I think its a matter of getting my eval written correctly for it as well. I might have the formulae off and thats the problem I am not sure. I am kinda weak on code and seeing how things need to be, its been a LONG time since I have messed around with anything and then it was just hex hacking GT1 to make better cars

JB
Reply
Old Jun 19, 2007 | 11:03 PM
  #35  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
Okay after testing the changes that M suggested today I was able to momentarily log the hz as recorded as a direct image of "normal" hz. BUT, it would as soon as V99 linked, disconnect and give me the error message that "2 byte hz does not have reference in logtable". I have no idea why or what its referring to yet however.

JB
Reply
Old Jun 20, 2007 | 06:27 AM
  #36  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by JohnBradley
Okay so I started messing around with this tonight but ran into a couple of snags. I altered the lines at 3ee6e & 3ee72 just as I did for 2 byte load (for whatever their values were) way back and altered the lines to 27550 and 27551. ...

JB
Let's make sure that this is correct. What were the factory values at 0x3ee6e and 0x3ee72?
Reply
Old Jun 20, 2007 | 08:47 AM
  #37  
mchuang's Avatar
Evolved Member
iTrader: (11)
 
Joined: Sep 2005
Posts: 2,180
Likes: 1
From: h town
I use the same equation MRFRED posted in post 33 of this thread for 2byte airflow and logged it for 45 minutes. Works great.
Reply
Old Jun 20, 2007 | 09:31 AM
  #38  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
Originally Posted by mrfred
Let's make sure that this is correct. What were the factory values at 0x3ee6e and 0x3ee72?
Using the Type 13 for the base, the values were 27177 and 27176 respectively.
Reply
Old Jun 20, 2007 | 09:46 AM
  #39  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by JohnBradley
Using the Type 13 for the base, the values were 27177 and 27176 respectively.
ok. You got the right addresses. Seems that the hiccup is in your EvoScan Data.xml file. Did you add an entry to convert the 2-byte airflow reading into a g/s value (or some other value)?
Reply
Old Jun 20, 2007 | 03:52 PM
  #40  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
No, but I did just notice that scaling factor is 0.1 and I am not sure how I arrived at that. Could that be it? I dont have my lappy with me to log (still at work) but it seems somewhat plausible I spose? It looks exactly like the entry in #31 except I changed the request id part to what you had: 6.29x/64 and left everything else the same.

JB
Reply
Old Jun 20, 2007 | 04:23 PM
  #41  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by JohnBradley
No, but I did just notice that scaling factor is 0.1 and I am not sure how I arrived at that. Could that be it? I dont have my lappy with me to log (still at work) but it seems somewhat plausible I spose? It looks exactly like the entry in #31 except I changed the request id part to what you had: 6.29x/64 and left everything else the same.

JB
Ah ha. The LogReference name cannot have any spaces in it. "2Byte Hz" -> "2ByteHz".
Reply
Old Jun 20, 2007 | 06:48 PM
  #42  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
D'OH...figures it was something stupid. Thanks for the troubleshooting, I owe you now...next time you are over this way or I am that way the beer is definitely on me.
Reply
Old Jun 22, 2007 | 09:37 AM
  #43  
JohnBradley's Avatar
Evolved Member
Shutterbug
Liked
Loved
Community Favorite
iTrader: (30)
 
Joined: Jan 2004
Posts: 11,406
Likes: 78
From: Northwest
Adding 2 byte airflow to USDM Evo IX type 13 and 14 (NOT 15) condensed. Thanks to JCSBanks, l2r99gst, MrFred, and Everyone else that contributed

Add 2 new tables to the xml

<table name="2 Byte Airflow High" category="Misc" address="3ee6e" type="1D" level="1" scaling="Hex16"/>

<table name="2 Byte Airflow Low" category="Misc" address="3ee72" type="1D" level="1" scaling="Hex16"/>

</rom>
Open Ecuflash and change these values to 27550 and 27551 respectively.

Add this to EvoScan:

<DataListItem DataLog="Y" Color="" Display="2-Byte Air Flow" LogReference="AirFlow2Byte" RequestID="02" RequestID2="03" Eval="6.29x/64" Unit="Hz" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="3000" ChartMin="0" ChartMax="3000" ScalingFactor="1" Notes=""/>
Works perfect

Last edited by JohnBradley; Jun 22, 2007 at 03:20 PM.
Reply
Old Jun 22, 2007 | 10:14 AM
  #44  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
On thing I want to mention is that when you first look at the new 1D tables in ECUFlash, the values should be 27177 and 27176. If they are not, then the addresses are not correct for your ROM, and don't make the change to 27550 and 27551.
Reply
Old Jun 22, 2007 | 10:29 AM
  #45  
TouringBubble's Avatar
Evolved Member
iTrader: (2)
 
Joined: Jul 2006
Posts: 2,639
Likes: 3
From: Chelsea, AL
Thanks for those numbers. I'll be sure to check mine before heading out to log. I just did this mod last night.
Reply



All times are GMT -7. The time now is 01:37 AM.