Port busy error message on pro micro board

I am kind of new to the Arduino community. I am posting this as a last resort after trying fixes from other posts. I recently got a pro micro (link) and an ESP-12F module to make a project. I needed to flash the ESP-12F over the pro micro by soldering them together. When I uploaded the code (link to the code) to the pro micro to let me do this, I got an error message that says:

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:2061)
	at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM5'.
	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 - COM5; 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 looked for port busy fixes but none of them worked. Another thing to mention is the constantly blinking TX LED. I hope this is enough information. Thanks in advance!

This error indicates the port is open in some other application. Only one at a time is allowed to use the port. That could even be the Serial Monitor from another instance of the Arduino IDE if you have multiple IDEs running at once.

So if you have another application running that uses the port, make sure to close it.

You should also make sure you have the right port selected from the Tools > Port menu of the Arduino IDE. The port of the Pro Micro should be identified in that menu, but you can also use this procedure to make sure you have the right port:

  1. Unplug your Arduino board from the computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Note the ports, if any, listed in the menu.
  4. Close the Tools menu.
    The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Plug your Arduino board into the computer.
  6. Select Tools > Port from the Arduino IDE menus. - The new port listed in the menu is the one for your Arduino board.

If you can't find another application using the port and you have made sure the port selection is correct, try restarting your computer. In rare cases, the port can get stuck in an unusable state and restarting the computer fixes this.

Thanks for your response! I have tried this already and it still gives me the same error. I also just tried to upload the code to the pro micro on another computer and I am still getting the same error.

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