Dear all
I received my Arduino Duemilanove today. To my surprise not with the ATmega168, but with the ATmega328. That's good.
Trouble is that I can't upload a sketch
It simply says
avrdude: stk500_getsync(): not in sync: resp=0x20
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0
I am using Ubuntu 8.10 (Intrepid Ibex)
I installed everything as follows :
$ sudo apt-get remove brltty
$ sudo apt-get install sun-java6-jre
$ sudo apt-get install gcc-avr
$ sudo apt-get install avr-libc
$ gzip -cd arduino-0013-linux2.tgz | tar xf -
$ cd arduino-0013
$ ./arduino
When I connect the board, this shows up in /var/log/messages :
Feb 26 20:17:57 infinity kernel: [36725.976167] usb 3-1: new full speed USB device using uhci_hcd and address 5
Feb 26 20:17:57 infinity kernel: [36726.181187] usb 3-1: configuration #1 chosen from 1 choice
Feb 26 20:17:57 infinity kernel: [36726.185594] ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
Feb 26 20:17:57 infinity kernel: [36726.187908] ftdi_sio: Detected FT232RL
Feb 26 20:17:57 infinity kernel: [36726.189613] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
The arduino tool correctly sees my board as /dev/ttyUSB0
On the board, the PWR LED lights up and the pin13 LED flashes twice. There is also some short activity on TX and RX (is that normal ?)
When I try to upload the Blink sketch, the LEDs play
the same sequence (autoreset I suppose) and then I get the
avrdude: stk500_getsync(): not in sync: resp=0x20
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0
error.
Any ideas would be very welcome