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