Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Innovate plugin for Hayabusa


Guru

Status: Offline
Posts: 2338
Date:
Innovate plugin for Hayabusa


Have received a few questions on this, so here you are....

As part of the excersise of making a tuning tool suite for Hayabusa I wrote an innovate plugin for hayabusa. Initial code was based on ecueditor and particularly the gaugedata module of ecueditor - so this code package contains a lot of code that can be disgarded. Also please remember that this ecueditor code contaned as part of the innovate plugin is very early version and contains a lot of errors - but not affecting the innovate pluging as such.

Anyway the source code can be found here as a full VB2005 programming environment (you can download the free VB2008 from micro:
http://busaecu.redirectme.net/source

The basic idea is very simple:

ECU TTL -> PC with plugin software -> innovate MTS stream RS232

The PC with plugin software reads ECU parameters using the ECU protocol and writes them to innovate MTS stream as the first device in the stream.

This small program really has only one subroutine datastream.vb that one should look more carefully. It handles both reading the ECU and writing to the MTS datastream. It utilizes a standard VB timer to read and write the data - and for any VB programmer I would like to remind that VB timers are very inaccurate.

Commercial utilization of this source code is strongly forbidden without a prior consent. Any open source projects are free to utilize this code as long as the orignal source is credited.



__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom

hma


Newbie

Status: Offline
Posts: 1
Date:

Firstable, big thanks to Petri. We're looking to implement the same functionality with SAAB Trionic ECU's which we've been actively hacking with for some time now at www.ecuproject.com.

__________________


Guru

Status: Offline
Posts: 2338
Date:

Latest version of the hayabusa innovate plugin source is updated to the directory above.


__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 741
Date:

PetriK wrote:

Latest version of the hayabusa innovate plugin source is updated to the directory above.



CAN'T DOWNLOAD THE LATEST VERSION. "application cannot be started. contact the application vendor"



__________________


Guru

Status: Offline
Posts: 2338
Date:

Had a problem with download link. Should be ok now - please report back if not.


__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 741
Date:

just tried it same problem......

__________________


Guru

Status: Offline
Posts: 741
Date:

PetriK wrote:

Had a problem with download link. Should be ok now - please report back if not.




ok! got it working now Petrik, had to first remove the older version then download the newer one...smile 



__________________


Guru

Status: Offline
Posts: 741
Date:

Hey Petrik the plugin works great in loggin stock ecu parameters to my DL-32, is there a way for me to log the stock ECU data stream to the DL-32 without the laptop?



__________________


Guru

Status: Offline
Posts: 2338
Date:

Hi - unfortunately not. It would require a specific module in between ecu and DL32. That is doable and I can assist is someone wants to write a small microcontroller based module software.

Btw the in the current plugin the ignition advance is miscalculated. I tried a new formula, but with measuring light it proved out to be too aggressive.



__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 741
Date:

THANKS PETRIK, SOUNDS PROMISING.



__________________
YAG


Veteran Member

Status: Offline
Posts: 50
Date:

PetriK,

I would like to look into the possibility of building a module that could be plugged into and left on the bike for reflashing and logging to the Innovate DL-32. Some microcontrollers have USB built in so it could be used for the interface to the computer with a simple USB cable, but I'm not sure how tied in your software is when it comes to FTDI... what would be a good starting point with this?

__________________


Guru

Status: Offline
Posts: 2338
Date:

The software checks for presense of FDTI adapter because of the very specific baud rate that it requires and which is not supported many other UARTs. Anyway for your applciation what you need is somehting like a a microprosessor with serial in and 2 serial out and some software in between. You need serial out to output temperature gauge data. The other serial out is an output to MTS chain which needs to be converted to 12V RS232 spec data stream.

The source code for full innovate plucing including engine data protocol is available in the link above as soon as I have time to read the GPLv3 terms and insert these licensing terms into the files. The innovate plugin for hayabusa source code is most likely available under open source GPLv3 license terms. (Thanks for some of you guys pointing out for the need to add the licensing to the files for clarity - could really have spent the time doing something more useful.)

This is doable and I started to write something alike earlier this year on a renesas sh7086 prosessor card with an intention to put it on a sh series Renesas stamp card - but ended up putting all the efforts into writing Hayabusa ECUeditor for dyno use. The DL32 I have is hardwired to ECU wiring.








__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom

YAG


Veteran Member

Status: Offline
Posts: 50
Date:

Hi PetriK,

Any update on this? I would really like to get a copy of the source code.

__________________


Guru

Status: Offline
Posts: 2338
Date:

I need to test a couple of new things implemented on ECUeditor and then can focus on this. Also noticed a new formula for temperature calculations that RR has put in public for us to use. Need to check that one too. The current formula in software is based on knowing the atmospheric temperature and engine running temperature and adjusted accordingly. In the latest version I also had added the fahrenheit conversion.




__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom

YAG


Veteran Member

Status: Offline
Posts: 50
Date:

I am running into a problem when using logworks... the IAP is only showing between 50-0 on my logs instead of 120-0... changing the scale to 120-0 only makes the data inaccurate as it simply rescales it to the 0-5 volt reference range. Anyone else having this problem or know of a solution?

__________________


Guru

Status: Offline
Posts: 2338
Date:

The latest vesion source code is now avail. Have fun !



__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 1344
Date:

thanks petrik!

__________________

09 busa.????? now what....still got what it takes.......!

I got what you need...!
www.poweredbyford.com

www.marc@poweredbyford.com

 

YAG


Veteran Member

Status: Offline
Posts: 50
Date:

YAG wrote:

I am running into a problem when using logworks... the IAP is only showing between 50-0 on my logs instead of 120-0... changing the scale to 120-0 only makes the data inaccurate as it simply rescales it to the 0-5 volt reference range. Anyone else having this problem or know of a solution?




 

So has anyone else had this problem?

-- Edited by YAG at 23:47, 2008-11-30

__________________


Guru

Status: Offline
Posts: 741
Date:

I NOTICE THE SAME THING AS WELL YAG.

__________________


Guru

Status: Offline
Posts: 2338
Date:

Never used it this way - sorry can not help you - unless you have one way valve in your system. Please check what I wrote to zxalan on this.

Anyone planning to use the source code ? Please keep me posted and keep the code developed open source too.



__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom

YAG


Veteran Member

Status: Offline
Posts: 50
Date:

It reads fine when it is in ECU editor and I'm watching the screen, but when I use the Innovate plugin and log with the laptop, it doesn't log the full range. It is a problem with the plugin.

I haven't had time to dig into it just yet... not going to be developing the source any, just using it as a reference for seeing if it is worth it to figure out some hardware that will log the data stream to the Innovate MTS instead of having to cart around a laptop if you want to do on the road tuning.

__________________


Guru

Status: Offline
Posts: 963
Date:

I think the real answer is to get the ECU to stream Innovate directly. From what I remember of the spec if you made the ECU the first unit in the chain it need only send data, not receive, append, and transmit packets from other units.

The only real issue with this it seemed to me was the 1.8mS time interval between packets. What would happen if it only sent them every 2mS or 5mS? Would it still log? Would it screw up the timestamp of the log?

Since all the down stream devices wait to receive a packet from an upstream device, append their own data then send a packet downstream to the next device. What happens if the most up stream device only sends slower than 1.8mS? Do they timeout, throw errors or what?

__________________


Guru

Status: Offline
Posts: 2338
Date:

The plugin shows the values on the screen. What happens to those when you do the "sucking test" using innovate plugin ?

The source code is there for free now, just fix any issues in it and repost a fixed code if that is the source of the problem.

---------------------

RR, the MTS chain timing events are very controlled and protocol assumes that you need to take in a primary request then add requested values to the chain and pass it forward - otherwise you can not use this with older devices like LM1 that some are still using. Its doable to put this in the ecu, but requires RS232 (12V) hardware interface and a control logic that is written based a spec.

Using the PC based program makes things easier as the MTS SDK does all the protocol work on behalf of the user and you can just write values to that.

The spec is avail for anyone willing to write a device to the MTS chain.

I agree with RR, the way is to put this to ECU because otherwise you need to find a way to control the temperature gauge and get the serial protocol reset to ecu protocol to work.


__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom

Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard