Arduino Leonardo Issues

I know this is probably all over this website, but every one I've read so far doesn't seem to help me fix my problem. I am brand new to this and while I think my code is good I can't seem to get it to upload to my Leonardo. I have verified the drivers are correct, I have switched ports. I have swapped out Micro USB cables. I've reset it and my PC and the software countless times. Here is the error message. I hope someone can help.

Sketch uses 5246 bytes (18%) of program storage space. Maximum is 28672 bytes.
Global variables use 302 bytes (11%) of dynamic memory, leaving 2258 bytes for local variables. Maximum is 2560 bytes.
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2047)
at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM7'.
at processing.app.Serial.touchForCDCReset(Serial.java:107)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
... 5 more
Caused by: jssc.SerialPortException: Port name - COM7; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:101)
... 6 more

Is your board official Arduino or a clone? Try using IDE 1.8.15 and installing the latest core for your board via the board manager, see www.arduino.cc/en/Guide/Cores

First question is if the board is recognised in Windows device manager as an Arduino Leonardo?

Second question is what happens in Windows device manager when you press and release the reset button? The Arduino Leonardo should disappear (if it is there) and you should see something like Arduino Leonardo (boot loader) with a different COM port.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.