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
    May 11 '19 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? May 11 '19 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.
    – djones
    May 11 '19 at 20:07

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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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