Hi everyone,
I'm currently having an issue with my Leonardo where the COM port disappears once the Leonardo exits the bootloader. This means I can't use any USB serial communications with it, and in order to upload a program, I have to reset the board and trigger the upload while it's resetting.
I have tried uploading the Blink example, as suggested in other forum posts, however this doesn't fix the issue.
I can use an Arduino Uno as an ISP to burn the bootloader to the Leonardo, and doing so causes the COM port to reappear (Arduino Leonardo bootloader when resetting, and Arduino Leonardo when running the default program), however as soon as I upload any program to the board the COM port that's used for the program disappears (bootloader one stays present when resetting).
Does anyone know how to fix this issue?
The fact that flashing the bootloader fixes it temporarily indicates to me it might be something wrong with how the Arduino IDE is set up on my system.
I'm currently running Arduino IDE v1.8.13, and my OS is Windows 10 Version 2004.
Thanks in advance