Problem with Wemos D1 mini & Windows 11

Not able to upload code to Wemos d1 mini.
showing following error messeges

Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:

IROM : 228624 - code in flash (default or ICACHE_FLASH_ATTR)

IRAM : 26756 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)

DATA : 1248 ) - initialized variables (global, static) in RAM/HEAP

RODATA : 688 ) / 81920 - constants (global, static) in RAM/HEAP

BSS : 24880 ) - zeroed variables (global, static) in RAM/HEAP

Sketch uses 257316 bytes (24%) of program storage space. Maximum is 1044464 bytes.

Global variables use 26816 bytes (32%) of dynamic memory, leaving 55104 bytes for local variables. Maximum is 81920 bytes.

esptool.py v2.8

Serial port COM8

Traceback (most recent call last):

File "C:\Users\nithe\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in

esptool.main(cmdline)

File "C:/Users/nithe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2889, in main

esp = chip_class(each_port, initial_baud, args.trace)

File "C:/Users/nithe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 249, in init

self._port.write_timeout = DEFAULT_SERIAL_WRITE_TIMEOUT

File "C:/Users/nithe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\serialutil.py", line 388, in write_timeout

self._reconfigure_port()

File "C:/Users/nithe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\serialwin32.py", line 222, in _reconfigure_port

'Original message: {!r}'.format(ctypes.WinError()))

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

its a windows 11, i5 intel processor.

I moved your topic to an appropriate forum category @nitheeshthavakkara.

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

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Have you selected the right board?
Because it reports that you selected

Board: "NodeMCU 1.0 (ESP-12E Module)

Have you installed the correct driver for your board?
Does Windows recognize it?

1 Like

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