ESP 8266 Upload Error issue

I am using ESP 8266, I am trying to upload the code but I am getting this error-

Executable segment sizes:
ICACHE : 32768 - flash instruction cache
IROM : 238304 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 27273 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1504 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 932 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25800 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 268013 bytes (27%) of program storage space. Maximum is 958448 bytes.
Global variables use 28236 bytes (34%) of dynamic memory, leaving 53684 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port COM6
Traceback (most recent call last):
File "C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in
esptool.main(cmdline)
File "C:/Users/hp/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3551, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "C:/Users/hp/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 283, in init
self._port.write_timeout = DEFAULT_SERIAL_WRITE_TIMEOUT
File "C:/Users/hp/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/pyserial\serial\serialutil.py", line 392, in write_timeout
self._reconfigure_port()
File "C:/Users/hp/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/pyserial\serial\serialwin32.py", line 224, 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)

Invalid library found in C:\Program Files (x86)\Arduino\libraries\Arduino-master: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\Arduino-master

Everything is good with the code as I have used the same code before.

I installed the CH 34 drivers and it's working now.

So please mark your thread as "solved" to help other users with similar issue.

PS I have changed the topic title to be more definitive.

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