Sketch uses 3956 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes (5%) of dynamic memory, leaving 2411 bytes for local variables. Maximum is 2560 bytes.
Performing 1200-bps touch reset on serial port COM10
Waiting for upload port...
No upload port found, using COM10 as fallback
"C:\Users\neu\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\neu\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega32u4 -cavr109 "-PCOM10" -b57600 -D "-Uflash:w:C:\Users\neu\AppData\Local\Temp\arduino\sketches\F7626B79F4B071961D9AB4BE82167AD5/Blink.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\neu\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM10
Using Programmer : avr109
Overriding Baud Rate : 57600
avrdude: ser_open(): can't open device "\\.\COM10": Das System kann die angegebene Datei nicht finden.
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Since today I get the above error when trying to upload any sketch. This specific error was generated with the example Blink sketch, just to keep things simple. Until yesterday the Leonardo would disconnect and reconnect after verifying the sketch but it would still upload successfully. Now it disconnects and stays disconnected, even with leaving the USB cable plugged in.
I have a USBasp programmer with a 6-pin ICSP adapter and using that the sketch uploads successfully, but when I reconnect the regular USB cable the built-in LED stops blinking (it's on steady) and the RX and TX lights blink rapidly - without uploading anything. I also tried burning the bootloader, which is successful, but it makes no difference.
Is the Leonardo broken?