A fix for Arduino timeout problem: avrdude: stk500v2_ReceiveMessage(): timeout

preview_player
Показать описание
avrdude: stk500v2_ReceiveMessage(): timeout, or
avrdude: stk500v1_ReceiveMessage(): timeout

This error is due to the bootloader not accepting the sketch upload.
First ensure nothing else is using the serial port. If it still doesn't upload, it's probably a hardware fault on the reset line.

This video shows one possible cure.
It may work on other boards. You will have to find the reset capacitor - it connects the RESET switch to the USB chip's DTR pin (I wrongly said DTS in the video).
Рекомендации по теме
Комментарии
Автор

Richard, you are really, really great!
Having the same problem I changed the capacitor C4 according to your advice and...
MY MEGA WORKS!!!

hansbebber
Автор

Super cool mate - thanks. I had bought various FTDI programmers, followed Nick Gammon's tips and trick - put a 100uF cap to the reset - but when I put the same cap over the C4 ... boom (or not) just works ... awesome! Rescued two crappy clones. Thanks!

stephenhookings
Автор

my issue was using a custom reset button, when unplugged it worked, but when plugged in it failed and got this error.
Thanks !

gavintheobald
Автор

I will try the extra capacitor. Thanks for the tip!

bloggerbert
Автор

Thanks for this. I was looking for a bit for more information, this seems the most likely cause of my issue as well.

Eric-mnek
Автор

Gracias, compre un Mega con chip Ch340 y subiendo el primer programa fallo, tenia un Arduino Uno quemado y le quite el condensador, se lo soldé encima del otro y funciono, buen video.

julianstriba
Автор

you my good sir are god sent thank you for the video ! the reset button trick worked for my upload

slfishing
Автор

it works in arduino nano chinese clon .Thanks

enriquevarela
Автор

Cheers. I have an Arduino Mega. I don't have a Ch340 input but an Atmega 8u2. The port is found, but the cod cannot be uploaded. Actually, the input programmer does not communicate with the main chip. Where can there be a problem? Thank you in advance for your help.

atihrot
Автор

I tried but the usb cable was about to burn out and the card stopped signaling. I restored it but the problem persists.

serkan.cetinkaya
Автор

Could you use a ceramic cap? What voltage, and must it be in parallel, or should one remove the old one!

UnCoolDad
Автор

My Arduino board says that it’s made in Italy
I thinks it’s original
It’s having the same problem
But components are not labeled
So how can I find the C4 capacitor help me please

kkcsynzx
Автор

sorry, would you be willing to provide a wiring sample?

krabit
Автор

Are we supposed to remove the 100n cap? or place a 100n. Kindly assist having the same issue.

aubreymmotong
Автор

After this is it possible to extract data from the Arduino using a program like Putty?

StealthScopes
welcome to shbcf.ru