I can't upload sketches to My Arduino uno. It stuck in UPLOADING and get
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt <n> of 10: not in sync
error. RX TX not blinking when stuck in uploading.
I reinstall arduino IDE , Tried on another pc , tried with another cable but also get that error.
My pc detected UNO. I also run the loopback test and it passed. RX TX blink only when doing loopback test. I also burn the bootloader using another UNO. Still got same error.
I swap atmega328p with another uno and upload the sketch. It works and code uploaded. I also replace another ATMega328P and tried to upload also did'nt work. I also tried to reflash ATMega16U2 with ICSP. But cant enter to DFU mode.
I think one of components got shorted. I accidently put uno on metal sheet. How can i find the faulty components?
I'm little confused from your post but if the loopback test passed there are not much more to be damaged on the board except 328P. Try the suspect 328P in another UNO if you can. Or did you? It is not clear to me.
BTW, if the loopback test passed, it means ATMega16U2 works just fine. This is USB/serial transceiver.
I get this "stuck uploading" when I selected the wrong processor IDE >> TOOLS >> PROCESSOR >> (old bootloader or not)... I have a real (FTDI) Nano and a CH340 nano (old bootloader)
I swap ATMega328p with good one. Also couldn't upload the sketch. I put ATMega328p of this board to another working UNO. Sketch uploaded just fine. I think 16MHz crystal is the problem. Can that be a problem? Should I replace 16MHz crystal?
It can be, but how about to check it first.
With an oscilloscope it is piece of cake. However, if you have not oscilloscope, you can do it with the DMM. Check the voltage with DMM between XTAL1 pin and GND. It should be cca 2V in case of crystal, a little less in case of resonator. Genuine UNO uses a resonator.