How to unbrick my Leonardo

So I've just started with my brand new Leonardo. The first sketch was simple and did nothing to the USB. The second one, using a joystick library, failed during upload.

So no matter what I do now it will not recognize as a COM device. The best I get is Windows complaining about an unrecognizable USB device for a second or two, and then it disappears from the device manager. And not a single second during this reset period does it ever show itself as a COM device.

Is the bootloader fried? I really didn't think a normal sketch would break the bootloader? Is the only way to fix this by using an Uno an hotwire it from that?

NVM, I did this and it worked:

How they managed to say it was gonna take 40 minutes is beyond me. And why this isn't a solution on the Arduino official documentation for the Leonaro I do not understand.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.