AVRdude giving an error

I recently was trying to upload a sketch onto my arduino NANO, but i recieved an error:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x95
Failed uploading: uploading error: exit status 1

I searched the problem up online and it seems to be relatively common so I tried most of the fixes however it still isn't working.

these all gave me the same AVRdude error:

Switching the port
Switching the cable
Switching the board to another Nano
Switching the board to an UNO
Uninstalling and reinstalling the IDE
Repeating previous steps with the new IDE
Switching computers to my laptop
repeating all previous steps with laptop
burning bootloader of UNO
switching the sketch to something I know works
updating Arduino drivers
switching the atmega328p-pu in the UNO

because of this I think it is a new update(perhaps 2.2.1), especially because some of the things I saw in possible fixes just aren't there on my IDE, and I haven't used the IDE in almost a year now. are there any fixes I just haven't tried yet? if so please help.

Edit: I just realised I probably should have put this in the IDE 2.x category, my apologies.

Hi, which arduino nano are you using? Have you installed the driver software? Also make sure that you have selected 'Arduino nano' from the 'boards' option.

How do I find which nano it is? I haven't installed the driver for the nano but I tried to do so for the UNO, and yes the nano and UNO were correctly selected from the boards option, as well as the port.

See at the back of the nano board and find out which USB to serial converter IC it contains. Some nano boards have CH340G, some have FT232. You have to check and download the driver accordingly.

I checked and it uses the CH340G so I looked it up and downloaded the driver. Unfortunately it didn't work. Should I have downloaded it from the Arduino website or was an external site fine?

Downloading from an external website is not a problem. Make sure that the driver you downloaded is compatible with your OS. Also there might be some other issues. You have already switched the cable. So, maybe the board itself is faulty.

I thought that so i checked with a new nano and a separate uno. I also checked with a different computer to see if that was the problem.

The first question is what your operating system thinks of your board. I might have missed which operating system you're using; for Windows check device manager, for Linux check lsusb and dmesg.

Did you use the correct port; e.g. in Windows COM1 is usually not the correct port.

Do you have anything connected to pins 0 and 1; they are used for communication with the PC. So disconnect; also disconnect anything else if applicable.

For the Nano, did you check if the various options under tools → processor make a difference.

As far as I know there are no Arduinos with CH340; so there is no driver for it from Arduino and you have to use the external one.

Board detection and upload issues usually fit better in the category where you posted your topic.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.