I cant upload code to my arduino uno r3

i have a problem uploading even simple code to my arduino uno and i get this message :

Sketch uses 444 bytes (1%) 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.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xad
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xad

Failed uploading: uploading error: exit status 1
i am using the version 2.3.6 of arduino ide and windows 10
Note : i saw a topic about a test called loopback and it worked fine for me but still no code goes to the arduino

  • You may need to burn the bootloader again.

  • Have you uploaded code to this Arduino before ?

  • What board is the IDE set to ?

  1. how can i do that
  2. yeah i was using it fine 1.5 year ago
  3. it is on the right thing (arduino uno)
  • is the correct port selected in Tools -> Port?
  • is the correct driver installed (e.g. CH340 for a clone board)? (Can you show a screenshot of the COM ports in Device Manager)
  • have you tried another USB cable? (Ok, you said that the loopback test seems to work so theoretically its OK, but just to be sure and rule it out.)
  • is the port opened by something else, e.g. another IDE instance or another serial terminal program?
  1. yes it is correct (com6 and even writes arduino next to it)
  2. yeah all drivers installed
  3. nope i didn't and i don't have but the cable is working like you, it is also working with printer
  4. at first only arduino ide was opened and it did not work, i used another blocks ide and same error

When you press and release the reset button on the Uno, do you get a few (I think 3) quick flashes of the L-LED?

No, the reset button does nothing to my arduino led

In that case I think that either the boot loader is corrupt (not very likely) or that the 328P processor is faulty (more likely).

You can also run the loop back test (Loop-Back Test Instructions). That will test the 16U2 serial-to-usb converter on your board.

If the loop back test also fails you have somehow done serious damage to the board, e.g. connected 12V to the 5V pin.

If the loop back test passes, you can try to burn the bootloader as mentioned by LarryD (post #2, instructions on the web) or replace the 328P (you can buy them with the bootloader pre-programmed).

i already did the loopback test and it worked fine i was getting my input back

umm hello ?

In post #8 I indicated that you can try to burn the boot loader or replace the 328P (if it's in a DIL socket).