Problem uploading code to a ESP8266 from win 11

Hello, i have a problem, I'm using win 11 and try to upload a really simple sketch, it only prints the MAC address to a "Node Mcu V3. but is not letting me upload it, the error says:

"
. Variables and constants in RAM (global, static), used 28152 / 80192 bytes (35%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1496 initialized variables
╠══ RODATA 976 constants
╚══ BSS 25680 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 59747 / 65536 bytes (91%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 26979 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 237248 / 1048576 bytes (22%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 237248 code in flash
esptool.py v3.0
Serial port COM4

A fatal esptool.py error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
"
I have installed twice de CH340 driver but is still not working.

I used to work on a win 10 and didn't had any problems but since I changed laptop hasn't worked.

Hi @charly_32. I know you already mentioned the CH340 driver in your post, but I would like to verify this is actually the chip on your board before continuing. The reason I am not already certain is because it is quite common for people having problems with ports or uploading to install the CH340 driver according to some advice they found on the Internet even when their board has a different USB to serial chip (meaning the advice they found was not relevant).

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.

1 Like

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