View unanswered posts | View active topics It is currently Fri Nov 24, 2017 11:19 pm



Reply to topic  [ 32 posts ]  Go to page 1, 2, 3, 4  Next
EMStudio, YATA(Yet Another Tuning Application)(was FreeTune) 
Author Message
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
So I started working a bit on a Qt/c++ based datalog/live display application for FreeEMS. I eventually want to also work tuning into this application.

I started playing around with this about a week ago, fiddling around with just playing back logs with a lot of help from Fred fortunately, which made it go very quickly. He did a bit of explaining about the serial protocol involved, so with that and the OLV source code for value reference I managed to get the ability to listen to live data integrated. The serial code wasn't quite working properly though, and Fred tried it a couple of times for me without success. I happened to be in the Phoenix AZ area, and seank-efi graciously offered to let me stop by and check out his FreeEms setup. Once I got there, he showed me the hardware and let me attempt to connect to it on the bench with my application. Some thorough debugging later and I got live data to read properly! We took a video of the software running next to his dev board on top of the car http://www.youtube.com/watch?v=ZeYnkznv ... e=youtu.be

Seeing this, made me even more enthusiastic about FreeEms and pretty much sealed the deal for me using this in my car. So I've decided to continue development of FreeTune, and hopefully have it become a truly useful cross platform datalogging and tuning application.

Official name is now EMStudio, and official website is http://www.emstune.com (emstudio.com was taken damnit)

Windows 32bit installer: (Recommend getting that latest, always at the top)
http://mikesshop.net/EMStudio/

Source code:
http://github.com/malcom2073/emstudio

Website:
http://www.emstune.com

If I haven't gotten to putting the notice in by the time this post gets read, it is, and always will be GPLv2. I may extract the base communications library to be lgpl if I see a need, but at the moment it will remain a core part of the main application.

And as another note, until further notice, master branch is considered unstable, until I have an actual stable code base to go off of, then I'll branch off for development. I expect that's going to be a month or so. Feel free to hit me up here or on irc (mal|lappy) if you're interested in using it, or just give it a shot. I can't guarantee it won't ruin your tune or corrupt your memory until it's considered stable, but if you talk to me first I can probably advise you as to the dos and don'ts. Eg: don't use the "write ram block" button, it's not correctly set up yet!!, course there isn't one yet but that sort of thing.

_________________
EMStudio
Interesting Stuff
My Car


Last edited by malcom2073 on Sat Jun 16, 2012 12:26 am, edited 3 times in total.



Tue May 08, 2012 2:22 am
Profile WWW
QFP80 - Contributor
User avatar

Joined: Sat Mar 31, 2012 6:01 pm
Posts: 79
Location: Hong Kong
excellent to hear about the new tune/log app! :D :D :D

malcom2073 wrote:
Seeing this, made me even more enthusiastic about FreeEms


So am I. :lol2: :lol2:


Tue May 08, 2012 4:50 am
Profile ICQ WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14879
Location: Home sweet home!
malcom2073 wrote:
I can't guarantee it won't ruin your tune or corrupt your memory

I can! Well, at least the memory part. You can't access memory directly, only through my gateway with lots of checks. You'd have to get quite (un)lucky to send garbage to a main table AND have it make it in successfully.

New name idea: 24Tuner why? Because you wrote the working base in 24 hours :-o

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue May 08, 2012 9:27 am
Profile WWW
LQFP112 - Up with the play
User avatar

Joined: Thu Feb 10, 2011 12:27 am
Posts: 232
Location: Auckland, NZ
Hi Malcom2073

Great job.

One tip for people trying to compile it.

do

EDIT: Do NOT do the -project qmake execution, it is not necessary most of the time and can/will break your build. Fred.
Code:
 qmake -project << don't do this, normally.
qmake
 make


If you get this error

Code:
fatal error: QDeclarativeItem: No such file or directory


then you need to add
Code:
QT += declarative
to the freetune.pro file.

I don't know why qmake doesn't add this automatically.

I think that you will also need at least QT 4.7. I am testing it on 4.8.


Great work. Keep it up.

Lots of cool graphs please. Data logging is my bag baby :D

edit: added qmake


Last edited by Fred on Tue Jul 10, 2012 3:32 am, edited 3 times in total.

Clarify code snippet validity.



Thu May 10, 2012 8:53 pm
Profile
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
Spudmn wrote:
Hi Malcom2073

Great job.

Thanks! :-D
Spudmn wrote:
One tip for people trying to compile it.

do
Code:
 qmake -project
 make


If you get this error

Code:
fatal error: QDeclarativeItem: No such file or directory


then you need to add
Code:
QT += declarative
to the freetune.pro file.

I don't know why qmake doesn't add this automatically.

That's my bad, I'll fix that. Not sure why it's assumed on my machine, but it should be there regardless.

Spudmn wrote:
I think that you will also need at least QT 4.7. I am testing it on 4.8.

Right, at least 4.7.0. I use 4.8.0 as well

Spudmn wrote:
Great work. Keep it up.

Lots of cool graphs please. Data logging is my bag baby :D

Thanks again! graphs are pretty low on the list, since OLV will be able to load logs that you take with FreeTune.

_________________
EMStudio
Interesting Stuff
My Car


Thu May 10, 2012 9:29 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14879
Location: Home sweet home!
IMO: Tuner should focus on tuning, gauges/bar graphs, on/off lights, overlays, real time stuff. Log viewer/post analysis should do fancy display of old data over time. OLV will eventually grow into something fairly powerful for looking at recorded data. I think it dilutes a tuner to handle that too.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Fri May 11, 2012 12:14 am
Profile WWW
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
Development Windows binaries will be built here: http://mikesshop.net/FreeTune/

I can't guarantee they will work, so talk to me before trying one, they're automatically built as I commit changes in the development branch.

_________________
EMStudio
Interesting Stuff
My Car


Wed May 16, 2012 12:30 am
Profile WWW
QFP80 - Contributor
User avatar

Joined: Sat Mar 31, 2012 6:01 pm
Posts: 79
Location: Hong Kong
Installed in winxp32. a VC++ library was missing.
need install this as well
http://www.microsoft.com/en-us/download ... px?id=5555


Wed May 16, 2012 6:04 am
Profile ICQ WWW
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
Kennybug wrote:
Installed in winxp32. a VC++ library was missing.
need install this as well
http://www.microsoft.com/en-us/download ... px?id=5555


Good catch, forgot to mention that. I'll see about adding that to the installer.

_________________
EMStudio
Interesting Stuff
My Car


Wed May 16, 2012 10:28 am
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Mar 02, 2010 2:33 pm
Posts: 1201
Location: Australia
and for those like me who have 64-bit windows!

http://www.microsoft.com/en-us/download ... x?id=14632


Thu May 17, 2012 8:18 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 32 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.