Problem uploading to Arduino Uno.

Please help me whenever I upload any program to my Arduino Uno(Roughly 4 years old) even any example program like blink it says "Problem uploading to board" or "An error occurred while uploading the sketch" and shows a error code:

Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Uno"

Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc8

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Please reply if you have any solution(s) to this problem ( I have tried the solutions on https://www.arduino.cc/en/Guide/Troubleshooting#toc1).
Thank you!

Remove any connections to pins 0 and 1 on your Arduino board. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino, you can find it like this:

  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

@pert It looks like he's using the app from Windows Store. Not sure if that makes a difference or not.

.

I haven't heard of any problems like this with the Windows Store app version of the Arduino IDE. I can upload with no problems using the same version as @jeetvasani.

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Have you been able to upload a program before this?
In other words has this just started after many successful uploads in the past?

Thanks.. Tom... :slight_smile:

It sounds like you have flooded the serial output to the debug terminal. You may have to do the following several times. Start by removing everything connected to the Arduino then try this: Take these steps: Power off the board completely (remove the USB cable). Hold down the Reset button, keep it held down (or, run a jumper wire from the RESET pin to the GND pin). Still holding down Reset, reconnect the USB cable. Start uploading a sketch that does not have this problem (I use the Blink sketch). I have seen this happen several times when I flood the serial output. An indication is the tx light is on. Secret do not keep the console constantly busy printing, worst case use a delay of a few hundred.