DEV Community

Indra Wahyu
Indra Wahyu

Posted on

16

A fatal esptool.py error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A dev...

I have this error when upload code in Arduino IDE to ESP8266

. Variables and constants in RAM (global, static), used 28104 / 80192 bytes (35%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     1496     initialized variables
╠══ RODATA   920      constants       
╚══ BSS      25688    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 59667 / 65536 bytes (91%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     26899    code in IRAM    
. Code in flash (default, ICACHE_FLASH_ATTR), used 232148 / 1048576 bytes (22%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     232148   code in flash   
esptool.py v3.0
Serial port COM8

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)
Enter fullscreen mode Exit fullscreen mode

I solved with install CH340 Driver.

  1. Download CH340 driver from sparkfun.com
  2. Install driver, I use CH340SER.EXE file (just next and next and finish)

reference

sparkfun.com

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (2)

Collapse
 
anikakash_081be89f41213f6 profile image
anikakash

Image description
i have installed ch340 but still face the problem.

Collapse
 
abis_omer profile image
Muhammad Abis Omer

Thanks it is very helpful for me

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more