avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch
Can't upload the code, shows this error.
Your post is lacking every possible piece of information that might be needed to solve your problem. Start with
- Which OS?
- Which version of the IDE.
- Which Arduino? Original or clone?
@sane1947 if your board is an official Arduino, use IDE version 1.8.15 and install the core for the board.
See: https://www.arduino.cc/en/Guide/Cores
Note: Use a data USB cable and do not use a USB hub or USB 3.0 port.
Your should also provide answers to @sterretje questions, they should be in your post.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.