FreeEMS-Tuner Development Diary - Don't Post!

Aaron Barnes' wxPython based FreeEMS tuning tool. No longer maintained and out of date with the protocol requirements.
Post Reply
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

FreeEMS-Tuner
http://tuner.freeems.org/

"Stable" development repository
http://github.com/srynot4sale/freeems-tuner/tree/master

Live development repository
http://github.com/srynot4sale/freeems-t ... e/devtrunk

Diary:

2008-10-23
- Starting setting up the project skeleton
- Got a window rendering, including menus and status bars
- Large grid now renders, will be used for showing serial communications
- Basic interface for sending/requesting data

2008-10-24
- Read through the serial docs
Last edited by sry_not4sale on Mon Sep 28, 2009 3:19 am, edited 6 times in total.
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS Tuner development diary

Post by sry_not4sale »

Screenshot:

Image
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS Tuner development diary

Post by sry_not4sale »

Next task is to get it to send basic (e.g. interface/version) requests and display both the request and acknowledgment packets in the grid.
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS Tuner development diary

Post by sry_not4sale »

It has python bindings and can be embedded and interacted with from what I have read/seen. Here it is running from python on my machine:

Image


If I can't embed it into wxPython, an alternative is Matplotlib
http://www.scipy.org/Cookbook/Matplotlib/mplot3D
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

Well, progress has stopped as I have joined the club of broken laptops. Had the same problem with it before tho so should have it fixed pretty quick.
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

2008-10-29

- Most of the FreeEMS protocol library is complete - pretty much all the code is there to send interface/firmware version requests
- The UI is now loading its layout from a customisable file (see http://www.diyefi.org/forum/viewtopic.php?f=43&t=474)

Next is to set up the serial / debugging modules - I have set up a "comms" interface that can be either for debugging, serial, or the java messaging service. Just need to fill in the logic now.
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

Config and data files are now implemented.
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

Logging to terminal, and file now works!!

Oh, and serial is go!
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

Pluggable comms backends are implemented. Built the serial plugin including error handling, and have been testing it on a virtual serial port.

Implemented the watcher pattern for comms, which lets the gui elements monitor packets.

Built up the interface utility packet classes, have a few more bits to implement - but not far now!

Could have had a working example running, but have been thinking of the future as I go and making it extensible as possible :mrgreen:
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Post by sry_not4sale »

Preparing the code for release after Fred tests!!! :D

Gui now updates showing sent packets (does not recieve packets yet)

Hardware Reset button in gui

All interface utility packets implemented!
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
Post Reply