View unanswered posts | View active topics It is currently Mon Jan 18, 2021 10:36 am



Reply to topic  [ 91 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next
FreeEMS-Loader 
Author Message
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Feb 11, 2008 10:52 pm
Posts: 549
Location: Arizona
Another idea is to come up with a way to generate a config map in flash during compile time. You might be able to do all of this from the C code with "& and sizeof()" then you just need a way to tag what type of data it is.

configPage
type/address/length
type/address/length
type/address/length

The tuner/loader can look for config params in a static location.

Anyway just an idea.

_________________
You snooze, you lose!


Thu Nov 11, 2010 10:02 pm
Profile YIM
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15376
Location: Home sweet home!
Just grabbed the latest source and built and tried. There is no file chooser in the settings tab. It might be nice to display the filename there once chosen, and also to allow geeks to type in a path, like gmail attachment USED to let you do. The reading in and verification could occur when the user hits enter, or tabs out of the box. Or when they select "ok" in a chooser dialog.

Additionally, it's nice that you have a rip button, I didn't mention that above, but it would be good to be able to use the tool to grab an image from the device in order to share that entire image with support people or other users with the same setup, as a secondary option to a tune file upload. At least then the tuning software is out of the picture and it will be byte for byte.

I also just had a wee issue with the terminal after closing the loader :

Image

IE, somehow you stole the newline out of the prompt :-/ I see it dumping ttyUSB0 which I hand entered, without a newline, perhaps use println instead of print and this will go away? I dont understand how it happened regardless of that, though.

Keep up the good work.

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!


Fri Nov 12, 2010 2:25 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15376
Location: Home sweet home!
I see your slackness has not posted in this thread. Thus I must conclude that he also hasn't read my last post, which may not even be valid anymore. This post comes to you from the mac that I've been sent for freeems testing. I have problems building this :-)

Code:
freeair:freeems-loader fred$ make
make: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.

I had a look in the Makefile and it looks generated? If so, maybe you should go with something like what Dave does for mtx and run a configure or autogen script before hand to create the makefile? In any case, I doubt the linux-g++ file should be on the mac. If I'm wrong, let me know, as I haven't installed QT4 on this machine yet.

Bang a readme in to tell us how to create it anyway :-) And if you gen the makefile, make sure you exclude the makefile from 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!


Mon Nov 22, 2010 3:41 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15376
Location: Home sweet home!
OK, built it on my eee and there were two issues, both fixed and pushed. However, I tried to break it :-)

It detects the SM correctly, and fails to detect the SM when the firmware is running, yay :-)

It should fail to detect the SM when the baud and other comms parameters are changed too, but it doesn't. I suspect that you're not using the displayed values yet? I just tried to change the port it uses, and it fails to connect, great. And after failing you can make it work, great. However once it works, you can't make it fail again, ie, connect doesn't try to reconnect, it just does nothing. I guess you should add a disconnect and grey out the connect or do a reconnect when it is pushed. Just so the UI is consistent with the behaviour.

I have no further comments, but I guess we'll see it ripping the old s19 pretty soon, which is cool :-)

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!


Mon Nov 22, 2010 6:22 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15376
Location: Home sweet home!
I just used the loader to verify operation of the boot loader switch I just installed on the MS2 that I'm building for a friend. Nice and light weight, sweet.

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!


Mon Nov 22, 2010 9:05 am
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Feb 11, 2008 10:52 pm
Posts: 549
Location: Arizona
"It should fail to detect the SM when the baud and other comms parameters are changed too, but it doesn't. I suspect that you're not using the displayed values yet? I just tried to change the port it uses, and it fails to connect, great."

It actually all works ok, its just that once it connects it doesn't reapply settings. Will fixed and get to the good stuff! Going to have the connect button flip into a disconnect button once connected.

Thx
sean

_________________
You snooze, you lose!


Mon Nov 22, 2010 9:59 pm
Profile YIM
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Feb 11, 2008 10:52 pm
Posts: 549
Location: Arizona
Fred wrote:
I just used the loader to verify operation of the boot loader switch I just installed on the MS2 that I'm building for a friend. Nice and light weight, sweet.

Fred.


Sweet its first useful run!

_________________
You snooze, you lose!


Mon Nov 22, 2010 10:00 pm
Profile YIM
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Feb 11, 2008 10:52 pm
Posts: 549
Location: Arizona
Pushed

_________________
You snooze, you lose!


Tue Nov 23, 2010 8:57 pm
Profile YIM
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15376
Location: Home sweet home!
Pulled, tested, emailed. SM detect and connect/disconnect work as advertised, well done.

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 Nov 23, 2010 10:54 pm
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Feb 11, 2008 10:52 pm
Posts: 549
Location: Arizona
Updated README. Should now build on win32, although I got a linker error on my system I will figure it out soon if someone doesn't beat me to it.

_________________
You snooze, you lose!


Wed Dec 08, 2010 12:12 am
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 91 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next

Who is online

Users browsing this forum: No registered users and 2 guests


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:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.