When trying to upload my firmware to an ESP8266 board using Arduino IDE 2.2.1 I get

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)

All of my research says that this is a CH340 driver problem, this is not the case. I did try reinstalling the driver. I use Termite as a Serial Monitor which communicates with my ESP8266 just fine. I can use the Arduino Web Editor and upload to the serial port through the Arduino Create with no issue, this has to be an Arduino specific issue are there any fixes for this?

  • try another version of the Arduino IDE
    – jsotola
    Oct 7, 2023 at 16:31
  • Same here, exactly the same problem. I did uninstall and update the driver and it still throws this error. Jan 30 at 11:07


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.