I was uploading a sketch to my Arduino Leonardo and I pressed the reset button accidentally while it was still uploading. Now the board does not get recognized by my computer. Is there something that can be done to save it or should I get a new one?

  • activate the bootloader with reset or double reset and upload a working sketch while the bootloader is active
    – Juraj
    Commented May 11, 2019 at 17:43
  • There's no COM port to send the sketch to, even after double reset. How can I upload a sketch when there's no board recognized? Commented May 11, 2019 at 18:05
  • If you can no longer activate the bootloader, even with the double reset method, then it looks like you will have to reinstall the bootloader. Commented May 11, 2019 at 20:07

1 Answer 1


You'll need to program it trough the ISP port with an AVR programmer if you can't program it through a reset or double reset anymore. This can be done using another arduino. A tutorial is on the arduino.cc website.

  • Thank you I will try that. Commented May 15, 2019 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.