avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Hey guys,

I am trying to upload to my Arduino DUE from Linux (Kubuntu 15.04). The error message is:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

My settings:

  • Selected board "Arduino Duemilanove or Diecimila"
  • Port "/dev/ttyACM*"
  • Processor "ATmega328"
  • Programmer "AVRISP mkII"
  • Software Arduino 1.6.4
  • My user is in group dialout

What I tried:

  • No wires except MicroUSB
  • Programming Port and Native Port
  • Push reset before/during upload
  • two new Arduino Due boards
  • Software Versions 1.0 and 1.5
  • Run Software as root

What I cannot try:

  • Parallel port (I dont have one)

I get the following dmesg log for the native port:

[ 8044.092328] usb 1-6: USB disconnect, device number 15
[ 8045.981348] usb 1-6: new high-speed USB device number 16 using xhci_hcd
[ 8046.110299] usb 1-6: New USB device found, idVendor=2a03, idProduct=003e
[ 8046.110306] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8046.110310] usb 1-6: Product: Arduino Due
[ 8046.110313] usb 1-6: Manufacturer: Arduino srl
[ 8046.111043] cdc_acm 1-6:1.0: ttyACM5: USB ACM device
[ 8046.112102] input: Arduino srl Arduino Due as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:2A03:003E.000C/input/input30
[ 8046.165787] hid-generic 0003:2A03:003E.000C: input,hidraw3: USB HID v1.01 Mouse [Arduino srl Arduino Due] on usb-0000:00:14.0-6/input2

For the programming port:

[ 8170.617428] usb 1-6: USB disconnect, device number 16
[ 8172.831952] usb 1-6: new full-speed USB device number 17 using xhci_hcd
[ 8172.962633] usb 1-6: New USB device found, idVendor=2a03, idProduct=003d
[ 8172.962642] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 8172.962647] usb 1-6: Product: Arduino Due Prog. Port
[ 8172.962651] usb 1-6: Manufacturer: Arduino (www.arduino.org)
[ 8172.962654] usb 1-6: SerialNumber: 75431343334351719022
[ 8172.963038] usb 1-6: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 8172.963596] cdc_acm 1-6:1.0: ttyACM5: USB ACM device

Is there another fix I can try? If not, I have to send my boards back.

Thanks,
Andy

Nevermind, I got it working. :slight_smile:

"Arduino Duemilanove or Diecimila" is not the right board selection for my "Arduino Due".
I was under the wrong impression that "Arduino Due" is the short form of "Arduino Duemilanove".

Solution:
Go to "Boards manager" and install "Arduino SAM Boards (32-bits ARM Cortex-M3)"

Now I can select "Arduino Due (Programming Port)" and "Arduino Due (Native USB Port)" in the Boards menu.

this is way after you posted but thank you for posting your solution(even if no one helped you), i had the same problem, used your solution and got it working :smiley:

I made the same mistake with the Due and Duemilanove a while ago.

I don't think the people who named it realized how confusing this would be to non-italian-speakers who don't realize that they mean "Two" and "Two-thousand-nine" respectively, and would thus think that Due was short for Duemilanove.