Avrdude: stk500_getsync() error

I recently bought an Arduino Uno R3. It worked initially but recently, when uploading a sketch, I see this error:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
Nothing is connected to the board. I tried all of the suggestions that I could find online - no luck. Finally I tried burning the bootloader with an original Uno board as programmer, but that did not work. Can you tell me what is the matter with the R3 and how to correct the problem? I do plan on buying more R3s for my class but I don't want this problem to keep reappearing with no solution.

What COM port did you select? Are you connected to the correct board in the IDE? Is it a genuine Arduino? Have you tried disconnecting it, restarting your computer and trying again?

Are you on a Windows PC?

I believe it was COM5. Yes, the correct board was selected in the IDE. It is a genuine Arduino Uno R3. Yes, I have disconnected the board, restarted the computer and tried again. Now we have brand-new PC computers with a fresh download of IDE 2.3.2 and legacy IDE 1.8.19. Neither IDEs work. Same avrdude sync error.

The board used to work but then the avrdude error appeared.

Loyola University Maryland Internal Use Only

Nothing else is taking the port? The Serial monitor is closed and you're not running an instance of Putty or CoolTerm or something like that?

Maybe go into Device Manager on the PC and take a look at the USB devices, uninstalling it if it's there, try again.

Try a different USB cable and maybe even reinstall the IDE.

Sorry, don't know what else to try

Out of curiosity, why are you running two versions of the IDE? Come to think of it, I'd uninstall the 2.3.2 altogether.

Some tests to perform

  1. Run the loopback test: Loop-Back Test Instructions. This will indicate if the communication path through the 16U2 is OK.
  2. Press and release the reset button; you should get some quick flashes. This checks if the bootloader is still functional.

That would indicate that the 328P processor died. What is the project that you are working on when it started failing?

I uninstalled IDE 2.3.2 and IDE 1.8.19. Then reinstall IDE 1.8.19 only.

I followed Loop-Back Test Instructions and used "Advanced Serial Port Monitor." I could send and receive messages correctly on UNO R3.
When I pressed the reset button, I did not see LED 13 light up, whereas yesterday it did light up. Then I burned the bootloader again using an original UNO board as programmer. Now LED 13 lights up on the defective UNO R3 board. However I still get the same avrdude sync error.

Should I give up now? The UNO R3 board is bad even though it is fairly new?

Loyola University Maryland Internal Use Only

So you have one Arduino that works and one that does not? You can upload to the good one? Would have been nice to know that on post #1

If it's the case that one Arduino works with the same PC and cable, etc, and the other does not, then your broken one is broken, as

said. Replace the 328P or buy a new Arduino. At least that's what I would do.