r/arduino • • Oct 26 '26

HELP; uploading error

Post image

I am getting this error, and i don't understand what to do

I am using an Arduino UNO board which was working fine untill a few days ago then I changed a code and this message popped up and then whatever I try it ain't working

0 Upvotes

9 comments sorted by

3

u/belsonc Oct 26 '26

What did Google suggest you try?

1

u/sam_insight459 Oct 26 '26

It told me to use different programmes still didn't work, I think it would be better to just buy a new one

2

u/EggKiddoo Oct 26 '26

Is it the correct COM port? Is the cable you're using ok? Is the serial port of your board busy because of the program you uploaded uses is constantly? If so, might have to press the 'RESET' button immediately before uploading to boot into bootloader. Alternatively, you might have the serial monitor/plotter open, and you'll have to close it.

1

u/sam_insight459 Oct 26 '26

I'll try doing the reset before uploading thing

1

u/NeoDev08 Oct 26 '26

Don't buy a new one yet — that error usually means the IDE can't talk to the board at all, not that the board is dead, especially since it worked until the last sketch change.

A quick way to narrow it down:

  1. Unplug everything from the board, especially anything on pins 0 and 1, then try uploading Blink with nothing connected. Those pins share the USB serial connection, so something wired there can block uploads.
  2. Check Tools > Board is set to Arduino Uno, then check Tools > Port. Unplug the board and see if that port disappears from the list — if it doesn't, the IDE may be pointed at the wrong port.
  3. Try a different USB cable and port if you can. A lot of USB cables are charge-only and won't show up for data at all.
  4. Make sure Serial Monitor and Serial Plotter are closed, and no other program is using that COM port.

If Blink uploads with nothing connected, the board is probably fine and the problem is in the last sketch or the wiring. Did that last sketch use Serial a lot, or anything on pins 0/1? And does the board still show up as a COM port when you plug it in?

1

u/AffectionateShare446 Oct 26 '26

First -- I would try a different cord, find the thickest cord you can find. Try to test your cord by transferring data with it on something else is possible. This has thrown me several times in the past. Try different USB ports, say ones on the back. Sometimes it gets stubborn about which port will work.

Second -- make sure Serial terminals are closed in the Arduino IDE. That will get you every time. If you have multiple Arduino windows open, make sure the serial terminal doesn't show in any of the windows.

Third -- Make sure you have the right board selected and right port. This should automatically select the proper programmer for your board.

1

u/SHIGURE_Journy Oct 26 '26

If the UNO is being recognized via the COM port

try lowering the transfer speed

1

u/gm310509 400K , 500K , 600K , 640K , 750K Oct 27 '26

Have a look at our Fixing upload issues guide.

Double check that you have the right board and com port selected. It is possibly for windows to unexpectedly change the assigned virtual com port.

Fwiw a zero code in those messages usually means that the board is not responding for some reason.

Without knowing what you did, it is possible you corrupted the bootloader. If that is the case, there are links in the guide I shared above that explains how to recover from that - but you will need an ICSP (which a second Arduino could be set up to be).

1

u/TomorrowNo8138 Oct 27 '26

I guess there is some sensor connected to Arduino pin tx rx pin . When loading remove either of that pins connected wire and connect it back once loading is completed.this should work