Page 1 of 28

FreeEMS-Tuner Development Diary - Comments

Posted: Thu Oct 23, 2008 10:23 pm
by Fred
Cool, I can't wait to try it out :-)

Fred.

Re: FreeEMS Tuner development diary

Posted: Thu Oct 23, 2008 11:00 pm
by Fred
Have you already got the escape and checksum stuff done? I'll try to get something resembling final serial code out by the end of the weekend. This weekend is going to be insane AGAIN :-(

Fred.

Re: FreeEMS Tuner development diary

Posted: Thu Oct 23, 2008 11:04 pm
by sry_not4sale
Lol don't go too crazy!

I have the basic packet stuff done yeah :D

Re: FreeEMS Tuner development diary

Posted: Thu Oct 23, 2008 11:44 pm
by sry_not4sale
Done some research and I think I have settled on gnuPlot for plotting the 3d maps :)

Re: FreeEMS Tuner development diary

Posted: Thu Oct 23, 2008 11:51 pm
by Fred
How, by making system calls to execute it?

Re: FreeEMS Tuner development diary

Posted: Fri Oct 24, 2008 12:56 am
by Fred
Cool :-) There is nothing quite like massive overkill to put a smile on my face :-)

Fred.

Re: FreeEMS Tuner development diary

Posted: Fri Oct 24, 2008 12:59 am
by sry_not4sale
Well, it will go that way eventually (if not early on) - and I don't wanna have to switch to a differently library half way through cos I have hit it's limits... :)

It seems dead simple to create, so I am thinking I will start with a full 3d graph for the tuning!

Re: FreeEMS Tuner development diary

Posted: Fri Oct 24, 2008 3:03 pm
by BenFenner
I've been waiting for this thread to pop up. Great work! I'd hoped the language might be Java (just read about TunerStudio which is up-and-coming for MegaSquirt which is Java based I believe) so that I could play with less steep of a learning curve but Python isn't foreign to me.

I have one massive hope/suggestion for the tuning software and a bunch of other minor ones. Is this the place for them?

Re: FreeEMS Tuner development diary

Posted: Fri Oct 24, 2008 3:16 pm
by Fred
I started a java one, but ran out of time due to a number of reasons. I still intend to get the basics working. I can pass it off to you at that point if you like. See JEMSTuner for that.

As for the wishes :

http://www.diyefi.org/forum/viewtopic.php?f=10&t=218
http://www.diyefi.org/forum/viewtopic.php?f=10&t=216

Try those :-)

Fred.

Re: FreeEMS Tuner development diary

Posted: Sat Oct 25, 2008 6:57 pm
by Fred
Aaron and/or Ben and anyone else :

I would VERY strongly encourage you to put a LOT of thought into configurations and firmware versioning etc. There are a few ways to go, but I'm told the tuning tool build per firmware option isn't a good one. It is one that you can guarantee no user induced bugs with though! Having stuff like the INI file in megatune is NASTY but there does need to be some form of configuration to some extent regardless.

For JEMSTuner I was thinking about a sort of dependency hierarchy where an interface version maps to one protocol, one data mapping, one config and any number of front ends map over the top of those. I'm no expert on this, but it needs to be considered carfully.

The data you will have access to is laid out in FixedConfig.c and the various tables files.

I'll be posting here again tomorrow with a few words about the new release of the firmware (if all goes well)

Fred.