Arduino Web Editor disconnects my raspberry pi pico board

Hello. I want to run code on my Raspberry Pi Pico from the Arduino Web Editor. The web editor can identify my board and the port it is connected to. It verifies the code successfully and start the upload process. However, it suddenly disconnect, and throws this error message: "Restarting in bootloader mode

1200-bps touch: opening port at 1200bps: Serial port busy"

Is there some special setup I need in order to run codes from the web editor to the pico? Kindly assist.

Hi @kevin_odero. This error indicates that the serial port of the Pico board is open in some other application.

Do you have Arduino IDE running? If so, close all the Arduino IDE windows and try uploading again.

Do you have the Arduino Cloud serial monitor open? If so, close the serial monitor window and try uploading again.

Do you have any other applications (e.g., a standalone terminal program) running that might be using the serial port of the Pico? If so, close them (or take whatever actions are needed to cause them to close the port) and try uploading again.

If you don't know of any application that might have the port open, restart your computer and then try uploading again. In some rare cases, a rogue process might have the port open. Restarting the computer will kill that process and restore the port to a usable state.

Hi @ptillisch . I have closed everything and restarted my computer but I still get the same error. Before it disconnects it opens the pico as mass storage then throws the error.

Uploading code to the arduino nano 33 BLE works fine. Also uploading code using the local Arduino IDE works okay with the Pico. This only happens when using the web editor.

I'm sorry to hear that. You can try this technique to identify the process that is using the port:

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

This is strange. It is the connection to the serial port that signals the Pico to go into this mass storage mode in preparation for the upload. I would not expect it to go into that mode if the connection to the serial port failed.

Thank you for sharing the link. I can't see any process that's using the port.

Yes, it's strange and I just can't figure it out.

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