Esp32 uploading error

Hello Arduino World.
I am trying to upload the sketch to ESP32 DEVKIT V1 and face with the following problem:
"Connecting............

A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers."

Some ideas?

Hi @stanislav_p. Please tell us which USB to serial adapter chip your Arduino board has. This is a black chip near the USB socket.

The chip will usually be identified by writing on the top. This might say something like "WCH CH340G" or "SILABS CP2102".

Examples:

WCH CH340

CH340

📷

SparkFun - CC BY-SA 4.0 (cropped)

Silicon Labs CP2102

CP2102

📷

SparkFun - CC BY-SA 4.0 (cropped)


If it isn't clear, alternatively you can provide the link to where you bought the board from and we'll see if we can determine the chip from the product listing.

I moved your topic to a more appropriate forum category @stanislav_p.

The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

SILABS CP2102

If it's a 38-pin version, try keeping the 'boot' button pressed from the moment compile is completed until the upload actually starts with a 2 way communication.

Thanks for the replay, but it still doesn't work. I suggest any USB driver issue. I work in Windows11 and use the last updated CP210x USB to UART version

If the port is visible within the IDE, then it is recognized. Cable can be an issue,
Can you show us the unit you bought ?


Ah yes those are a 30-pin, those are pretty good, don't know what's wrong, try a different cable and a different Hub maybe. The driver should be fine as well. What IDE are you using ?

Thank you, everyone. All I did was reduce the upload speed and everything was fine

1 Like

What was the speed before ?

921600

Hmm well that works fine for me on similar boards, but maybe the cable is not to good or something with W11 or the Pc or even just the USB hub.

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