Error is as follows
esptool.py v3.0-dev
Serial port COM10
Connecting...
Traceback (most recent call last):
File "esptool.py", line 3682, in <module>
File "esptool.py", line 3675, in _main
File "esptool.py", line 3330, in main
File "esptool.py", line 512, in connect
File "esptool.py", line 492, in _connect_attempt
File "esptool.py", line 431, in sync
File "esptool.py", line 369, in command
File "esptool.py", line 332, in write
File "site-packages\serial\serialwin32.py", line 323, in write
serial.serialutil.SerialTimeoutException: Write timeout
Failed to execute script esptool
An error occurred while uploading the sketch
I also change many port but still gave the same error. I also give the additional board manager URL "https://dl.espressif.com/dl/package_esp32_index.json" I use multiple codes but give the same error, so it is unnecessary to attach the code. by the way, the code is in the C language.