follow ft86club on our blog, twitter or facebook.
FT86CLUB
Ft86Club
Delicious Tuning
Register Garage Community Calendar Today's Posts Search

Go Back   Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB > Technical Topics > Software Tuning

Software Tuning Discuss all software tuning topics.

Register and become an FT86Club.com member. You will see fewer ads

User Tag List

Reply
 
Thread Tools Search this Thread
Old 11-09-2013, 01:58 PM   #239
FrX
Senior Member
 
Join Date: May 2012
Drives: 2013 Scion FR-S, 1993 Lexus SC300
Location: Houston, TX
Posts: 411
Thanks: 284
Thanked 175 Times in 102 Posts
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Garage
You can obtain a copy of the J2534 spec here:

https://law.resource.org/pub/us/cfr/...j2534.2002.pdf

You would probably be surprised how little difference there is between, say an EcuTek cable and one of the Chinese Clone MVCI cables.

The EcuTek cables (and the Ross-Tech and Bavarian Technic) are all made my a company called Sensolutions. They include an Atmel MCU, FTDI USB controller, and a set of the Microchip CAN controller and transceiver pair.

The Chinese MVCI cables contain an NXP LPC MCU with a built-in CAN controller, an FTDI USB controller and a CAN transceiver.

Theoretically the Chinese clone cables are perfectly capable of the speeds any of the other hardware gives you. However, the software and firmware they provide is buggy and does not fully meet the J2534 spec. Only a bare minimum of the API is provided. Not to mention that it is stolen/cloned from a previously legitimate source who has since stopped development. You are not going to see any bug fixes or help for your problems, ever.

One interesting aspect of the Chinese cables is that the reset and ISP programming pins are connected correctly to the FTDI chip. You can successfully have the device enter the ISP mode and respond to queries. The current firmware is protected, but it may be possible to overwrite it with your own. I have not tried that yet, though.

In regards to working with your own hardware, which is appealing because all the current players are full of lock-down, I like the new TI Stellaris/Tiva chips. They include both USB and CAN on-board (still need the transceiver IC, a Microchip MCP2551 or NXP TJA1051 work well). They also have 4 UART controllers, so you can tap into both K-Line ports too. The Launchpad is a nice development platform, too.
FrX is offline   Reply With Quote
Old 11-09-2013, 01:59 PM   #240
nelsmar
Senior Member
 
Join Date: Feb 2013
Drives: FR-S
Location: Phoenix
Posts: 2,605
Thanks: 733
Thanked 2,361 Times in 1,031 Posts
Mentioned: 345 Post(s)
Tagged: 3 Thread(s)
Quote:
Originally Posted by xjohnx View Post
Pardon my ignorance, but what kind of things could you make with this?
Thats an open question with an open answer.

The answer? Whatever you want!

I need a little more info as to what you are looking for lol. Are you asking what i personally can make using one? what i am going to make? what the application of one of the ARM based cpu's is? I just don't fully know what kind of answer you are looking for.
__________________
When I grow up, I wanna be God.
My flickr - Canibeat
Local magazine scout
Old Setup: Vortech Supercharged 360WHP/262WTQ @ 11.5psi
My build thread - WTF happened to nelsmar's car thread
nelsmar is offline   Reply With Quote
Old 11-09-2013, 02:02 PM   #241
xjohnx
Grip>Slip
 
xjohnx's Avatar
 
Join Date: Jun 2012
Drives: 13 SWP BRZ Ltd - Innovate Powered!
Location: RVA
Posts: 3,563
Thanks: 656
Thanked 1,717 Times in 1,031 Posts
Mentioned: 45 Post(s)
Tagged: 3 Thread(s)
Quote:
Originally Posted by nelsmar View Post
Thats an open question with an open answer.

The answer? Whatever you want!

