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)
-   -   ECUFlash - Getting close! (https://www.ft86club.com/forums/showthread.php?t=47322)

Td-d 04-30-2014 08:57 AM

^ tried that, still didn't find them ;) Have to do it the hardway, through tracing the logic...

Td-d 04-30-2014 09:48 AM

Alright, Vgi - try these ones:

E_AF_Learning_1_A_StoredExt_E44_Range_A??? FFF81618
E_AF_Learning_1_B_StoredExt_E45_Range_A??? FFF81620
E_AF_Learning_1_C_StoredExt_E46_Range_A??? FFF81628
E_AF_Learning_1_D_StoredExt_E47_Range_A??? FFF81630

vgi 04-30-2014 01:00 PM

ok, will post tomorrow morning :)

D-VO 05-01-2014 12:15 PM

B01C issue
 
3 Attachment(s)
@Td-d: Here's my logcfg.txt and logcfgout.txt for the B01C ROM. I also added a log of what shows up under the "RPM" and "Speed" columns. I disabled the defogger switch start to get it logging.

Td-d 05-01-2014 03:30 PM

@D-VO - your defogger switch is not working because you've got it defined as an 8 bit value - needs to be float.

Engine speed parameter has the wrong address, should be FFF8DB98
For speed, try using FFF8DB9C rather.

I suggest going through the logcfg and comparing it to the address list posted, looks like some might not have been copied across.

Td-d 05-01-2014 03:59 PM

Quote:

Originally Posted by vgi (Post 1709659)
almost forgot to post :D

Bingo...

I'm seeing a lot more correlation now between the LTFT and these stored values. In fact, there's only one value that I'm not seeing (-5.49806, which kicks in above 20 g/s - i.e. D range of Table A) which may be in another ram address - but on the most part you can see how it's using values either from the ranges in B or in A, depending on the MAF g/s.

I suspect that if I manage to dig out the fueling mode, it will demonstrate how it's switching across the two tables.

So that being said, it's not as useful as in the older roms - I was hoping to provide a way to see a 'learning view' in the absence of having that tool for the BRZs - but if the tables are different, it switches between the tables constantly.

D-VO 05-01-2014 07:17 PM

@Td-d:
It's still not working. It's set up properly now.

paramname = Defogger
paramid = 0xFFF8939F
isfloat = 1
......................................
; logging trigger condition
conditionrpn = Defogger,1,==
action = start
conditionrpn = Defogger,0,==
action = stop
:iono:

Edit*
I'm assuming that when I get a value that looks like this (2.35E-38) under the defogger that its still the wrong address no?

steve99 05-01-2014 08:59 PM

Quote:

Originally Posted by D-VO (Post 1710235)
@Td-d:
It's still not working. It's set up properly now.

paramname = Defogger
paramid = 0xFFF8939F
isfloat = 1
......................................
; logging trigger condition
conditionrpn = Defogger,1,==
action = start
conditionrpn = Defogger,0,==
action = stop
:iono:

Edit*
I'm assuming that when I get a value that looks like this (2.35E-38) under the defogger that its still the wrong address no?

I gave up on the defogger trigger on G series ROM. Could log it fine but triggering never seemed to work.

I just use RPM trigger or you can use something like coolant temp , or just plug tatrix in when your ready, it seems remarkably tollerant of being plugged in on the fly. ;)

D-VO 05-01-2014 10:08 PM

Quote:

Originally Posted by steve99 (Post 1710435)
I gave up on the defogger trigger on G series ROM. Could log it fine but triggering never seemed to work.

I just use RPM trigger or you can use something like coolant temp , or just plug tatrix in when your ready, it seems remarkably tollerant of being plugged in on the fly. ;)

I was thinking the same thing. I'm just worried that I'm going to inadvertently rip the port right out of the car. HAve you had success with those triggers?

Td-d 05-02-2014 02:24 AM

@D-VO - my bad, it is an 8 bit value... It's curious - Vgi if I'm not mistaken got it working? Otherwise, I'll get back on trying to see what the issue is.

steve99 05-02-2014 08:51 AM

Quote:

Originally Posted by D-VO (Post 1710544)
I was thinking the same thing. I'm just worried that I'm going to inadvertently rip the port right out of the car. HAve you had success with those triggers?

I just bought a OBD extension with 90 degree plug for port under dash. 90 degree plug keeps it out of the way and the other end routed to come out at centre console where its easier to plug in and not wearing out obd socket on car.

Td-d 05-02-2014 09:46 AM

Try and clean out your logcfg file to only what you want logged (i.e. not just commenting out) - that's what Adriang did, and that seemed to sort it out.

D-VO 05-02-2014 05:45 PM

I'm gonna give it a shot on the way home.

By the way: Whats the difference between KC Advance and KC Advance IAM in OP2?

