I am working on a project where my Arduino Duemilanove is connected to my Sheevaplug, accessed via SSH.
Since I would like to develop locally and upload directly from Sheevaplug, I simply copy the hex file to the plug and then runs these commands:
#reset the board perl -MDevice::SerialPort -e 'Device::SerialPort->new("/dev/ttyUSB0")->pulse_dtr_on(1000)'; #upload with avrdude avrdude -V -F -C avrdude.conf -p atmega328p -P /dev/ttyUSB0 -c stk500v1 -b 57600 -U flash:w:Blink.cpp.hex
But unfortunately it doesn't work. I get these errors:
avrdude: parallel port access not available in this configuration avrdude: error at avrdude.conf:531: programmer type not specified
I have installed avrdude using apt-get and then copied avrdude.conf from the arduino/hardware/tools folder.
I can't figure out why it complains about the parallel port.
I have checked that /dev/ttyUSB0 is present.
What is wrong here? I should perhaps note that the same procedure works perfectly from my desktop linux box.