Dead Uno & Mega... can they be revived?

I have a Mega2560 which when I first started playing around with Arduino, I started to flash with the wrong board selected. Not knowing what that would do, I saw that the IDE still said "compiling" and I jerked the USB. It has never worked again. I went and got an Uno and it worked for a little while and then started coming up with a sync error. I have since scrapped several micros and a couple chinese nanos, and got a USBASP. The micros program with the USBASP intermittently, as does the nano that I didn't physically damage. I have no idea why they are so flakey. (Other than being chinese knockoffs) The Uno and the mega I would like to get running again tho.

The uno makes the computer 'ding' when I plug it in. It comes up as uno com1 in device manager. But it will not program USB. I get a sync error every time. However, using the USBASP, either with avrdude, or the IDE programs it perfectly every single time. I have tried reflashing the 16u2 as well as the bootloader. (I even bought a 2nd 328) The flashes go thru successfully, but same thing... sync error. I have no clue why and wasn't doing anything nefarious to it when it quit.

The Mega does not make the computer ding and nothing shows in device manager. I can sucessfully flash both chips, yet no ding and no changes in device manager. But the USB does power it up. The sketch runs once in a while but mostly I get a solid power and solid 13.

Any ideas??

I can understand why the mega doesn't work because you probably trashed the data in the flash ram but I would think you should be able to reload the bootloader. What I don't understand is why you would have any problem with the other boards.

That's what I thought too. And it SEEMS that I can do that successfully. But then nothing changes. I still get no 'ding' acknowledgement from windows on the Mega, and still have a sync error from the Uno. I am very happy that I can at least program the Uno with the USBasp. Although right now I am having problems with the IDE refusing to use the programmer and instead it insists on using COM no matter what, but I'mma whoop that here shortly.....

Uploading with the wrong board selected doesn't do any harm - it will just fail. I suspect the problem arose because you interrupted the USB transmission in mid stream.

Try the usual Windows solution of reinstalling the Arduino IDE and related drivers. Or switch to Linux.

...R