Just this week the pieces were put together to allow real-time tuning of the ECU as the engine runs. The interface is command line right now, but allows any location in memory to be adjusted including all tables, thresholds and settings, and the code too so you have to be careful or something crazy can happen.
The interface is also moving forward, it is called toyotune. The video uses toyotune as the datalogger at the end. This will also be the app for tuning the ECU maps and so on, but it is not finished quite yet.
The video shows a simple example where the value of the target idle speed is changed, and then the engine idle speed is shown slowly adjusting to the new target. The factory ECU adjusts idle speed very slowly, so it take a good 20 seconds to move to the new speed after its changed.
Since this is an A/T ECU, there are actually 4 target idle speeds depending on conditions:
Map_IdleRPM:
40h ; 600 rpm AC off, DRL2
50h ; 650 rpm AC off, PN
60h ; 700 rpm AC on, DRL2
0A0h ; 900 rpm AC on, PN
We are adjusting the map value for AC off, transmission in PN, which is normally 650 rpm (table hex value 50h)
It is then set to 900 rpm (hex value A0h ) which causes the speed to ramp up, then its set back to 650 rpm.
A dumb little example, but easy to video. Remember though, anything can be adjusted this way, timing/fuel maps, knock map, fuel cut, warm up targets, fuel cut, injector scaling, you name it!
Right now, there is a glitch so every time a value is set the engine briefly misses. You can see the spikes in the datalog and the tach jumps visibly at the slower 650 rpm. We are working on a fix for that right now.
[video=youtube;ZWlinwIdNYE]http://www.youtube.com/watch?v=ZWlinwIdNYE[/video]