The Ultimate Loader

Reference implementations of various tools for use with FreeEMS. Written in Java for my personal use, they're 100% cross platform, 100% compatible and 100% reliable with thorough test coverage.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: The Ultimate Loader

Post by Fred »

I've broadened my functional test suite for the app and libs and discovered a few weaknesses that could make it more generally useful if fixed. It's relatively minor to fix them, and recognising them is required for reliable handling of the various different formats anyway, even if I don't support some. I've also uncovered a few new tricks which is at the least interesting, and at best very useful. More to come :-)
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: The Ultimate Loader

Post by Fred »

A bit less ugly than before:

Code: Select all

fred@cheetah:~/workspaces/eclipse/serial-monitor$ java -jar demoUL.jar 
Welcome to the UltimateLoader experience!
Got 0 arguments with wrong structure! Usage:

About this version: java -jar demoUL.jar about
Check firmware:     java -jar demoUL.jar <firmware.s19>
Load firmware:      java -jar demoUL.jar <firmware.s19> <serial device>
Fast load firmware: java -jar demoUL.jar <firmware.s19> <serial device> noverify
Rip device to file: java -jar demoUL.jar <serial device>
Erase device only:  java -jar demoUL.jar <serial device> erase only

Note: Valid S19 file extensions: {s19, s28, s37, s1, s2, s3, sre, srec, mot, abs}
Note: S19 file arguments may also be supplied gzipped with extra .gz suffix
Note: Serial devices are in the form COM1 on Windows and /dev/ttyUSB0 on Linux

Thank you for supporting FreeEMS!
Planning to totally overhaul the CLI stuff, as it's a bit patchy right now, though that can wait till after more robustness and features are added.

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: The Ultimate Loader

Post by Fred »

FYI, this app, and all others that I make will require a Java6 JRE, or newer. I played around with 1.5 bins tonight, but it would require too much change to not use some J6 features. Thanks to my secret tester for trying it on an old Mac. I can't even get J5 for Debian now anyway... so it's pretty obsolete, especially with J8 on the Horizon.
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: The Ultimate Loader

Post by Fred »

The UltimateLoader is now tested on OS X! It worked with both cu. and tty. versions 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
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: The Ultimate Loader

Post by Fred »

Fred wrote:Expect some unique and desirable features to be present in it.
One of these is now present and functioning nicely. :-)
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: The Ultimate Loader

Post by Fred »

I wish I knew what the last post was about! Anyone who knows is welcome to PM me and explain :-D

Anyway, this is now packaged in a .deb for more convenient use. And I gave it a little tweak, too.

More to come, stay tuned! :-)

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!
Locked