Hello. Pulling hair out here trying to upload to an ESP32-CAM and could really do with some help...
I get the following error:
Sketch uses 693449 bytes (22%) of program storage space. Maximum is 3145728 bytes.
Global variables use 37536 bytes (11%) of dynamic memory, leaving 290144 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.2.1
Serial port COM6
Connecting...Traceback (most recent call last):
File "esptool.py", line 34, in
File "esptool_init_.py", line 1004, in main
File "esptool_init.py", line 646, in main
File "esptool_init_.py", line 895, in get_default_connected_device
File "esptool\loader.py", line 631, in connect
File "esptool\loader.py", line 572, in _connect_attempt
File "esptool\loader.py", line 435, in sync
File "esptool\loader.py", line 365, in command
File "esptool\loader.py", line 317, in write
File "serial\serialwin32.py", line 325, in write
serial.serialutil.SerialTimeoutException: Write timeout
[18120] Failed to execute script 'esptool' due to unhandled exception!
An error occurred while uploading the sketch
The board is ESP32-CAM like the one here:
I have tried the following:
Uninstall/reinstall IDE
v1.8 and v2 IDEs
Different usb cables
Different PC and laptop
Buying another ESP32-CAM board
Uninstalling/reinstalling CH340 driver
Selecting generic ESP32 Dev board instead of AI Thinker ESP32-CAM board in the IDE
Praying
I have read upload baud rate could be an issue, but with the AI board selected the option to change speed vanishes from the menus.
Any help would be much appreciated
Thanks!