Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB

Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB (https://www.ft86club.com/forums/index.php)
-   Software Tuning (https://www.ft86club.com/forums/forumdisplay.php?f=88)
-   -   OP2 logging discussion (https://www.ft86club.com/forums/showthread.php?t=56432)

AdrianG 01-23-2014 09:56 AM

OP2 logging discussion
 
Hi everyone,

The EcuFlash thread is getting pretty cluttered, I'd like to fork off the OP2 standalone logging discussion before it becomes impossible to find the information I (and hopefully others) need.

I'll do my best to update the main post with useful information as we go along.

Here is my work-in-progress logcfg.txt file.

Here is a B01c logcfg.txt provided by Steve99. Use this if you're running an OFT 2.xx map.

TD-D's initial list of addresses:

Code:

E_AF_Correction_1_2byteExtExt_E82                      FFF89B48
E_AF_Correction_1_4byteExt_E81                        FFF8A5D8
E_AF_Learning_1_2byteExtExt_E83                        FFF89B4C
E_AF_Learning_1_4byteExt_E48                          FFF8A760
E_AF_Sensor_1_2byteExtExt_E92                          FFF89B38
E_AF_Sensor_1_4byteExt_E91                            FFF8932C
E_Closed_Loop_Fueling_Target_2byteExt_E122            FFF89B4A
E_Closed_Loop_Fueling_Target_4byteExt_E121            FFF8A6BC
E_Engine_Load_1byteExtExt_E86                          FFF89B5D
E_Engine_Load_4ByteExt_E32                            FFF89148
E_Engine_Speed_Delta_E157                              FFF893FC
E_Feedback_Knock_Correction_1byteExtExt_E94            FFF89B65
E_Feedback_Knock_Correction_4byteExt_E39              FFF8B0B0
E_Final_Fueling_Base_2byteExt_E124                    FFF89B44
E_Final_Fueling_Base_4byteExt_E123                    FFF8A008
E_Fine_Learning_Knock_Correction_1byteExtExt_E95      FFF89B68
E_Fine_Learning_Knock_Correction_4byteExt_E41          FFF8B14C
E_Fine_Learning_Table_OffsetExt_E58                    FFF8B16B
E_Fuel_Injector_1_Latency_4byteExt_E50                FFF8A048
E_Fuel_Injector_1_Pulse_Width_2byteExtExt_E99          FFF89B40
E_Fuel_Injector_1_Pulse_Width_4byteExt_E60            FFF887C8
E_Gear_CalculatedExt_E59                              FFF895DA
E_IAM_1byteExtExt_E96                                  FFF89B67
E_IAM_4byteExt_E31                                    FFF816F4
E_Idle_Speed_Map_SelectionExt_E49                      FFF8B734
E_Ignition_Base_TimingExt_E53                          FFF8AE74
E_Knock_Correction_Advance_4byteExt_E43                FFF8B0AC
E_Knock_Correction_Advance_IAM_onlyExt_E40            FFF8B120
E_Knock_Correction_Advance_Max_PrimaryExt_E118        FFF8B118
E_Manifold_Relative_Pressure_4byteExt_E113            FFF88F78
E_Manifold_Relative_Sea_Level_Pressure_2byteExtExt_E89 FFF89B30
E_Manifold_Relative_Sea_Level_Pressure_4byteExt_E52    FFF88F74
E_Primary_Open_Loop_Map_Enrichment_2byteExtExt_E85    FFF89B52
E_Primary_Open_Loop_Map_Enrichment_4byteExt_E84        FFF8A974
E_Requested_TorqueExt_E56                              FFF8B490
E_Target_Throttle_Plate_PositionExt_E57                FFF8B578
E_Throttle_Plate_Opening_Angle_2byteExtExt_E93        FFF89B32
E_Throttle_Plate_Opening_Angle_4byteExt_E38            FFF89030
E_Tipin_ThrottleExt_E54                                FFF89038

Ram_AFR_Sensor_Heater_Protection_Result                                    FFF88480
Ram_AFR_Sensor_Heating_Limit_Result                                        FFF88478
Ram_AF_Correction_3_32bit_ECU                                              FFF8A8EC
Ram_AF_Learning_3                                                          FFF81644
Ram_AF_Sensor_1_Current                                                    FFF89328
Ram_AF_Sensor_1_Resistance                                                  FFF89340
Ram_AF_Sensor_1_Resistance_0                                                FFF8A624
Ram_Accelerator_Pedal_Angle                                                FFF8922C
Ram_Alternator_Duty                                                        FFF884A4
Ram_Atmospheric_Pressure_1                                                  FFF89B88
Ram_Base_Pulse_Width                                                        FFF89738
Ram_Base_Pulse_Width_times_100_0.84                                        FFF89CB4
Ram_Battery_Voltage                                                        FFF87C6C
Ram_CFP_Delta                                                              FFF89048
Ram_CPC_Valve_Duty_Ratio                                                    FFF89CC4
Ram_CPC_Valve_Duty_Ratio_0                                                  FFF8BD14
Ram_Calculated_Base_Pulse_Width_                                            FFF8A044
Ram_CoolantTemperature                                                      FFF890A4
Ram_Coolant_Temperature???                                                  FFF87C74
Ram_ECT???                                                                  FFF89FC6
Ram_Engine_Speed                                                            FFF89564
Ram_Fuel_Injector_1_Pulse_Width                                            FFF887D8
Ram_Fuel_Injector_1_Pulse_Width_4byteExt_E60???                            FFF887F0
Ram_Fuel_Injector_2_Pulse_Width                                            FFF887DC
Ram_Fuel_Injector_Pulse_Width?                                              FFF88810
Ram_Fuel_Injector_Pulse_Width???                                            FFF887C4
Ram_Fuel_Pressure_MPa                                                      FFF8936C
Ram_Fuel_Pump_Duty                                                          FFF8B1A0
Ram_Fuel_Pump_Duty_0                                                        FFF8BD24
Ram_Gear                                                                    FFF895D9
Ram_High_Low_Load_0_L_1_H                                                  FFF8A0E4
Ram_Idle_Switch                                                            FFF8B5B2
Ram_Idling                                                                  FFF89FBE
Ram_Ignition_Total_Timing                                                  FFF8ADF8
Ram_Injector_Pulse_Width???                                                FFF8884C
Ram_Intake_Air_Temperature                                                  FFF87C64
Ram_Intake_OCV_Current_Left                                                FFF891B4
Ram_Intake_OCV_Current_Right                                                FFF891A8
Ram_Intake_OCV_Duty_Left                                                    FFF8C1F8
Ram_Intake_Temp                                                            FFF890B4
Ram_Map_Delta?                                                              FFF8A220
Ram_Mass_Airflow                                                            FFF89114
Ram_Minimum_CFP_Delta_for_Transient_Retard                                  FFF8B004
Ram_Port_Temp                                                              FFF8A0F4
Ram_Roughness_Monitor_Cylinder_1                                            FFF8CEC5
Ram_Roughness_Monitor_Cylinder_2                                            FFF8CEC6
Ram_Roughness_Monitor_Cylinder_3                                            FFF8CEC7
Ram_Roughness_Monitor_Cylinder_4                                            FFF8CEC8
Ram_SI_Drive_Mode_I3_S1_SSharp2_                                            FFF88999
Ram_TEST_byte_FFF8B064                                                      FFF8B064
Ram_Transient_Threshold_Testunk_FFF8923C                                    FFF8923C
Ram_Vehicle_Speed_0                                                        FFF893C4

All the addresses I verify will be based on ZA1JA01C, though I welcome contributions for other CAL IDs.

AdrianG 01-23-2014 09:56 AM

Reserved for additional info.

AdrianG 01-23-2014 10:05 AM

I have been trying to find the correct MAF reading in CFM, so far I've tried two and while the outputs correlate with eachother, they are not identical. They follow the trend I expect but they seem like they are reading low, I would expect more airflow given the condition.

Here's my log, more or less flat-foot in 5th gear on the highway:
http://datazap.me/u/adriang/ots-stag...7&zoom=239-430

"maf default" is the default address from the sample logcfg.txt:

Code:

paramname = MAF_default               
paramid = 0xFFF8DB90                               
isfloat = 1

and "maf tdd" is from the output in the top post provided by Td-d:

Code:

paramname = MAF_Tdd
paramid = 0xFFF89114
isfloat = 1


With @Td-d's help I see now that the AFR as listed above is the LAMBDA value, and we can get the ratio by multiplying the provided value by 14.7. This math can be applied on the OP2 directly, as such:
Code:

paramname = AFR
paramid = 0xFFF8932C
isfloat = 1
scalingrpn = x,14.7,*



I've confirmed now with the correct data type that gear and gear_calculated work. Thanks Td-d for clarifying that they are 8 bit values.

Funny enough, one reads neutral as 6, the other reads neutral as 0...

It is my understanding that reading the RAM parameters is much faster and more efficient, using gear at 0xFFF895D9 is my preference.

Code:


paramname = gear
paramid = 0xFFF895D9
databits = 8

paramname = gear_calculated
paramid = 0xFFF895DA
databits = 8


Td-d 01-23-2014 01:01 PM

Gear parameter is not float - it's 8 bit.

I.e.
databits = 8

There's a great utility called logcfg.exe that will autogenerate a logcfg.txt file for you from the Romraider definitions.

https://dl.dropboxusercontent.com/u/3099895/logcfg.exe

AdrianG 01-23-2014 01:02 PM

Quote:

Originally Posted by Td-d (Post 1473663)
Gear parameter is not float - it's 8 bit.

I.e.
databits = 8

There's a great utility called logcfg.exe that will autogenerate a logcfg.txt file for you from the Romraider definitions.

https://dl.dropboxusercontent.com/u/3099895/logcfg.exe

Awesome, thanks. I'll have to play with that.

AdrianG 01-23-2014 09:11 PM

Quote:

Originally Posted by vgi (Post 1475152)
I would be interested to know what these OFT params are mapping to the ones provided by Td-d or what the addresses are:
VVT Intake:
VVT Exhaust:
KC Learned Value
KC
VVT Intake Angle
VVT Exhaust Angle

and also what's the addr for Ram_Intake_OCV_Duty_Right

From my testing this correlates with OFT's "KC Learned":
Code:

E_Knock_Correction_Advance_4byteExt_E43                FFF8B0AC
That's all I've got for now. I think we're all waiting patiently for Td-d to discover the "VVT" addresses :)

Chicken Patty 06-08-2014 10:01 PM

hello fellas.

I used the logcfg file in the first post and it logs and works great. However, I notice that I am missing MAF Voltage. Any idea why? I've tried a few different log cfg files that work but none log MAF Voltage. Any help is appreciated, thanks.

steve99 06-08-2014 10:27 PM

Quote:

Originally Posted by Chicken Patty (Post 1785764)
hello fellas.

I used the logcfg file in the first post and it logs and works great. However, I notice that I am missing MAF Voltage. Any idea why? I've tried a few different log cfg files that work but none log MAF Voltage. Any help is appreciated, thanks.

Mate is in there its just commented out

;paramname = MAF_Voltage
;paramid = 0xFFF842AC
;databits = 16
;scalingrpn = x,0.000076293945,*

remove the ; and it should work fine its same address as G rom and wrks fine for me

paramname = MAF_Voltage
paramid = 0xFFF842AC
databits = 16
scalingrpn = x,0.000076293945,*

Chicken Patty 06-08-2014 10:50 PM

Quote:

Originally Posted by steve99 (Post 1785792)
Mate is in there its just commented out

;paramname = MAF_Voltage
;paramid = 0xFFF842AC
;databits = 16
;scalingrpn = x,0.000076293945,*

remove the ; and it should work fine its same address as G rom and wrks fine for me

paramname = MAF_Voltage
paramid = 0xFFF842AC
databits = 16
scalingrpn = x,0.000076293945,*

Then that has to be it. I'll go try it now. Thanks again bud, you've been of great help.

d1ck 07-09-2014 06:21 PM

I'm using the a01c version of the oft 1.59 tune. The Commanded AFR address appears to be incorrect for this particular combination. Any idea what it is?

steve99 07-09-2014 06:31 PM

Quote:

Originally Posted by d1ck (Post 1837716)
I'm using the a01c version of the oft 1.59 tune. The Commanded AFR address appears to be incorrect for this particular combination. Any idea what it is?


have you tried

paramname = AFR_Commanded
paramid = 0xFFF8A974
isfloat = 1
scalingrpn = x,14.7,*

else you will have to ask Td-d

If your doing MAF scaling use the VGI utlilty as it imports your OL fuel table from Romraider so you don't need to log Commanded AFR just measured AFR
and the utility does the rest

see here

http://www.ft86club.com/forums/showthread.php?t=64790

d1ck 07-09-2014 07:05 PM

Quote:

Originally Posted by steve99 (Post 1837737)
have you tried

paramname = AFR_Commanded
paramid = 0xFFF8A974
isfloat = 1
scalingrpn = x,14.7,*

else you will have to ask Td-d

If your doing MAF scaling use the VGI utlilty as it imports your OL fuel table from Romraider so you don't need to log Commanded AFR just measured AFR
and the utility does the rest

see here

http://www.ft86club.com/forums/showthread.php?t=64790

This is what's in my logcfg:
Quote:

paramname = AFR_Commanded
paramid = 0xFFF8A974
isfloat = 1
So it doesn't appear that the scaling is set on mine, however it doesn't seem like the formula in the one you posted is correct either. Based on my logs the formula should be:
Commanded AFR = 14.7 - (14.7 * x)

in RPN I think that would be this:

Commanded AFR = 14.7,14.7,x,*,-

I'm not sure if this is the correct notation for this formula or not.

Also, I came up with this for throttle plate percentage. I think it's correct.
Quote:

paramname = Throttle_Plate_Percent
paramid = 0xFFF89030
isfloat = 1
scalingrpn = x,1.11111111,*

steve99 07-09-2014 07:11 PM

Quote:

Originally Posted by d1ck (Post 1837775)
This is what's in my logcfg:


So it doesn't appear that the scaling is set on mine, however it doesn't seem like the formula in the one you posted is correct either. Based on my logs the formula should be:
Commanded AFR = 14.7 - (14.7 * x)

in RPN I think that would be this:

Commanded AFR = 14.7,14.7,x,*,-

I'm not sure if this is the correct notation for this formula or not.

Also, I came up with this for throttle plate percentage. I think it's correct.

The throttle position never goes to 100 % its always something like 90% at WOT, its been the subject of much discussion Ecutek logs it at less than 100% as well (80%) from memory. Open flash tablet loggs wot at 90%

That scaling for AFR works for me on G rom, usually just the address changes and scaling are same.

Td-d 07-09-2014 07:14 PM

Try this:

FFF8DBD0 Ram_Fuel_Air_Commanded


All times are GMT -4. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.


Garage vBulletin Plugins by Drive Thru Online, Inc.