I need a little more info as to what you are looking for lol. Are you asking what i personally can make using one? what i am going to make? what the application of one of the ARM based cpu's is? I just don't fully know what kind of answer you are looking for.
I was mainly wondering what you planned on making with it. Also wondering if it could be used somehow to simulate the pedal dance for track cars.
xjohnx is offline   Reply With Quote
Old 11-09-2013, 02:11 PM   #242
FrX
Senior Member
 
Join Date: May 2012
Drives: 2013 Scion FR-S, 1993 Lexus SC300
Location: Houston, TX
Posts: 411
Thanks: 284
Thanked 175 Times in 102 Posts
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by xjohnx View Post
I was mainly wondering what you planned on making with it. Also wondering if it could be used somehow to simulate the pedal dance for track cars.
If the information necessary to enable it is transmitted via the can bus, and you figure out what specifically need to be transmitted, sure. Note that the OBD plug is not a direct line to most of the car's can bus, and is firewalled somewhat behind a controller/router. The parts of the car you need to talk to may be behind this firewall.
FrX is offline   Reply With Quote
Old 11-09-2013, 02:24 PM   #243
nelsmar
Senior Member
 
Join Date: Feb 2013
Drives: FR-S
Location: Phoenix
Posts: 2,605
Thanks: 733
Thanked 2,361 Times in 1,031 Posts
Mentioned: 345 Post(s)
Tagged: 3 Thread(s)
Quote:
Originally Posted by FrX View Post
If the information necessary to enable it is transmitted via the can bus, and you figure out what specifically need to be transmitted, sure. Note that the OBD plug is not a direct line to most of the car's can bus, and is firewalled somewhat behind a controller/router. The parts of the car you need to talk to may be behind this firewall.
^^^ this is correct.

Quote:
Originally Posted by xjohnx View Post
I was mainly wondering what you planned on making with it. Also wondering if it could be used somehow to simulate the pedal dance for track cars.
Luckily our cars have SSM... which has a lot of functionality of reading / writing to memory. I don't know (as i haven't tested) what is actually permitted at this time for sending. Yes it is 100% possible to do something by re-writing memory to make the ECU think that events are happening. However it may require a patch to the ecu and re-require reflashing for all I know. I am actually new to this stuff but this is in the ballpark of what I do for a living so trying to catch up isn't taking me to long. Hell a few weeks ago I had no idea what the hell SSM was, or any of these protocols, or how the port even functioned and now I have some hardware fitted and am working on attempting to communicate with the ecu.






I am personally building a hardware datalogger. Basically take the idea of Torque, P3 gauge, and the tactrix cable and put them all in a blender. I am using a small LCD/OLED that as of current is going in my driver side vent, however I may relocate to mirror, or above my steering wheel. The idea is to allow you to configure the values you want to log, and a refresh rate.

This will act like a flight recorder for the event of catastrophic engine failure, mechanical issues etc. Anything that goes wrong i can simply hit a button and it will flag that moment in the log. Logs will rotate and run indefinitely. So say my car is sputtering? great! tap the button for flagging and it will add a flag in the log it writes to the SD card. Then when i get home i can pull the SD card, throw it in my computer and look at what was going on in the ecu.

Also tied with this is a small display that will show data that I feel is relevant to me. As of current the concept is showing AFR + a small 1-5 second graph with it showing AFR over the last few seconds (to visually see spikes), knock feedback, boost, ethanol reading, and warnings.

The idea of warnings is say my oil temps hit a certain temperature? the screen will flash + a red led (which will be programable) and one of the gauges that are lower priory will be swapped out for oil temps so i can monitor. I also plan on adding a few input/output connections for 0-5v input, and whatever for output for say an intercooler sprayer.





