I am using a windows OS and I tried running a .ino code in arduino IDE for ESP8266 and came across the following error while trying to upload the code to ESP8266.
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 got to know that this error is being encountered by many people right now. I've used arduino IDE with esp8266 for some time now and this is the first time such an error has popped up. And I think it has something to do with the libraries or drivers installed while setting up the arduino IDE for ESP8266.
I encountered a similar issue and was able to resolve it by installing the CH340_driver. The CH340 driver provides essential support for devices utilizing the CH340 chipset, ensuring proper communication with your computer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With