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 10-16-2013, 03:20 PM   #1
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)
Ok, but how does it actually WORK?!?

Ok, I have read threads all over this forum, at Romraider, injector dynamics and other places.
Watched videos on youtube, Haltech, etc.

They all explain small pieces of how to tune: Enrichment tables, MAF adjust, VE, timing advance, knock correction, VVT, etc.

However I cannot find even ONE example of how the ECU actually WORKS!
(and I dont mean: Microcontroller programming 101 - I got that)

In my business there is always a "Systems Engineering Report" that explains whole systems or various subsystems in extreme detail.

For example: Where is the equation that gives the final timing advance?
e.g.: Final_Timing = Base_timing + Table1 + Table2 + Learn_value1 - Knock_correction - Learn_value2 +/- etc, etc.
And I know there are also flow-charts and state-diagrams that are required to understand all of this.
An example state-diagram chart might be: "How the ECU transitions between OL & CL"

I would expect that most of the tuners out there have a good idea of how it works, but where is it explained on paper?

When I open a ROM in Romraider, there are very good explanations of each table/parameter, but you have to open one table at a time and read the explanation.
There is not even a list of: "Here are the most important timing tables/parameters in order of importance"

It seems the only way to learn this stuff is to just randomly click on tables and read the explanation while slowly trying to understand how each table is related to other tables.
It is kind of like putting together a jigsaw puzzle without the picture on the box...

Any books or obscure threads that give a better explanation?
I found the Online Toyota technical reference website, but you need to pay to access any data, so I dont know if what I am looking for is even there.

stugray is offline   Reply With Quote
The Following 2 Users Say Thank You to stugray For This Useful Post:
DriftEightSix (10-16-2013), u/Josh (10-17-2013)
Old 10-16-2013, 03:25 PM   #2
robot
There are now 2 carseats!
 
Join Date: Nov 2012
Drives: 2013 DGM BRZ
Location: The Emerald City
Posts: 434
Thanks: 21
Thanked 166 Times in 75 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
https://sites.google.com/site/asubie...gguide/ver-1-0

It's not for this ECU, but will give you a better idea.
robot is offline   Reply With Quote
The Following 7 Users Say Thank You to robot For This Useful Post:
bfrank1972 (10-16-2013), boxer 2.5 (10-17-2013), glorydays (10-17-2013), mike_ekim1024 (10-17-2013), muffinz (10-17-2013), Sarlacc (10-17-2013), stugray (10-16-2013)
Old 10-16-2013, 03:49 PM   #3
Circuit Motorsports
Senior Member
 
Circuit Motorsports's Avatar
 
Join Date: Jan 2012
Drives: 2013 Subaru BRZ
Location: Orlando, FL
Posts: 4,353
Thanks: 294
Thanked 495 Times in 259 Posts
Mentioned: 35 Post(s)
Tagged: 2 Thread(s)
Send a message via AIM to Circuit Motorsports
This is why tuners are paid a lot of money to tune cars

It's learned through either trial and error, hours upon hours of studying maps and research, or direct training through classes or shadowing another tuner.

There is a small community of educated Opensource tuners who will share info, but you would be hard pressed to find an experienced tuner to just sit there and teach you how to tune. There are some good resources out there though, as posted above. Get reading for lots of reading!
Circuit Motorsports is offline   Reply With Quote
The Following User Says Thank You to Circuit Motorsports For This Useful Post:
stugray (10-16-2013)
Old 10-16-2013, 04:39 PM   #4
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)
Thanks for the responses! The link above is perfect!

Quote:
Originally Posted by Circuit Motorsports View Post
It's learned through either trial and error, hours upon hours of studying maps and research, or direct training through classes or shadowing another tuner.
I understand that. But I am positive that somewhere there is a software description document for how the ECU manages the engine. If Toyota hires a new engine management engineer, I am sure they just dont tell him to go look over the shoulder of one of the other engineers. I am guessing that the info is considered proprietary and even toyota mechanics are only given the information on a need-to-know basis.

