A little history: I have two Arduino Uno and i could't programmedI couldn't program them by IDE, iI got these errors:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
So iI googled it for a while and iI suspect of missing bootloader on atmega micro on the board , as iI don't have AVR programmer iI programmed both Arduinos with Raberry piRaspberry Pi and Arduino IDE tool through ICSP pins.
It (burning bootloader) runruns perfectly on both Arduino but one. One of themethem got fixed and got back to normal, but the other one givegave me same error, so iI changed their Atmega micro, but same result, second. Second Arduino (bad one) can't transfer program to AVR even with other one (good one) AVR so both AVRs on the boards are good. The program (blink LED) run even on the bad Arduino and pin 13 blink.
My questions are :
How could iI test the suspected Arduino board? Is the second Atmel micro near usb female port need bootloader too?
Update 1: I follow this tutorial but my Arduino couldn't go to DFU mod by shorting the pins. when iWhen I connect those pins led pin 13 not blink and lsusb command show Arduino not Atmel.
Update 2 : iI went through this question and this troubleshoot to upload bootloader to Atmel USB device but my second Arduino (bad one) didn't respond and givegave me this error :
Atmega chip detector.
Written by Nick Gammon.
Version 1.17
Compiled on Jul 13 2015 at 11:14:35 with Arduino IDE 105.
Attempting to enter ICSP programming mode ......................................................
Failed to enter programming mode. Double-check wiring!
Programming mode off.
Is it possible my Atmega16U2 chip is burned ?
Update 3 : I do reach the point that iI am pretty sure Atmega16U2 is dead and it isn't responseresponding to it'sits ICSP pins and it blockblocks any usbUSB to AVR connection, i. I check the wiring and iI test it on good AurdinoArduino and it'sits sequence are correct and it works on good one. nowNow what can iI do,as as Atmega16U2 is not rechangeable, should i throughI throw bad Arduino away?