Problem uploading the code in UNO

Arduino UNO, IDE 2.2.1

Edition Windows 11 Pro
Version 22H2
Installed on ‎20-‎08-‎2023
OS build 22621.2428
Experience Windows Feature Experience Pack 1000.22674.1000.0
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.
"C:\Users\dixit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\dixit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM5" -b115200 -D "-Uflash:w:C:\Users\dixit\AppData\Local\Temp\arduino\sketches\9532881679AB9C2D0164A6E9B62FB6C9/Blink.ino.hex:i"

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:\Users\dixit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/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=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x7a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7a

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

just uploading the Basic Blink Code from examples
No pins or anything connected except USB Cable
don't know what causing this maybe the board is dead?

Does COM5 disappear when you unplug the Uno and reappear when you plug the Uno in? If not, it's the wrong COM port to use.

Try a different USB cable.

Try a different USB port.

Try a different arduino.

Try IDE <2.x

1 Like

Yes, COM5 disappear and reappear when i unplug and plug the UNO.

don't another cable of this type : (

it only shows one port when the UNO is plugged-in and that is COM5

Have NANO it also shows same result

its the latest version that i re-downloaded recently

Don’t know anything about win11but , non genuine uno/nanos often need a different driver for the USB .

Install CH340 driver , that might be missing when you changed things .

Nano and Uno require different cables, so if you get the same problem, it's probably not the cables or the Arduino that is the problem.

Did you try a different USB port?

Did you try IDE 1.8.19?

already installed

YES

Not yet i will try it

but I believe that my boards are gone, can you tell me a way to find if my boards are dead or alive
If they died then i will just order new ones instead of taking your time

It seems unlikely that both your boards went bad at the same time (unless you know of a specific reason).

What code was uploaded to them previously? Did that code write to Serial Monitor or blink LEDs on certain pins? You could test to see if that old code is still running.

PS. Trying to be helpful, I moved your topic to "AVRdude, stk500, bootloader issues" forum section because, despite the strange name, it's the best section for your question. The "programming questions" section is for help with your coding problems.

I believe it has to do with an LED project (not on board LEDs), but I can't recall the code because I used them so long ago before using them today.

nah I actually appreciate your help, I am new to forum so don't know much about.

it maybe me : ) i don't know much about Arduino Boards i bought them long ago because i was bored and after watching some videos i got interested in them and just wanted to make a small project and maybe destroyed them in the process, sorry i am not a electronic guy i just like these electronic devices

Please try this experiment and then report back with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Connect the UNO board to your computer with a USB cable.
  2. Press and release the button on the Arduino board that is marked "RESET".

Now please reply here on the forum thread with the answer to the following question:

Did you see the "L" LED blink multiple times quickly immediately after you released the "RESET" button?

Hey thanks for your help but I find out what was the problem
I go to the shop from where I bought these boards and after some tests he tells me that some parts of the board got fused and after replacing them it will work normally.

I don't know what causes this maybe they left out without any use for long time or maybe because they are not the original just clones so some cheap parts died

You are welcome. I'm glad you were able to find the cause of the problem. Thanks for taking the time to post an update!

Regards,
Per

1 Like

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