1

I'm a newbee to Arduino programming and hoping someone can help me with this. These are the error messages.

avrdude: stk500_rcv() : programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10:not in sync:

Problem uploading to board.

I'm using a Arduino UNO clone on com port 3,the blink sketch is functioning. I get the mentioned error message on all sketches I have ran. Not sure what to do.

asked Nov 27, 2015 at 1:42
4
  • Are you running Arduino IDE, and get the message when you click upload? What board model and speed is the IDE showing at its bottom right? What programmer, in preferences? Have you tried things suggested in 'Related' questions in sidebar? Have you uploaded to any other boards? Please answer the above by editing your question Commented Nov 27, 2015 at 3:26
  • And what do you mean by "the blink sketch is functioning" and "error message on all sketches"? Is the blink sketch working or not? Commented Nov 27, 2015 at 10:07
  • Yes the blink sketch works fine. In fact all the LED sketches work. I get the Commented Nov 27, 2015 at 11:57
  • Yes the blink sketch works fine, in fact all the LED sketches upload successfully. When I upload any other sketches such as LCD, stepper and servo I get the mentioned errors. Thanks for your help Commented Nov 27, 2015 at 12:04

5 Answers 5

2

try this site: https://github.com/Makeblock-official/Makeblock-USB-Driver/ , it works for me. This is a driver for arduino, and command for bash

answered Dec 17, 2015 at 11:22
2

I had a same problem with UNO R3 (CH340G) MEGA328P for Arduino UNO R3

On Ubuntu 14.04 I checked the whether the USB chip not recognized, but it looks ok:

~$ dmesg | tail -n 6
[ 3350.417900] usb 2-2: new full-speed USB device number 5 using xhci_hcd
[ 3350.546759] usb 2-2: New USB device found, idVendor=1a86, idProduct=7523
[ 3350.546763] usb 2-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3350.546764] usb 2-2: Product: USB2.0-Serial
[ 3350.547255] ch341 2-2:1.0: ch341-uart converter detected
[ 3350.547996] usb 2-2: ch341-uart converter now attached to ttyUSB0

But the upload went wrong like this:

~$ avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/ttyUSB0 -Uflash:w:/home/oliver/Arduino_Build/Blink/Blink.hex:i
avrdude: Version 6.0.1, compiled on Oct 21 2013 at 15:55:32
 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
 Copyright (c) 2007-2009 Joerg Wunsch
 System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
 User configuration file is "/home/oliver/.avrduderc"
 User configuration file does not exist or is not a regular file, skipping
 Using Port : /dev/ttyUSB0
 Using Programmer : stk500v1
avrdude: Send: 0 [30] [20] 
avrdude: Send: 0 [30] [20] 
avrdude: Send: 0 [30] [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: Send: 0 [30] [20] 
....

After reading bunch of articles 1, 2, 3, 4, 5, 6 it turned out my bad Chinese Arduino clones does not have bootloader installed on the Atmel microcontroller ship. To solve this problem you need a working Arduino and the clone Arduino we want to fix.

Walk trough who to burn the bootloader: http://www.instructables.com/id/How-to-fix-bad-Chinese-Arduino-clones/

Shortly: Burn the bootloader

Arduino as ISP

  1. You need a working Arduino
  2. Connect the working Arduino with a usb to the computer
  3. Upload Examples->ArduinoISP on working Arduino
  4. Connect the wires from the working Arduino to the clone as follows:
    • Pin 10 goes to reset pin
    • Pin 11 -> 11, 12 -> 12, 13 -> 13
    • 5v to 5v and ground to ground
  5. Go to Tools->Board and select the chinese board that is not working. in my case it's an Arduino Uno.
  6. Go to Tools->Programmer and select Arduino as ISP.
  7. Go to Tools again and select "Burn Bootloader".
  8. Your clone should work just fine now, but don't forget to restore Programmer (set back to ArduinoISP or AVRISP).

My clone board does not had integrated LED on 13 pin :) you need to connect it for Blinking test.

answered Dec 25, 2016 at 3:51
2

I assume that you're trying to upload the code with the Rx and Tx pins connected..
Try removing the Rx and Tx and then click the upload button in the IDE..

This happens because your computer communicates with the Arduino via Serial communication. The Rx and Tx pins also do communicate via Serial communication. An Arduino does not have the capability to handle two such communications simultaneously. So, it goes out of sync.. And that's how you get this error...

sa_leinad
3,2182 gold badges23 silver badges51 bronze badges
answered Dec 16, 2018 at 2:09
1
  • Anytime @Ryan Loggerythm 😄 Commented Jan 22, 2021 at 2:10
1

You mentioned arduino uno clone, do you know what USB chip it's using and what chip you are uploading the sketches to?

The clone I have is very fussy and hangs up continuously. I have had luck once or twice with uploading the sketches. Depending on the chips on the board downloading the proper driver will help and selecting the proper chip under the board setting i.e. Atmega328 or atmega8 depending on the chip. Hope this helps as it worked for me.

answered Mar 16, 2016 at 14:29
1

I'm not familiar with Arduino Uno, but in case of a Nano switching to another Processor in the Tools menu of the Arduino IDE solved the problem for me. For my Nano the ATmega328P (Old Bootloader) is the one that works, maybe there is a similar option for Uno.

Steps and screenshot: https://gyorgybalassy.wordpress.com/2020/10/16/arduino-programmer-is-not-responding-not-in-sync-error/

answered Oct 16, 2020 at 4:01

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.