ArduinoCore-stm32l0 icon indicating copy to clipboard operation
ArduinoCore-stm32l0 copied to clipboard

Gnat USB Problem

Open DiegoVelosa opened this issue 2 years ago • 1 comments

I connect the Gnat and it recognizes the port but when I upload the program it compiles well but generates an error: "An error occurred while sending the sketch" and disconnects the Gnat from the port on the Arduino. I already did the reset process with the buttons but it doesn't work. I did the whole driver installation process and it still doesn't work.

DiegoVelosa avatar Dec 02 '21 16:12 DiegoVelosa

Do the reset process:

toggle the RESET button while holding down the BOOT button and program

but this time upload the simplest working sketch you can find, preferably something like the standard Arduino 'Blink' sketch.

I get the issue you're having a lot. Even when my sketch is working fine it will occasionally glitch out on me like this. The process of uploading any other working sketch seems to do the trick for me (with the correct Board chosen in the arduino menu, and after doing the BOOT button reset).

Hopefully you got passed this by now.

DanielArnett avatar Feb 26 '22 20:02 DanielArnett