FreeEMS-Tuner Development Diary - Comments

Aaron Barnes' wxPython based FreeEMS tuning tool. No longer maintained and out of date with the protocol requirements.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

I've used it and it sends packet like stuff that seems to not work. The red button breaks some of my code instead of resetting. Not sure if its your fault or mine, but we'll know very soon :-)

The big red button is UBER cool though :-)

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!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

I'll see what I can manage tonight. I'm an hour late home though and really want to put out a new release of the firmware. I also want to try your stuff and play with GIT too.

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!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

http://i260.photobucket.com/albums/ii15 ... -comms.png

Well done mate! :-)

Works a charm.

Two reset packets sent, one with each mechanism.

This is talking to the old code for now. I have no idea why, but the new code reset is still shagged and I need to solve that.

Packet structure hasn't changed with my messing around though. I still need to tidy up some loose ends on the ECU side. No release tonight, but perhaps I can get something with some functionality out by the end of the weekend.

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!
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by jharvey »

So I wanted to test the red button, I found the git thing, but when I clicked download, it didn't appear to do anything. I'm not logged in, do I need to be? Could it be a browser bug, I'm using opera.

Thoughts?
shameem
LQFP112 - Up with the play
Posts: 135
Joined: Thu May 01, 2008 6:30 pm
Location: Ann Arbor, MI
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by shameem »

For windows machines -

EDIT: You may need to this on certain windows machines - so go ahead and install it first
http://www.microsoft.com/downloads/deta ... laylang=en


This step is optional-
http://code.google.com/p/msysgit/
(http://kylecordes.com/2008/04/30/git-windows-go/)

If you dont want to mess with git just go to this page and download all the files (preserving the directory structure) - this is the source code......
http://github.com/srynot4sale/freeems-tuner.git/

Install python (all 3 packages needed) -
http://www.python.org/ftp/python/2.6/python-2.6.msi
http://downloads.sourceforge.net/wxpyth ... 1-py26.exe
http://sourceforge.net/project/download ... e&14958221

And then go to the directory where you downloaded the source code and double click on main.py - for me that actually leads to a crash - so i right click and select "Edit with IDLE" and then choose run from the menu....
Last edited by shameem on Thu Nov 06, 2008 9:22 pm, edited 1 time in total.
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by jharvey »

I'll do that when I get home, I also see you note python 2.6, I just downloaded 2.5 because the wiki notes 2.5. Perhaps the wiki could note 2.5,2.6 indicating what versions it works with?
shameem
LQFP112 - Up with the play
Posts: 135
Joined: Thu May 01, 2008 6:30 pm
Location: Ann Arbor, MI
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by shameem »

I downloaded 2.6 because that's the latest version that can work with wxpython and pywin32....
For 2.5 - wxpython 2.5 compatible and pywin32 2.5 compatible should be used....
Python latest release is 3.0 or something like that.....
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by BenFenner »

Thanks shameem for those instructions for us Windows users. May I add that the PyWin installation package does not like to install unless it is run from the Python installation directory. I had to move mine to get it to work. Maybe add that to your instructions for us knuckle draggers.
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by BenFenner »

Trying to run FreeEMS-Tuner after following shameem's instructions and I'm getting the following error when I try to "Edit with IDLE" then Run.
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************

IDLE 2.6 ==== No Subprocess ====
>>>
Traceback (most recent call last):
File "C:\Apps\FreeEMS-Tuner\main.py", line 28, in <module>
import data, config, logger, protocols, gui, comms
File "C:\Apps\FreeEMS-Tuner\gui.py", line 21, in <module>
import wx
File "C:\Python26\lib\site-packages\wx-2.8-msw-ansi\wx\__init__.py", line 45, in <module>
from wx._core import *
File "C:\Python26\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py", line 4, in <module>
import _core_
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

>>>
This is with WxPython (ANSI) installed. I first tried with WxPython (UNICODE) installed and got basically the same error.
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************

IDLE 2.6 ==== No Subprocess ====
>>>
Traceback (most recent call last):
File "C:\Apps\FreeEMS-Tuner\main.py", line 28, in <module>
import data, config, logger, protocols, gui, comms
File "C:\Apps\FreeEMS-Tuner\gui.py", line 21, in <module>
import wx
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", line 45, in <module>
from wx._core import *
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 4, in <module>
import _core_
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

>>>
Just trying to join the fun. =/
Last edited by BenFenner on Thu Nov 06, 2008 9:06 pm, edited 1 time in total.
shameem
LQFP112 - Up with the play
Posts: 135
Joined: Thu May 01, 2008 6:30 pm
Location: Ann Arbor, MI
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by shameem »

That's odd - for me it installs right out of desktop - i just tried it in a different computer and it works there too.....

Looking at your error msgs - it seems wxpython is somehow not installing properly .... it cant find its core dll...

Can you uninstall everything and do a clean install.....

Also unicode version is recommended ... i think...
Post Reply