USBDM On Linux Does NOT Require CW

From DIY contraptions to sophisticated FreeEMS-specific designs! Plus general hardware development!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

USBDM On Linux Does NOT Require CW

Post by Fred »

That's right, no need to install codebloatier, just mod the script!

Right now latest version for Linux is 4.9.4 from sourceforge: http://sourceforge.net/projects/usbdm/files/

Note, the 4.9.5 version does not have a Linux variant.

Grab it, grab my modded script from here: http://stuff.fredcooke.com/Install_USBDM_NO_CW

Drop it into the dir next to the original named Install_USBDM and execute it as root with "sudo ./Install_USBDM_NO_CW"

Then apt-get install libxerces-c3.1 and you're good to go. Tested on my mostly virgin eee just now.

Fuck codewarrior, may its 2.7gig download of nasty encrypted binary installer crap rot in hell :-)

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!
johntramp
LQFP112 - Up with the play
Posts: 119
Joined: Sat Apr 24, 2010 1:42 am
Location: New Zealand

Re: USBDM On Linux Does NOT Require CW

Post by johntramp »

Hooray!
User avatar
ToxicGumbo
LQFP144 - On Top Of The Game
Posts: 474
Joined: Tue Jan 03, 2012 8:37 pm
Location: Manhattan, KS. USA

Re: USBDM On Linux Does NOT Require CW

Post by ToxicGumbo »

"There's a script for that."

Great job, dude. This is really exciting, even for n00bs like me.


-Jeff
User avatar
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 578
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by DeuceEFI »

Wicked :-)

You have replaced codebloater with a shell script...

Keep up the excellent work!
Bangbug
QFP80 - Contributor
Posts: 74
Joined: Fri Jan 14, 2011 11:03 pm
Location: Auckland New Zealand
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by Bangbug »

Lol, Hooray, great, wicked.....
And then me!

I've followed the above, you made it nice and easy.
I can see the applications etc but they do a Schultz for me.

Should I be updating the usbdm.rules aka moving/replacing. (though I've already updated that, I think I got the iD etc around the right way. lol)
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by Fred »

Why are you fiddling with the rules file? Don't fiddle :-p

Did it install OK with sudo? If so, and you can't get it to work with the HW, try running the app with sudo too. The app is:

USBDM_Linux_V4.9/Utilities/HCS12_FlashProgrammer

Install it again to ensure it removes whatever hacks you did with the rules file. And unplug/replug the device after that.

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!
Bangbug
QFP80 - Contributor
Posts: 74
Joined: Fri Jan 14, 2011 11:03 pm
Location: Auckland New Zealand
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by Bangbug »

changed the rules to amend the idvendor and idproduct.
But I was reading the .rules in the CW and it says "move me to here" etc etc.
Though that may just be a comment and it does it automatically.

I'll try running the app with sudo.

Cheers
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by Fred »

CW? you shouldn't even have codebloatier. The install script at the top of this thread, when executed as root, from the same spot as the one it replaces, does just what you need, nothing manual required.
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!
Bangbug
QFP80 - Contributor
Posts: 74
Joined: Fri Jan 14, 2011 11:03 pm
Location: Auckland New Zealand
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by Bangbug »

sorry not in CW, just in the file (can't think of right now) where everything is. Utilities? perhaps.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: USBDM On Linux Does NOT Require CW

Post by Fred »

OK, no need.

Get 4.9 zip/tgz, download, open, cd inside, wget my script, chmod +x my script, sudo ./myscript, done.

Did you download the right thing? Older ones did not have the flash util.

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