I "tune" spacecraft for a living so I get how information must be held as proprietary (I could tell you all about it but then I'd have to shoot you ;-)
That is where I got my ECU/CPU & Software experience, but my "vehicles" are sometimes worth a Billion dollars each
stugray is offline   Reply With Quote
Old 10-16-2013, 04:41 PM   #5
jamesm
Banned
 
Join Date: Mar 2013
Drives: 2013 FR-S
Location: Orlando, FL
Posts: 2,929
Thanks: 1,166
Thanked 2,293 Times in 1,180 Posts
Mentioned: 313 Post(s)
Tagged: 4 Thread(s)
i think what you're looking for is like an architecture diagram, which you aren't going to get unless the manufacturer decides to give you one (yeah right!). the info is all out there ready to be consumed, but no one has gone through the trouble of aggregating it all and making it easy on you. google is your friend.
jamesm is offline   Reply With Quote
The Following User Says Thank You to jamesm For This Useful Post:
stugray (10-16-2013)
Old 10-16-2013, 05:34 PM   #6
Circuit Motorsports
Senior Member
 
Circuit Motorsports's Avatar
 
Join Date: Jan 2012
Drives: 2013 Subaru BRZ
Location: Orlando, FL
Posts: 4,353
Thanks: 294
Thanked 495 Times in 259 Posts
Mentioned: 35 Post(s)
Tagged: 2 Thread(s)
Send a message via AIM to Circuit Motorsports
Quote:
Originally Posted by stugray View Post
Thanks for the responses! The link above is perfect!



I understand that. But I am positive that somewhere there is a software description document for how the ECU manages the engine. If Toyota hires a new engine management engineer, I am sure they just dont tell him to go look over the shoulder of one of the other engineers. I am guessing that the info is considered proprietary and even toyota mechanics are only given the information on a need-to-know basis.

I "tune" spacecraft for a living so I get how information must be held as proprietary (I could tell you all about it but then I'd have to shoot you ;-)
That is where I got my ECU/CPU & Software experience, but my "vehicles" are sometimes worth a Billion dollars each
Yeah, the manufacturers go to great lengths to not only keep that info secret, but try and mske their ECU's "unbreakable" so that tuners can't get ahold of it and modify it.

I'll keep you in mind for Spacecraft tuning, I hear some shuttles just got retired and may be on the used market soon
Circuit Motorsports is offline   Reply With Quote
Old 10-16-2013, 05:58 PM   #7
bfrank1972
Senior Member
 
Join Date: Jul 2013
Drives: 2013 FR-S Argento
Location: Westport,CT
Posts: 1,855
Thanks: 517
Thanked 1,041 Times in 616 Posts
Mentioned: 7 Post(s)
Tagged: 1 Thread(s)
Quote:
Originally Posted by robot View Post
https://sites.google.com/site/asubie...gguide/ver-1-0

It's not for this ECU, but will give you a better idea.
OOh some fun reading material for the commute home tonight!
bfrank1972 is offline   Reply With Quote
Old 10-16-2013, 06:31 PM   #8
qoncept
Senior Member
 
qoncept's Avatar
 
Join Date: May 2013
Drives: 2013 BRZ
Location: Iowa
Posts: 928
Thanks: 135
Thanked 298 Times in 202 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by stugray View Post
But I am positive that somewhere there is a software description document for how the ECU manages the engine.
Meh.. there's a TON of "here's how this piece works."

This would be a good place to start.
http://romraider.com/forum/viewforum.php?f=15
__________________
qoncept is offline   Reply With Quote
The Following User Says Thank You to qoncept For This Useful Post:
mad_sb (10-21-2013)
Old 10-16-2013, 08:36 PM   #9
arghx7
Senior Member
 
Join Date: Nov 2011
Drives: car
Location: cold
Posts: 599
Thanks: 72
Thanked 611 Times in 185 Posts
Mentioned: 33 Post(s)
Tagged: 0 Thread(s)
Way back in the day the actual software code was written in a language like C. Over the past 10-15 years everything has moved towards Matlab. So basically, somebody inside Toyota or Subaru or whoever writes Matlab code. Then it eventually turns into a .bin or .s19 binary file (depending on the instruction set) with a .a2l description of the various tables and maps. This is analogous to what you have with ECUFlash, Rom Raider, etc with the raw ECU file and a .xml to define certain maps. Except if you work for the OEM and have the right security clearance, you can literally see every single entire map and RAM value in the ECU. That doesn't mean you know what to do with it though.

In my experience, Japanese companies are especially secretive about their control logic. They don't leave very good documentation and concentrate it in the minds of a core group of team members. Remember that there is limited turnover in Japanese companies so they can count on those individuals sticking around for a while.

American companies are more "process oriented" i.e., some managers think they can make the engineers "replaceable" by documenting how the ECU works and how to tune it. The work is also more divided up--you might have a cold start tuner, a throttle mapping tuner, a spark tuner, etc. This works fine for carryover engine technology (sticking some existing engine in a new vehicle). New code and methods have to be made up for advanced projects and can't be done by someone with no experience.

Even when you can see the actual block diagrams spit out from Matlab, it's not entirely intuitive to look at. It's more of reference material if you need to look at how changing some value might affect something else.
arghx7 is offline   Reply With Quote
The Following 5 Users Say Thank You to arghx7 For This Useful Post:
Amadeus (10-16-2013), jamesm (10-16-2013), stugray (10-16-2013), uspspro (10-16-2013), Wepeel (10-17-2013)
Old 10-16-2013, 08:58 PM   #10
Shiv@Openflash
Senior Member
 
Shiv@Openflash's Avatar
 
Join Date: Sep 2013
Drives: 2013 FRS
Location: SF, CA
Posts: 2,629
Thanks: 1,055
Thanked 5,470 Times in 1,494 Posts
Mentioned: 605 Post(s)
Tagged: 9 Thread(s)
Quote:
Originally Posted by Circuit Motorsports View Post
This is why tuners are paid a lot of money to tune cars

It's learned through either trial and error, hours upon hours of studying maps and research, or direct training through classes or shadowing another tuner.

There is a small community of educated Opensource tuners who will share info, but you would be hard pressed to find an experienced tuner to just sit there and teach you how to tune. There are some good resources out there though, as posted above. Get reading for lots of reading!
Not that hard pressed
Shiv@Openflash is offline   Reply With Quote
The Following 4 Users Say Thank You to Shiv@Openflash For This Useful Post:
boxer 2.5 (10-17-2013), jamesm (10-16-2013), mad_sb (10-21-2013), stugray (10-16-2013)
Old 10-17-2013, 12:52 AM   #11
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 arghx7 View Post
Way back in the day the actual software code was written in a language like C. Over the past 10-15 years everything has moved towards Matlab. So basically, somebody inside Toyota or Subaru or whoever writes Matlab code. Then it eventually turns into a .bin or .s19 binary file (depending on the instruction set) with a .a2l description of the various tables and maps. This is analogous to what you have with ECUFlash, Rom Raider, etc with the raw ECU file and a .xml to define certain maps. Except if you work for the OEM and have the right security clearance, you can literally see every single entire map and RAM value in the ECU. That doesn't mean you know what to do with it though.
Sounds just like how we build applications in matlab or labview in the development environment and get the bugs out, then we turn it into an *.exe file before releasing it to the "production" environment.

Quote:
Originally Posted by arghx7 View Post
American companies are more "process oriented" i.e., some managers think they can make the engineers "replaceable" by documenting how the ECU works and how to tune it. The work is also more divided up--you might have a cold start tuner, a throttle mapping tuner, a spark tuner, etc. This works fine for carryover engine technology (sticking some existing engine in a new vehicle). New code and methods have to be made up for advanced projects and can't be done by someone with no experience.
In my business (we sell software solutions to defense & NASA), the software development MUST follow software processes defined by ISO and DOD. We MUST document everything and requirements are meticulously defined & tested. So we cannot do anything without the proper documentation. So I bet the documentation is out there, but even if you had the Toyota FA20 SVDD (Software version description document), you would not make that public or you could get in trouble from Toyota.

Does anyone here have access to the Toyota Technical Information System (TIS)?

It would be interesting to know what documentation is available for training.

https://techinfo.toyota.com/techInfo...M20S0U%2Fxhtml
stugray is offline   Reply With Quote
Old 10-17-2013, 01:04 AM   #12
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 shiv@vishnu View Post
Not that hard pressed

A vacation to SF would be awesome. hmmm..... My wife has been wanting to see NAPA & the redwoods....
Maybe a BRZ roadtrip is in order...
stugray is offline   Reply With Quote
Old 10-17-2013, 01:06 AM   #13
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 stugray View Post
Sounds just like how we build applications in matlab or labview in the development environment and get the bugs out, then we turn it into an *.exe file before releasing it to the "production" environment.



In my business (we sell software solutions to defense & NASA), the software development MUST follow software processes defined by ISO and DOD. We MUST document everything and requirements are meticulously defined & tested. So we cannot do anything without the proper documentation. So I bet the documentation is out there, but even if you had the Toyota FA20 SVDD (Software version description document), you would not make that public or you could get in trouble from Toyota.

Does anyone here have access to the Toyota Technical Information System (TIS)?

It would be interesting to know what documentation is available for training.

https://techinfo.toyota.com/techInfo...M20S0U%2Fxhtml
Interesting find. It looks like Joe Schmoe can buy a 2 day subscription for $55 and get access to TechStream w/ ECU flashing functionality and the latest ECU rom's from toyota. Might be a good alternative for those of you that want the updated maps but don't want an aftermarket reflash.
xjohnx is offline   Reply With Quote
Old 10-17-2013, 01:27 AM   #14
u/Josh
Senior Member
 
Join Date: Jan 2013
Drives: GBS Limited 6MT
Location: Phoenix
Posts: 200
Thanks: 186
Thanked 69 Times in 42 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by arghx7 View Post
Way back in the day the actual software code was written in a language like C. Over the past 10-15 years everything has moved towards Matlab. So basically, somebody inside Toyota or Subaru or whoever writes Matlab code. Then it eventually turns into a .bin or .s19 binary file (depending on the instruction set) with a .a2l description of the various tables and maps.
I am shocked to hear that the ecu is running essentially matlab code. Do you have a link for more information on this?
u/Josh 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
WORK Emotion Wheels ** Winter Promotion || Free WORK Lugs or WORK Caps ** RavSpec Wheels and Tires 18 12-10-2013 06:19 PM
18x9.5 +38 Work Emotion CR kai Work Metal Buff Jive Turkey Wheels and Tires 22 05-20-2013 02:54 AM
Work Emotion CR Kiwami Bronze 18x8.5 +47 18x9.5 +38 (5x100) w/tires + Work lug nuts serial gixxer Wheels and Tires 41 03-29-2013 04:14 AM


All times are GMT -4. The time now is 04:51 PM.


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.