View Single Post
Old 03-19-2009, 10:14 PM   #12 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,021

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 153
Thanked 256 Times in 202 Posts
FYI, I dug out my parallel port isp programmer just now to see how it does under ubuntu. It hasn't failed once after dozens of attempts. It never worked this good on windows. I'm using 5v power from the usb port to power the target board also.

I just put these commands in a shell script and ran it with sudo (might need tweaking of course), and arduino should have made a hex file already:

Code:
export avrdir=/home/dave/progs/arduino-0011/hardware/tools
$avrdir/avrdude -C$avrdir/avrdude.conf -v -v -v -v -pm168 -cdapa -F -e -Ulock:w:0x3F:m -Uefuse:w:0x07:m -Uhfuse:w:0xdd:m -Ulfuse:w:0xef:m
$avrdir/avrdude -C$avrdir/avrdude.conf -v -v -v -v -pm168 -cdapa -F -Uflash:w:mpguino.hex:i -Ulock:w:0x2b:m
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote