Skip to main content

Programmer is Not Responding Arduino - avrdude: stk500v2_getsync() | Solution

Hey! Welcome to SheeBot.

We know you are having some serious problem with your Arduino Mega. You are trying, again and again, to upload sketch(program) through the USB port but it is not working. Programmer is not responding in your arduino and giving some error like avrdude: stk500v2_getsync(). Now you are thinking that it will not work again. You don't want to spend a few more bucks on buying new Arduino Mega. You are feeling that you are stuck in a bad situation right now.

But SheeBot have good news for you. Yes, the good news that is you can upload your program in another way. Yes, you heard right. You can do this by using the SPI(Serial Peripheral Interface) connection instead of using a USB connection. 

First of all, we have to see what type of error we are getting. In our case it is like the error given below:
Error: Programmer is Not Responding Arduino
(avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch)

Error: Programmer is not Respondingin Arduino
Error

Well, you can see we are getting timeout error while connecting to the programmer. 
Okay, Let's go to the solution without wasting your precious time.
Solution:
To solve this problem you need to have these extra things with you:
1. Arduino Uno
Arduino
Arduino

2. 6 Jumper wires Male to Male

Jumper Wires
Jumper Wires: Male to Male

That's all you need to upload your sketch on Arduino Mega.

Note: SheeBot is not going to tell you detail of SPI connection. (MOSI) etc. Just follow the steps to resolve your problem.

Steps to Follow!
1. First, you have to do wiring like this using jumper wires. 

Connection Wires
Wires Connection
  1.    Uno Pin    -     Mega Pin
  2.    5V            -      5V
  3.    GND        -      GND
  4.    D 10         -      Reset
  5.    D 11         -      D 51
  6.    D 12         -      D 50
  7.    D 13         -      D 52


2. Now connect the Arduino Uno with PC(Computer or Laptop) using USB Port of Arduino Uno.

3. Now goto Arduino IDE, open Tools menu, Set Board as Arduino/ Genuino Uno, Select port on which Arduino Uno connected, Set Programmer as Arduino as ISP.
Step 3
Step 3


4. Now open Example sketch ArduinoISP.

Step 4
Step 4

5. Upload this ArduinoISP sketch.

Step 5
Step 5


6. After uploading, open Tools menu, set Board as Arduino/Genuino Mega or Mega 2560, set Processor as ATMEGA 2560 (MEGA 2560), Don't change the Port, Keep it same what it was in the previous steps. Now select Burn Bootloader.
Step 6
Step 6


7. Now open Blink Sketch from examples.

Step 7
Step 7

8. Goto Sketch menu select Upload Using Programmer.
Step 8
Step 8

The sketch will upload and you will see the blinking program running on your Arduino Mega. Now you can upload any sketch as you wish without repeating these steps every time. Just Open your sketch and upload it using Upload Using Programmer option. This is the only way you can solve this problem. Maybe in the future, you will have other options too.

Check this video given below to see uploaded Blink Sketch example on Arduino Mega using the steps given above.



You will now able to upload sketch/programs on Arduino Mega. If you are still facing any problem then comment below. SheeBot will try their best to resolve your problems. Hope your Error Programmer is Not Responding in Arduino will resolve.

Comments

Popular posts from this blog

SOLIDWORKS Tutorials with SheeBot

SOLIDWORKS Tutorials With SheeBot Hi this is SheeBot,
SheeBot is going to start SOLIDWORKS Tutorial Series. Where you can learn and enhance your CAD Skills. These skills are necessary if want to become an expert level designer. In this modern era, you can't manually design products by just using mechanical equations.

You need to have expertise in CAD skills to design and manufacture mechanically stable products.n SheeBot will teach you design in SOLIDWORKS with easiest and most effective method.

If you are the beginner and want to learn SOLIDWORKS from Basic to Advance Level then SheeBot recommends you to read each and every article and practice it. Hope you will have fun while taking this SOLIDWORKS Tutorial Series.


Division of SOLIDWORKS Articles:SOLIDWORKS Tutorial Series: Where you can learn software tools in depth and details.SOLIDWORKS Designing Parts and Assemblies: Where you can learn how to effectively use these tools to design your products.SOLIDWORKS Updates: In this se…

SOLIDWORKS Tutorial 01: How to Sketch a SOLIDWORKS Line using Line Command

How to Sketch a SOLIDWORKS Line using Line Command This article will explain you "How to use Line tool" to sketch a line in SOLIDWORKS. First we will start with the little description of Line Tool in SOLIDWORKS and why we need to learn this Line tool.

A line (or specifically straight line) is a command in SOLIDWORKS which draws a line with specific length and angle with reference to some plane, face, edge etc. Line is a basic command in SOLIDWORKS which you need to use in almost every sketch or design you will make. So, SOLIDWORKS Line is a useful command.

We have to be clear that our line command will only make straight lines. In order to make curve or arc we have to use other command tools Like Splines, Arc, Curves, Fillets etc.

Line Command Icon:
Methods to Activate Line Command The three methods through which you can make Line.
1. Using Line tool from Sketch Toolbar.
2. Using Keyboard Button "L".
3. Using "Search Command".
Most of the people use first m…