Рет қаралды 185,953
Want to learn more? Check out our courses! bit.ly/33F6QlE
**Get the code, transcript, challenges, etc for this lesson on our website**
bit.ly/33F6Ima
We designed this circuit board for beginners!
Kit-On-A-Shield: amzn.to/3lfWClU
SHOP OUR FAVORITE STUFF! (affiliate links)
---------------------------------------------------
Get your Free Trial of Altium PCB design Software
www.altium.com/yt/programming...
We use Rev Captions for our subtitles
bit.ly/39trLeB
Arduino UNO R3:
Amazon: amzn.to/37eP4ra
Newegg: bit.ly/3fahas8
Budget Arduino Kits:
Amazon:amzn.to/3C0VqsH
Newegg:bit.ly/3j4tISX
Multimeter Options:
Amazon: amzn.to/3rRo3E0
Newegg: bit.ly/3rJoekA
Helping Hands:
Amazon: amzn.to/3C8IYXZ
Newegg: bit.ly/3fb03X1
Soldering Stations:
Amazon: amzn.to/2VawmP4
Newegg: bit.ly/3BZ6oio
AFFILIATES & REFERRALS
---------------------------------------------------
►Audible Plus Free trial: amzn.to/3j5IGrV
►Join Honey- Save Money bit.ly/3xmj7rH
►Download Glasswire for Free:bit.ly/3iv1fql
FOLLOW US ELSEWHERE
---------------------------------------------------
Facebook: / programmingelectronics...
Twitter: / progelecacademy
Website: www.programmingelectronics.com/
FIX AVRDUDE: STK500_RECV(): PROGRAMMER IS NOT RESPONDING | SOLVED
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): error message from Arduino IDE
Is this some kind of joke? Who is AVR Dude, and what does he have against me trying to upload a sketch to my Arduino? If you’re getting this error when trying to upload code to your Arduino board - it can be REALLY frustrating!
I wish I could say this happens because of 1 single problem - but this error pops up for many reasons… In this lesson we are going to go through a “laundry list” of possible solutions. We’ll start at the most common and easiest, and move on to more detailed troubleshooting tasks if those don’t work.
By the end of this lesson, AVR Dude should be hitting the road, and your code will be loading on your Arduino board.
SO WHO IS THIS AVR DUDE AND WHAT IS AVRDUDE: STK500_RECV() ERROR?
AVRDude is a utility used by the Arduino IDE. It stands for AVR Downloader Uploader and it allows you to load your code onto your Arduino board. The avrdude: stk500_recv() error is caused by a generic connection error between your computer and the Arduino, and can result from many different issues.
Many thanks to “The Guy with The Hat” from the Arduino Stack Exchange for compiling a great list of fixes that we’ll walk through in detail here. So let’s start with our laundry list…
POTENTIAL FIXES
Try disconnecting and reconnecting the USB cable. Yes - that simple!
Your Arduino board should have a reset button on it. Press the reset button and see if you can upload without the avrdude: stk500_recv() error.
Close the Arduino IDE, and reopen it again - believe it or not, this can work!
Make sure you have the right Arduino board selected. In the Arduino IDE, go to Tools - Board, and from the lists select the Arduino board you are using.
select Arduino Board from Arduino IDE
Check to make sure you have the correct port selected. In the Arduino IDE, go to Tools - Port and select the port corresponding to your board. (On a PC it will start with COM, on a MAC it should start with cu.usb)
select Arduino Port from Arduino IDE
If you’re not sure which is the right port, simply take note of all the ports listed, disconnect your Arduino board from the USB cable, and then check the port menu again. Whichever port is missing, is the port your board was Arduino was using.
The Receive (RX) and Transmit (TX) pins on the Arduino (pins 0 and 1) are used when uploading sketches on your Arduino board. If you have any connections to those pins, pull them out before you upload to the board.
If you have an Arduino shield attached to your Arduino board, remove the shield and try uploading again. This is related to the last step, as the shield may have a circuit interfering with the transmit and receive pins.
STILL GETTING AVRDUDE: STK500_RECV() ERROR?
Time to start troubleshooting! If none of the easy stuff works fret! We still have some options to try! What we’ll do is try to figure out the point of failure.
It could be the Arduino Board, the computer, or the USB cable.
TEST THE USB CABLE
Try using a different USB cable and see if you can upload without the avrdude: stk500_recv() error. I know this seems like an unlikely failure point, but you might be surprised how often USB cables fail.
TEST ANOTHER ARDUINO BOARD
TEST A DIFFERENT COMPUTER
CONTINUED…
bit.ly/33F6Ima