Hi
I'm running squeeze, and trying to upload my very first bit of code to a brand new Mega2560 using the command line.
Running make upload gives :-
nigelb@wdccsdp09466:~/arduino$ make upload
Uploading to board...
GUESSING at serial device: /dev/ttyACM0
stty -F /dev/ttyACM0 hupcl
/usr/bin/avrdude -DV -p atmega1280 -P /dev/ttyACM0 -c arduino -b 57600 -U flash:w:blinkled.hex:i
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
make: *** [upload] Error 1
Adapting the avrdude command slightly to add a -v (verbose) gives :-
nigelb@wdccsdp09466:~/arduino$ /usr/bin/avrdude -DV -p atmega1280 -P /dev/ttyACM0 -v -c arduino -b 57600 -U flash:w:blinkled.hex:i
avrdude: Version 5.10, compiled on Jun 27 2010 at 00:38:29
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/nigelb/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
The mega shows a continuous green light, an evenly blinking L light, and the RX led flashes when i try to upload (but the tx doesn't).
Any clues for a newbie?
Nige