TOUCH: error during reset: opening port at 1200bps: Serial port busy

Hello, recently it has been happening to me very often to the point that it is now constant.

I'm using Arduino IDE 2.2.1 on my Win10 and the rp2040 nano connect board
Every time I want to download the code on the board it appears:

"Unable to reset port: TOUCH: error during reset: opening port at 1200bps: Serial port busy
Failed uploading: uploading error: exit status 1"
I have not been able to download the code again
I have tried the following:

  • Do a hard reset from the rp2040 by holding the button for 10 seconds.
  • I have disabled and enabled the connection port
  • I changed the cable
  • I have changed the board for another rp2040 and it automatically changes the port.
  • I have restarted the PC
  • I have used another code
  • I have closed and opened the Arduino IDE
  • I have reinstalled the Arduino IDE
    and nothing works.
    However, the RP2040 has the last code that I downloaded and it is functional to display on the serial monitor, and every time I connect it to the PC or do a reset I can see the values on the serial monitor.
    With everything I have done I should have been able to repair the problem but it remains.
    Any of you have this problem and have you resolved it?

Hi @hching. This error can occur when the port is open in another application. Only one application can have a serial port open at a time so Arduino IDE can't perform an upload under these conditions.

Check to see whether you have any applications running on your computer that might use the port. If they are, close them and then try the upload again.

If you aren't aware of any such application running on your computer, you can try the technique described in this Arduino Help Center article:

https://support.arduino.cc/hc/en-us/articles/4407830972050-Find-and-stop-process-blocking-a-port#windows

Arduino IDE is smart enough to automatically close the connection in the integrated Serial Monitor so that it doesn't interfere with the upload. However, just in case that port juggling system is not working correctly, please try an upload after closing the Serial Monitor by clicking the X icon on the "Serial Monitor" tab in the bottom panel of the Arduino IDE window:

2 Likes

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