Pro Micro issue

I've used these Pro Micro Mega 32U4 on a couple of other projects, but now I can't seem to load any sketch. The Board is identified as a Leonardo, is seen in IDE as such on the correct comm port and looks like everything is okay. Good sketch, verified on a Uno. But I get this error when uploading.

In file included from C:\Users\Randy\AppData\Local\Temp\arduino_modified_sketch_563047\ColorPalette.ino:1:0:
C:\Users\Randy\Documents\Arduino\libraries\FastLED\src/FastLED.h:14:21: note: #pragma message: FastLED version 3.004.000

pragma message "FastLED version 3.004.000"

^~~~~~~~~~~~~~~~~~~~~~~~~~~
Sketch uses 7886 bytes (27%) of program storage space. Maximum is 28672 bytes.
Global variables use 314 bytes (12%) of dynamic memory, leaving 2246 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port COM10
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:2055)
at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM10'.
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 - COM10; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:101)
... 6 more

I haven't a clue what it could be. Any help is appreciated.

Make sure you don’t have any other applications running that might have the port open. Only one application can have a serial port open at a time.

Try restarting your computer. Sometimes a glitch causes the port to get stuck open and restarting fixes that.

Brilliant! I did another reboot, but this time I did not connect the board until after I opened IDE. It worked, thanks for pointing me to the basics.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

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