I was tired of dealing with using my laptop day to day to check things. And then when something goes wrong i have to pull it out and i cant re-produce it. I also have a P3 gauge and its great and all but it shows one thing at a time, and i would really like to see my AFR, OIL, and knock feed back (which it doesn't even have!!) all in one place at the same time. I hate when going on spirited drives i have to shut off my AFR to see my oil temps to make sure I'm not getting things crazy warm.

So that is the basic sum of the goal of my project, hopefully i can get caught up at this project I am behind on at work so I can push lots of effort into this. At first it will be basic and just display minor bits, then logging, then ill work up and make the UI a little better and work towards input/output + easy ways to config.

I planned on starting with a small processor in an easy to use platform to start, and if i start running out of headroom I can easily port my code over to a PIC/ARM cpu that is faster to handle things. I'll know pretty quickly what this little 16mhz amtel can do here soon.
__________________
When I grow up, I wanna be God.
My flickr - Canibeat
Local magazine scout
Old Setup: Vortech Supercharged 360WHP/262WTQ @ 11.5psi
My build thread - WTF happened to nelsmar's car thread
nelsmar is offline   Reply With Quote
Old 11-09-2013, 02:39 PM   #244
ft_sjo
Banned
 
Join Date: Oct 2012
Drives: GT86
Location: The Motherland
Posts: 1,398
Thanks: 140
Thanked 473 Times in 271 Posts
Mentioned: 22 Post(s)
Tagged: 0 Thread(s)
An AVR can run an entire engine reasonably well so I'm sure it'll handle a bit of data logging just fine, as long as your code isn't shit.
ft_sjo is offline   Reply With Quote
Old 11-09-2013, 02:48 PM   #245
xjohnx
Grip>Slip
 
xjohnx's Avatar
 
Join Date: Jun 2012
Drives: 13 SWP BRZ Ltd - Innovate Powered!
Location: RVA
Posts: 3,563
Thanks: 656
Thanked 1,717 Times in 1,031 Posts
Mentioned: 45 Post(s)
Tagged: 3 Thread(s)
Quote:
Originally Posted by nelsmar View Post
^^^ this is correct.



Luckily our cars have SSM... which has a lot of functionality of reading / writing to memory. I don't know (as i haven't tested) what is actually permitted at this time for sending. Yes it is 100% possible to do something by re-writing memory to make the ECU think that events are happening. However it may require a patch to the ecu and re-require reflashing for all I know. I am actually new to this stuff but this is in the ballpark of what I do for a living so trying to catch up isn't taking me to long. Hell a few weeks ago I had no idea what the hell SSM was, or any of these protocols, or how the port even functioned and now I have some hardware fitted and am working on attempting to communicate with the ecu.






I am personally building a hardware datalogger. Basically take the idea of Torque, P3 gauge, and the tactrix cable and put them all in a blender. I am using a small LCD/OLED that as of current is going in my driver side vent, however I may relocate to mirror, or above my steering wheel. The idea is to allow you to configure the values you want to log, and a refresh rate.

This will act like a flight recorder for the event of catastrophic engine failure, mechanical issues etc. Anything that goes wrong i can simply hit a button and it will flag that moment in the log. Logs will rotate and run indefinitely. So say my car is sputtering? great! tap the button for flagging and it will add a flag in the log it writes to the SD card. Then when i get home i can pull the SD card, throw it in my computer and look at what was going on in the ecu.

Also tied with this is a small display that will show data that I feel is relevant to me. As of current the concept is showing AFR + a small 1-5 second graph with it showing AFR over the last few seconds (to visually see spikes), knock feedback, boost, ethanol reading, and warnings.

The idea of warnings is say my oil temps hit a certain temperature? the screen will flash + a red led (which will be programable) and one of the gauges that are lower priory will be swapped out for oil temps so i can monitor. I also plan on adding a few input/output connections for 0-5v input, and whatever for output for say an intercooler sprayer.





