[Solved] Wipe out sketch from arduino the hard way - 8U2 firmware bug

Sounds like the 8U2 firmware bug on the Uno/Mega2560. Upgrading the firmware will probably cure it if it is.

This is the easy way of putting it in DFU mode :