Hi @peraltarh. I'm going to ask you to provide the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compile in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the "OK" button.
The "Preferences" dialog will close.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see an "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a reply here on this forum topic by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
El Sketch usa 2024 bytes (6%) del espacio de almacenamiento de programa. El máximo es 32256 bytes.
Las variables Globales usan 50 bytes (2%) de la memoria dinámica, dejando 1998 bytes para las variables locales. El máximo es 2048 bytes.
"C:\Users\Rodri\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\Rodri\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\Rodri\AppData\Local\arduino\sketches\B1B9A788DB691836FB0FBFB845616FB7/sketch_dec11a.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\Rodri\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=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x80
When I plug it in I do get 3 very fast flashes in the L led. Then 2 seconds later it starts blinking slowlier non stop.
I read in some other ports that some arduinos comes without the bootloader, might this be my problem?
Update* I just realized that the L led blinks 3 times everytime I click on upload, same when I do a rest. According to chatGPT its a corrupated bootloader, can anyone confirm?
The three fast flashes on powerup suggest it does have a bootloader.
Since requesting an upload would cause the board to initially reset and the bootloader to run, that would be expected. The Tx and Rx LEDs should also flash to indicate data being sent/received.
Does it blink around once every second? Could just be that the Blink sketch is currently uploaded and running.
Do you have anything connected to pins 0 or 1?
If so, then disconnect it before attempting to upload.
Is the UART IC (next to the USB connector) on your UNO marked "CH340G" or is it just blank?
Arduino IDE's Tools > Programmer menu is only relevant when you are performing a "burn bootloader" or an "upload using programmer" operation. The selection in this menu is completely ignored when you are performing a standard "upload" operation, as @peraltarh is doing. So messing around with the Tools > Programmer menu configuration is not going to do anything.
Try to upload the blink sketch and reupload the board with an even simpler sketch.
Just for troubleshooting sake, also use a different USB cable. Eliminate 1 possibility at a time even if it seems redundant. I've been down this road before frustrating yet rewarding
Also try restarting the computer.
Sometimes it's the simplest of things that cause unexpected results.
AI in my experience is very good at helping with coding, not so good at troubleshooting. In my humblest opinion if you want AI help I recommend using Gemini 3
I have had this happen before with a program that compiled, appeared to upload, but did not 'speak' to the MCU properly, which triggered the watchdog timer.