I was tired of dealing with using my laptop day to day to check things. And then when something goes wrong i have to pull it out and i cant re-produce it. I also have a P3 gauge and its great and all but it shows one thing at a time, and i would really like to see my AFR, OIL, and knock feed back (which it doesn't even have!!) all in one place at the same time. I hate when going on spirited drives i have to shut off my AFR to see my oil temps to make sure I'm not getting things crazy warm.

So that is the basic sum of the goal of my project, hopefully i can get caught up at this project I am behind on at work so I can push lots of effort into this. At first it will be basic and just display minor bits, then logging, then ill work up and make the UI a little better and work towards input/output + easy ways to config.

I planned on starting with a small processor in an easy to use platform to start, and if i start running out of headroom I can easily port my code over to a PIC/ARM cpu that is faster to handle things. I'll know pretty quickly what this little 16mhz amtel can do here soon.
sounds awesome. If you ever sold something like that, I might be interested in buying one.

I'm assuming when you press the "event" button it could be configured to also flag/save the data logged prior to the button push (say you push the button to log an event, it could be preconfigured to flag and save that entire trips log (since the last engine startup), or maybe flag/save X number of minutes that preceded the event button push, too?
xjohnx is offline   Reply With Quote
Old 11-09-2013, 03:30 PM   #246
Td-d
Garden variety obsessive
 
Join Date: Oct 2013
Drives: 2009 Sti Hatch; 2015 Audi RSQ3
Location: South Africa
Posts: 532
Thanks: 54
Thanked 448 Times in 245 Posts
Mentioned: 74 Post(s)
Tagged: 2 Thread(s)
Quote:
Originally Posted by nelsmar View Post
This will act like a flight recorder for the event of catastrophic engine failure, mechanical issues etc. Anything that goes wrong i can simply hit a button and it will flag that moment in the log. Logs will rotate and run indefinitely. So say my car is sputtering? great! tap the button for flagging and it will add a flag in the log it writes to the SD card. Then when i get home i can pull the SD card, throw it in my computer and look at what was going on in the ecu.
That's incredibly useful - I ran the onboard SD logging on the OP2 basically permanently, and with CAN logging, you could run literally up to 40 parameters without polling rate degradation. I always had logs when shit happened that I wanted to analyse The main downside is that the OP2 is not capable of timestamping - so your proposed device would be immensely useful.
Td-d is offline   Reply With Quote
Old 11-09-2013, 04:00 PM   #247
AdrianG
Generally Well Liked
 
Join Date: Aug 2013
Drives: '08 STi Hatch, '11 Outback 3.6R
Location: Ontario
Posts: 419
Thanks: 43
Thanked 197 Times in 125 Posts
Mentioned: 9 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Td-d View Post
That's incredibly useful - I ran the onboard SD logging on the OP2 basically permanently, and with CAN logging, you could run literally up to 40 parameters without polling rate degradation. I always had logs when shit happened that I wanted to analyse The main downside is that the OP2 is not capable of timestamping - so your proposed device would be immensely useful.
Is the OP2 able to log for the BRZ yet?

- AdrianG
AdrianG is offline   Reply With Quote
Old 11-09-2013, 05:08 PM   #248
Td-d
Garden variety obsessive
 
Join Date: Oct 2013
Drives: 2009 Sti Hatch; 2015 Audi RSQ3
Location: South Africa
Posts: 532
Thanks: 54
Thanked 448 Times in 245 Posts
Mentioned: 74 Post(s)
Tagged: 2 Thread(s)
Quote:
Originally Posted by AdrianG View Post
Is the OP2 able to log for the BRZ yet?

- AdrianG
Not yet, no. This was on my STI.
Td-d is offline   Reply With Quote
Old 11-09-2013, 07:34 PM   #249
nelsmar
Senior Member
 
Join Date: Feb 2013
Drives: FR-S
Location: Phoenix
Posts: 2,605
Thanks: 733
Thanked 2,361 Times in 1,031 Posts
Mentioned: 345 Post(s)
Tagged: 3 Thread(s)
Quote:
Originally Posted by ft_sjo View Post
An AVR can run an entire engine reasonably well so I'm sure it'll handle a bit of data logging just fine, as long as your code isn't shit.
Exactly. And running a display w/o a buffer on the display is where most of my resources have been going as of current. Which isn't a huge deal.

Quote:
Originally Posted by xjohnx View Post
sounds awesome. If you ever sold something like that, I might be interested in buying one.

I'm assuming when you press the "event" button it could be configured to also flag/save the data logged prior to the button push (say you push the button to log an event, it could be preconfigured to flag and save that entire trips log (since the last engine startup), or maybe flag/save X number of minutes that preceded the event button push, too?
Currently I just planned on making it log indefinitely. Hitting the button would just add a "1" or something in a column of the log file, and move it to a flagged folder.

Quote:
Originally Posted by Td-d View Post
That's incredibly useful - I ran the onboard SD logging on the OP2 basically permanently, and with CAN logging, you could run literally up to 40 parameters without polling rate degradation. I always had logs when shit happened that I wanted to analyse The main downside is that the OP2 is not capable of timestamping - so your proposed device would be immensely useful.
Yeah... dying to have this -.- And no timestamp?! EEP! I have never used OP2 personally, so I don't know a ton about it. I need to find someone that has a cable locally that I can mess with. The slowest part of dev is well other than my job killing me lately... is testing things w/o having a basis to compare to.
__________________
When I grow up, I wanna be God.
My flickr - Canibeat
Local magazine scout
Old Setup: Vortech Supercharged 360WHP/262WTQ @ 11.5psi
My build thread - WTF happened to nelsmar's car thread
nelsmar is offline   Reply With Quote
Old 11-09-2013, 11:28 PM   #250
FrX
Senior Member
 
Join Date: May 2012
Drives: 2013 Scion FR-S, 1993 Lexus SC300
Location: Houston, TX
Posts: 411
Thanks: 284
Thanked 175 Times in 102 Posts
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Garage
One of the items you can poll over SSM is the status of stuff like the defrost and cruise switches. If you want to make a note of something in particular happening to the car in the logs, you could easily add a logged channel for the switch.
FrX is offline   Reply With Quote
The Following User Says Thank You to FrX For This Useful Post:
nelsmar (11-10-2013)
Old 11-10-2013, 01:11 AM   #251
stugray
Banned
 
Join Date: Sep 2013
Drives: 2013 GBS BRZ Limited
Location: Colorado
Posts: 1,925
Thanks: 627
Thanked 1,445 Times in 711 Posts
Mentioned: 41 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by FrX View Post
One of the items you can poll over SSM is the status of stuff like the defrost and cruise switches. If you want to make a note of something in particular happening to the car in the logs, you could easily add a logged channel for the switch.
The datalogging feature of the OP2.0 defaults to start logging at "defrost on".
stugray is offline   Reply With Quote
Old 11-10-2013, 01:40 AM   #252
Td-d
Garden variety obsessive
 
Join Date: Oct 2013
Drives: 2009 Sti Hatch; 2015 Audi RSQ3
Location: South Africa
Posts: 532
Thanks: 54
Thanked 448 Times in 245 Posts
Mentioned: 74 Post(s)
Tagged: 2 Thread(s)
Quote:
Originally Posted by stugray View Post
The datalogging feature of the OP2.0 defaults to start logging at "defrost on".
Yup, but you can practically set up the logcfg.txt file to trigger on any scenario you want - like for WOT runs, I would set it up to trigger above a certain RPM, and close above another RPM.
Td-d is offline   Reply With Quote
 
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Close iJason Member's Car Journals 1 08-04-2013 09:26 PM
Close pche Engine, Exhaust, Bolt-Ons 3 08-04-2013 03:04 AM
Sorry. please close. finch1750 Scion FR-S / Toyota 86 GT86 General Forum 1 07-31-2013 02:00 AM
please close abutterman Wheels and Tires 0 07-05-2013 10:40 AM


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