Not able to upload program to Arduino Due,

Today I received my Arduino Due board, and am trying to upload the sample Blink program to it.

However I am not able to do so.

I am using Fedora Release 21 distribution ( 64 bit ). I have selected Arduino Due on Tools-> Board Option. The IDE is detecting the board on /dev/ttyACM0 and I have this option in Tools->Port selected. Also the L LED ob board ( amber in colour) is blinking when connected to USB port. I am running the IDE with root privileges.

Arduino IDE Version : 1.6.3

Please help in getting this issue resolved

Below is the log from the console.

Arduino: 1.6.3 (Linux), Board: "Arduino Duemilanove or Diecimila, ATmega328"

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
/home/raghavendra/arduino-1.6.3/hardware/tools/avr/bin/avrdude -C/home/raghavendra/arduino-1.6.3/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyACM0 -b57600 -D -Uflash:w:/tmp/build5145783976326434593.tmp/Blink.cpp.hex:i

avrdude: Version 6.0.1, compiled on Mar 30 2015 at 11:53:46
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/home/raghavendra/arduino-1.6.3/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/root/.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: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

P.S.
I also have a Arduino Uno board ( not original Arduino), and I am able to work with it. It is however detected on /dev/ttyUSB0 .
when working with Due, Uno board is not connected.

Hi,

I have the exact same issue on a Arduino Nano v3.0 connected to a Mac (macbook air) running 10.10.1.
I installed the latest FTDI drivers.

When trying to upload a (even empty) sketch, I got the following outputs (no avrdude done at the end, it is pending, and the TX led remained on).

Sketch uses 450 bytes (1%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

I also tried the following things with similar results:

  • From Ubuntu running on the mac (virtual box)
  • From another MAC (iMac)
  • Using another USB cable.

What I should do to be able to start using my Arduino nano (I don't want to put it in the trash...)?

Best regards,

Had similar error. Went into Arduino program and selected Tools and then Port.

The mac port looks like /dev/cu.usbmodem...

I selected that port and hit enter. A check mark appeared next to the port. Then I could upload my pgm

to the arduino. You think the system would do that automatically, but it didn't for me.

I tried the loopback test, but I get nothing back. Is the arduino nano broken?

Should I involve the arduino support? I bought to a (hopefully) official vendor on amazon.

I come to conclusion that I bought a (broken) clone... this was not the intend... of course the price was attractive but as I didn't know the official price... lesson learned...

@gregolopik, how did u conclude it is broken.

Just ran the loop back test. I am able to get the echo back. What Next?

raghavendranaik you said you received and arduino due but you uploading for a duemilanove, as your log states

Arduino: 1.6.3 (Linux), Board: "Arduino Duemilanove or Diecimila, ATmega328"

In 1.6.3, Arduino DUE support must be installed with Boards Manager (tools > board > boards manager)

Thanks Federico Fissore, I was under the impression that Due and Duemilanove are synonyms. Just searched and found that they are not.

I will try with the Board Manager installation and update the results.

hi,

I have arduino R3.
I am uploading simple blinki programm through IDE in windows 8 OS.
but after uploading it is showing below error.

Pl help..

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

avrdude: verification error, first mismatch at byte 0x00ec
0x02 != 0x0e
avrdude: verification error; content mismatch

Installing Arduino Due Support from Boards Manager solved my problem.

Ahoy,

I am a beginner in programming Arduino and I am unable to upload the codes into
my Arduino UNO R3.The error that showed up was

Arduino: 1.6.4 (Windows 7), Board: "Arduino Uno"

Sketch uses 8,688 bytes (26%) of program storage space. Maximum is 32,256 bytes.

Global variables use 463 bytes (22%) of dynamic memory, leaving 1,585 bytes for local variables. Maximum is 2,048 bytes.

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xbf

avrdude: stk500_recv(): programmer is not responding

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

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

please tell me the solution.
Thank you.