Cant upload code due to 'avrdude: stk500_recv(): programmer is not responding'

This is actually my first time to post something here as I desperately
need to resolve this asap for my thesis. I already researched how to solve this issue but I still can't solve it. The problem is posted below. Sorry if i dont follow how to properly post a question.

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM5
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x65

avrdude done.  Thank you.

Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

May be of help?

1 Like

Thank you for the response. However, still same error :frowning: I am currently using arduino uno r3 atmega328p ch340g. I was able to upload my sketch/code last night but for some unknown reasons, I can't upload now. I really don't know what happened. I already reinstalled the IDE and the drivers, still, to no avail. I also tried it with another uno DIP board, still, same error.

  • Is there anything connected to the UNO while you are trying to upload ? (particularly pin 0 & 1 of course)
  • Have you replaced the USB cable already.
  • Are there any errors in the device manager ?
  • Are you sure that you have selected the proper port ?
  • have you selected the correct board in the IDE ?
1 Like

On past experience with other development boards it is worth (if an option) trying a slower serial upload speed or failing that try installing a copy of the Arduino IDE in portable mode and see if it works (to rule out any issue with your IDE setup)?

1 Like
  1. No. I even tried the 'Blink' example sketch but still getting the same error.
  2. Yes, I have. Same error.
  3. I don't think there are errors there. I did try to add a driver for the CH340G in an attempt to solve this but I did not use such driver last night (I was able to upload without any problem last night without adding drivers or changing any settings/preferences although my code is not working as I intended it to be)
  4. I think so. I use the same port for the CH340G board and DIP board.
  5. Yes. Both boards are arduino uno.
    stupid arduino
    Also, why do i got this error when i was re-installing the arduino ide under Program Files (x86) but no error when installing under Program Files?

You mean the baud rate? Its on default settings (9600). And how do i do the latter part? any link for a not-so-beginner?

It should be installed under Program Files(x86) the whole installation is 32-bit.
It must be an error in the installation.
Remove the current installation of the IDE and any previous ones.
Reboot.
And try re-installing again.
Make sure you do not open more than 1 instance of the IDE and do not have the Serial Monitor open.
Try uploading a simple blink sketch again (maybe vary the speed to confirm that a successful upload actually is a new sketch.
Good luck.

Still no luck :confused: it still does not upload to my CH340G board but uploads on DIP board
no luck
I appreciate the responses, btw :slight_smile:

Well progress at least. Doesn't look like a driver issue. All seems connected and setup correctly. You could try uploading via the ICSP header. But maybe first you can try to hold the reset button down, until you see the 'compilation complete' message, and then release it. Maybe the reset is not connected. It must have something to do with the board. Also have a look at the crystal on the board, is it a 16MHz one ?

i haven't tried the reset thingy. will try that later. for now, i'll be working on my DIP board as i need to present my "prototype" tomorrow :< and yeah, its 16mhz. thank u once again

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