I recently got the following error with the arduino UNO and Leonardoterwijl and nothing has changed. Have reinstalled Arduino but without success. Can anyone tell what the problem is? Both modules have never been used
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
or
Failed uploading: uploading error: exit status 1
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Hi @digiton1. I suggest we focus on the Uno for now. The reason is that I think that attempting to troubleshoot two different boards at the same time will result in confusion. It might be that solving the problem with uploading to the Uno will also solve the problem with the Leonardo as a matter of course. If not, we can switch to the Leonardo once the Uno problem is resolved.
I'm going to ask you to post the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compilation in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the "OK" button.
Attempt an upload to the Uno, as you did before.
Wait for the upload to fail.
You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the error output from the upload into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
What does Windows device manager think of your boards?
For the Uno, does a press/release of the reset button result in a few quick flashes before the sketch (if any) starts running?
For the Leonardo, if you double-tap (single tap should be sufficient) the reset button, does the L-LED fade in-and-out for approximately 8 seconds?
Any history for the boards; what was the last project that they worked in?
I used the UNO and Leonardo a half year ago for some samll test and worked.
The led ON end L are burning red and when i press the reset nothing happends.
The Leonardo led L is fast blinking and ON led is green. After press the reset (more then sec) the TX led is blinking slow and L fast, the ON led green
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
I going to order new Arduino UNO and test this one. Because my ESP modules do not have this problem.
I have no idea why the current UNO and Leonardo don't work, but I'm afraid we won't be able to figure this out. I'll then throw away the broken ones.