I have my Knock Correction Advance Max table set to all 8.09's, so when using the OFT the KC Advance line would decrease in the event of knock. Which one of these lines would mirror that function? It's hard to tell currently since the KC_Advance lines raises temporarily to 8.086 then drops back down to 7.84, whereas the KC_Advance_IAM stays solid at 7.84. IAM is currently 0.97.

D-VO 05-03-2014 12:01 AM

Dang...still no good. I've removed all comments and only have a few parameters left.

Code:

type = obd
protocolid = 6          ; ISO15765
mode23txaddrwidth = 4  ; mode23 req format info
mode23txlenwidth = 1    ; mode23 req format info       
mode23rxaddrwidth = 0  ; mode23 req format info
mode23uds = 1          ; lets OBD channels know you are using mode23 UDS
sortpids = 1            ; sort these PIDs by value to potentially make for fewer requests (=faster)
calcsampinterval = 1000 ; timing parameter - leave as is - will make default for release version

paramname = Throttle_Plate_Open_Angle
paramid = 0xFFF89030
isfloat = 1

paramname = RPM                               
paramid = 0xFFF893F8                               
isfloat = 1       

paramname = Speed
paramid = 0xFFF8DB9C
isfloat = 1
scalingrpn = x,0.621371,*

paramname = Ignition_Advance
paramid = 0xFFF8DB88
isfloat = 1

paramname = Defogger
paramid = 0xFFF8939F
databits = 8
;offsetbits = 0
isvisible = 0

conditionrpn = Defogger,1,==
action = start
conditionrpn = Defogger,0,==
action = stop

Strangely enough it logged just fine when triggered by the brake pedal (0xFFF89393). I still have a feeling the defogger has the wrong value in the logcfg fiile.

Td-d 05-03-2014 09:19 AM

@D-VO - if you want to see whether it's the defogger switch or not, remove the isvisible=0 line (that basically means you don't see the value in the log). That will let you know if it's switching or not - I'm pretty certain it is the right value.

I have a theory - in Vgi's logcfg, the addresses are ordered contiguously, which follows the request to sortpids = 1, making for faster logging. Yours are not - maybe that's the issue.

D-VO 05-03-2014 10:07 PM

@Td-d: Strangely enough removing the isvisible line from the defogger value made it work as its supposed to, but it still logs the defogger value...? It now shows the proper value of 1, and logs when the defogger switch is depressed. Success!! :happyanim: I still have my addresses scattered by the way. Now all I have to do is find the proper IAT and coolant addresses in the list provided.

Td-d 05-04-2014 12:43 PM

Excellent!

ztan 12-14-2014 06:21 PM

CAN Mode 23 requests
 
Been playing around with CAN addressing again - pulling RAM data gives faster update speeds than the OBD routines.


Mode 01:

Request:
Code:

00 00 07 E0  01            10
ECU address  OBD mode 01  MAF PID
              request

Response:
Code:

00 00 07 E8  41            10      00 55
ECU response  OBD mode 01  MAF PID  Data
              response

00 55 converted from int to dec/100 = 0.85 g/s

Mode 23:
MAF RAM address in my ROM is FF F8 7C 70

The 14 after mode 23 request: first 4 bits are size of response length descriptor, second 4 bits are size of ram address descriptor.

Request:
Code:

00 00 07 E0    23          14      FF F8 7C 70  04
ECU address    OBD mode 23  Length  RAM address  Response length
              request     

Response:

Code:

00 00 07 E8    63                    3F 59 99 9A
ECU response  OBD mode 23          RAM data
              response

3F 59 99 9A converted to float = 0.85 g/s

ztan 03-22-2015 12:10 PM

Quote:

Originally Posted by Td-d (Post 1635129)
I've already defined intake and Exhaust AVCS - did I not post it up?

Code:

RAM:FFF8C0E8 Intake_VVT_Advance_Angle_Right:.res.b 1 ; DATA XREF:
RAM:FFF8C0EC Intake_VVT_Advance_Angle_Left:.res.b 1  ; DATA XREF:

RAM:FFF8C130 Exhaust_VVT_Retard_Angle_Right:.res.b 1 ; DATA XREF:
RAM:FFF8C134 Exhaust_VVT_Retard_Angle_Left:.res.b 1 ; DATA XREF:



A01G AVCS RAM addresses:
Code:

paramname = Intake_AVCS_Right
paramid = 0xFFF8BF80
isfloat = 1
scalingrpn = x

paramname = Intake_AVCS_Left
paramid = 0xFFF8BF84
isfloat = 1
scalingrpn = x

paramname = Exhaust_AVCS_Right
paramid = 0xFFF8BFC8
isfloat = 1
scalingrpn = x

paramname = Exhaust_AVCS_Left
paramid = 0xFFF8BFCC
isfloat = 1
scalingrpn = x



All times are GMT -4. The time now is 09:06 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.