Ben's messing aroung with FreeEMS-Tuner code

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

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by Fred »

whatever code you write for that will be useful to aaron for the interrogation stuff when he gets to it, so its not a waste if you were worried.
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
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by BenFenner »

I still don't have any idea what this yellow button is supposed to do. So Fred, start talkin'.
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by Fred »

When the serial monitor code is running on the hardware and my code is not, the serial communication protocol is totally different.

The idea is to not have to turn the key off to reset the device between states. And to not have to use a physical reset switch. Just to move the monitor switch and hit a button on the software.

I think I detailed the required commands in the interrogation thread and the mantis issue?

You need to start comms by sending a CR char and then turn on the COP monitor which will reset the device. Turning on the COP monitor is just a matter of writing a value to a register. The SM can write to any memory location so you can just do that and it will reset.

Sorted?

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
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by BenFenner »

Yellow button too complicated for me right now, passed on to Aaron.

Took on new task: http://freeems.aaronb.info/tracker/view.php?id=68

Tried to update my repo to the most recent version with "git merge origin/master" with minimal success.
Tried to update my repo to the most recent version with "git pull" with minimal success.

Started over with fresh clone (sort of).

Working on new feature right now and it's going well.

Clicked "fork" on gitHub and forked the project by accident. Can't figure out how to delete the fork or undo this insanity. =]
Last edited by BenFenner on Mon Nov 24, 2008 12:54 am, edited 2 times in total.
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: Ben's messing aroung with FreeEMS-Tuner code

Post by sry_not4sale »

Remember not to push from the master branch :)
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by BenFenner »

Get online Aaron. I'm in a little trouble. =P

Edit: Never mind, I've figured out how to delete this fork of mine.
sry_not4sale wrote:Remember not to push from the master branch :)
Got it. Would I ever have occasion to even be on the master branch? I seem to work from mine only.
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: Ben's messing aroung with FreeEMS-Tuner code

Post by sry_not4sale »

Ah, thought you might have since you used a fresh clone :)
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by Fred »

BenFenner wrote:Clicked "fork" on gitHub and forked the project by accident. Can't figure out how to delete the fork or undo this insanity. =]
ROFL, thanks for the morning laugh!

Thanks for helping me out 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!
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by BenFenner »

95% finished with the new memory block request tab that Fred wanted. I've pushed the changes to the master repo, but I'm pretty sure it won't work correctly now that I've heard back from Fred.

Fred says:
there is a bit in the header that says "i'm for the protocol" or "i'm for the firmware"

I need to implement that before it's going to do anything useful I think. And then it still needs a tiny bit more work, but it's Thanksgiving today in the US and I won't get much done for a while.
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Ben's messing aroung with FreeEMS-Tuner code

Post by Fred »

Cheers Ben! :-)

I'm sure it will take Aaron about 30 seconds to adjust that bit to be correct. It just needs to be the opposite to the protocol type ones that already exist in there.

I reckon even I could hack that in, I may try this evening if Aaron doesn't hook me up :-)

Thanks again,

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!
Post Reply