ive connected a SD-Card module, and uploaded a few sketches, and everything was fine. I used PlatformIO to upload the sketches, and it anyoed me, that i had always to press the reset button on the Arduino Leonardo, so i changed it in platformio to com4, and it compiled once and never again, i tried compiling an empty sketch from arduino to it but it dosnt work. I selected the board Arduino Leonardo and it is the correct port (COM4). If i press the reset button it will just log this (it also happens if i unplug the arduino):
Connecting to programmer: .avrdude: ser_recv(): read error: Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen. (The I/O event was stopped due to thread termination)
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_drain(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "�"; type = @
Software Version = �.v; Hardware Version = �.
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Ger�t erkennt den Befehl nicht. (the device cant recognize the command)
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude done. Thank you.
Than if i wait this happens:
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
(now i wait indefenetly)
i tied disconneting 5v and gnd before uploading but nothing helps