Hello,
I created a custom board for the ESP32S3-WROOM-16R8, after fiddling around with the ESP32-S3-DevKitC-1 and getting everything to work.
Two days ago I was able to upload code to the board, but now I am unable to and get the error:
A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
The way I upload to the board is:
- Get the board into boot mode with pressing/holding GPIO0 & Pressing/releasing RESET
- A new COM port appears, so I select that in the IDE
- Select UPLOAD.
The settings used are:
USB CDC On Boot: Enabled
CPU Frequency: 240MHz
Core Debug Level: Debug
USB DFU On Boot: Disabled
Erase All Flash Before Sketch Upload: Enabled
Events Run On: Core 1
Flash Mode: DIO 80MHz
Flash Size: 16MB
JTAG adapter: Disabled
Arduino runs on: Core 1
USB Firmware MSC On Boot: Disabled
Partition scheme: 8m with spiffs
PSRAM: OPI PSRAM
Upload Mode: UART0/HardwareCDC
Upload Speed: 115200
USB Mode: Hardware CDC and JTAG
Zigbee Mode: Disabled
Im pretty sure the connection between the PC and MCU is solid, since the code uploaded on the first day writes over serial and looks as the following:
I cannot upload the schematics, but here are some pics:
Also I have tried:
- A different PC with a clean Arduino IDE install
- A second (Similar board), Which has the same issue. Able to upload once but not anymore after.
- The Devkit which has no issues whatsoever
I cant seem to figure out what is going on, does anyone have Ideas or dealt with a similar issue?
Kind regards,
Yari


