Smart Home Automation Forum

Full Version: WindowsError(5, 'Access Denied.')
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HI,
I can't run any code from arduino.

I run the ide with arduine on windows 10.
I installed the drivers that I read in a post for the usb port.

The error:

esptool.py v3.0-dev
Serial port COM3
Traceback (most recent call last):
  File "esptool.py", line 3682, in <module>
  File "esptool.py", line 3675, in _main
  File "esptool.py", line 3329, in main
  File "esptool.py", line 263, in __init__
  File "site-packages\serial\__init__.py", line 88, in serial_for_url
  File "site-packages\serial\serialwin32.py", line 62, in open
serial.serialutil.SerialException: could not open port 'COM3': WindowsError(5, 'Access Denied.')
do you have installed USB driver for board firstly?
this is driver for CH340 USB chip: https://www.kincony.com/download/CH341SER.zip