Neet help with UN0 R3 Board ATmega328P

I bought a UN0 R3 Board ATmega328P, connected it to my Win11 PC and tried to upload a simple code to turn on a servo.

No mater what I do the upload fails, I have validated the COM port, the drivers, the model, tried with both Arduino IDE and VS.

The PW led is red, the L led blinks (non stop)

Any idea what else I can try?

Error:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf0

Driver:

Arduino IDE:

I also checked this: https://www.youtube.com/watch?v=1s1Dj858mRk
Its the one I have.

Hi @peraltarh. I'm going to ask you to provide the full verbose output from an upload attempt.


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


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compile in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
    The "Preferences" dialog will close.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. 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.
  8. Open a reply here on this forum topic by clicking the "Reply" button.
  9. 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.
  10. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the "Reply" button to publish the post.

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

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

You need to get everything right in the tools menu. For my Nano V3 I need the old bootloader.

I dont see the Procesor option, this is all I see:

This also fails, its a UNO R3 with ATmega328P

You should stick with the Uno R3 board option since that is the board that you stated you have. I see that the COM port seems to have changed to COM7?

Could you provide the answer to these questions:

  1. Have you tried a different USB cable?
  2. When you plug the board in and from Tools open Serial Monitor, does the Yellow Not connected message disappear after a second or two?
  3. When you power up the board, do you get 3 flashes from the 'L' LED?

COM7 is because I tried multiple USB ports.
The USB cable is the one I use for my printer, the printer works (I just tested it)

The serial does indeed go from Yellow " Not Connected " to an input box in 1 sec

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?

Try Programmer”AVRISP mkll”.

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 :upside_down_face: 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.

First, select "Arduino Nano" then you will have TOOLS >> PROCESSOR >> OLD BOOTLOADER as an option.