A few days ago my Arduino Mega 2560 rev 3 was connected to my computer which unexpectedly restarted.
Since then it is not detected by any of my computers. I tried with Duemilanove which I also have and it worked with same cable & pc. I read that it might be something with 16u2 uc. So I tried to reprogram it with avrdude and my Duemilanove as programmer. Command prompt showed writing, reading then verifying. So everything should be OK (?). But when I connected my Mega it still didn't work.
Is there any way to fix it or I have to buy new one?
From what you explain it appears that the USB drive on the board is not responding for some reason. I would try installing the FTDI drivers just in case although I fear it will not help. That's a bummer because it appears that other than that it is a working board.
The restarting of the PC may have produced a spike in the input voltage to the board.
Sorry to hear.
good luck
I toke it from Arduino readme file but it was for 8u2 so I modified it. Maybe something is wrong with my code?
If I can communicate with 16u2 throught icsp then maybe there's chance to make it work?