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)
-   -   Cant make a simple log work with my OP2.0 standalone (https://www.ft86club.com/forums/showthread.php?t=55463)

stugray 01-11-2014 01:57 AM

Cant make a simple log work with my OP2.0 standalone
 
I cannot get the following simple log to work on the BRZ.

here is the logcfg.txt:

type=adc

paramname=battvolts
paramid=16 ; OBD pin
scalingrpn=x,0.001,* ; here we scale to volts


paramname=throtpos
paramid=8 ; OBD pin
scalingrpn=x,0.001,* ; here we scale to volts


;-------------triggers---------------
;


conditionrpn = battvolts,0.0,>
action = start


Here's the logcfg.out file:

001: type=adc
: name[type,8] value[adc,0,0.000000]
002: paramname=battvolts
: name[paramname,16] value[battvolts,0,0.000000]
003: paramid=16 ; OBD pin
: name[paramid,17] value[16,16,16.000000]
004: scalingrpn=x,0.001,* ; here we scale to volts
: name[scalingrpn,18] value[x,0.001,*,0,0.000000]
005: paramname=throtpos
: name[paramname,16] value[throtpos,0,0.000000]
006: paramid=8 ; OBD pin
: name[paramid,17] value[8,8,8.000000]
007: scalingrpn=x,0.001,* ; here we scale to volts
: name[scalingrpn,18] value[x,0.001,*,0,0.000000]
008: ;-------------triggers---------------
009: ;
010: conditionrpn = battvolts,0.0,>
: name[conditionrpn,48] value[battvolts,0.0,>,0,0.000000]
011: action = start
: name[action,49] value[start,0,0.000000]

--- log config dump ---

firmware version is: 1.14.4010
the following general options are set:
* interpolate missing samples
* zero sample count at start of each file

channel type: adc

param name: battvolts
param id: 0x00000010
scaling: x,0.001000,*

param name: throtpos
param id: 0x00000008
scaling: x,0.001000,*

trigger action: start condition: battvolts,0.000000,>

--- storage info ---
log channels: 1
log parameters: 2
log stringlist: 29 chars
log floatlist: 2 floats
logging interval will be 1000000us



It just sits and does not log anything.
What am I doing wrong?

Anyone else want to try it and see if it works for you?
All I am trying to do is log the battery voltage and the voltage on pin 8 of the OBD connector (OEM8)

ztan 01-11-2014 05:37 AM

Refer to:

td-ds RAM parameters
http://www.ft86club.com/forums/showt...=47322&page=15

and Colby's sample mode 23 file at:
http://www.tactrix.com/downloads/ecu...ta_1444040.exe
The OP 2.0 needs this version of EcuFlash to update firmware to use mode 23

Logcfg.txt for what you wanted above:

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 = BattVolt
paramid = 0xFFF87C6C
isfloat = 1

paramname = Throttle
paramid =  0xFFF89030
isfloat = 1

conditionrpn = BattVolt,0,>   
action = start


stugray 01-11-2014 02:42 PM

Quote:

Originally Posted by ztan (Post 1445819)

Logcfg.txt for what you wanted above:

Thanks but I am trying to get JUST the ADC portion to work, because I want it to work on a car that has no OBD port.
I have a 71 racecar that I put a dummy OBD port in.
I want to log some analogs and some innovate (serial) data.

I could not get the innovate data to log, so I thought I'd try the analog only first.
It still wont log, so I thought I'd try the analog only on the BRZ to see if I was missing some pin in the OBD that is required. Nothing.

All of the examples online show that my logcfg.txt I posted above should work, but it doesnt.
I was hoping someone else would try my exact log file with their OP2.0 to see if it works for them.
I bought my OP2.0 used, so I am wondering if there is something wrong with it.

So far I have not gotten it to log anything.

II get the *.out file, so I know it is ingesting the logcfg, it just never outputs any kind of data.

ztan 01-11-2014 06:20 PM

Quote:

Originally Posted by stugray (Post 1446274)
Thanks but I am trying to get JUST the ADC portion to work, because I want it to work on a car that has no OBD port.
I have a 71 racecar that I put a dummy OBD port in.
I want to log some analogs and some innovate (serial) data.

I could not get the innovate data to log, so I thought I'd try the analog only first.
It still wont log, so I thought I'd try the analog only on the BRZ to see if I was missing some pin in the OBD that is required. Nothing.

So it is just the ADC portion of your openport that you want to test. Have you checked that OBD mode 0 and 23 work ok?

stugray 01-11-2014 07:51 PM

Quote:

Originally Posted by ztan (Post 1446625)
Have you checked that OBD mode 0 and 23 work ok?

No but that's why I was asking for a def for my 700C ROM over on the ROM Defs thread.
I might give it a try tonight with Td-d's suggestions.


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