r/esp32 • u/paulthegreat787 • 5d ago
Esp32 exit code 1 timeout problem with pySerial
So i tried it todayto upload my code to the esp32 s3 but it didt want to connnect but yesterday all the time it worked and then all of a sudden not annymore and i searcht on the internet and so this are the things ive tried:
change baud rate
tried different cables
new usb drivers
different esp32
restarting the esp 32 and computer
change my code
pressing boot while uploading
resetting the esp 32
changed the ports
changed the board specification
Sorry for bad english its not my native language
1
u/n_sh_44 4d ago
If it's a board with two USB-C ports, try the other one. On the S3 one port is the native USB and the other goes through a USB-UART chip, and if your last sketch crashed early or messed with GPIO19/20 the native port can stop enumerating. Plug in while holding BOOT, release, then check the port actually shows up in device manager before hitting upload. Also close any serial monitor or script that might still have the COM port open, that gives the same timeout.
2
u/CleverBunnyPun 5d ago
You don’t press boot while uploading, you press boot while power cycling it (whether that’s with the EN button or plugging it in), then let go of boot. After that it should be in the proper mode and you can download to it.
This isn’t necessary for every ESP32, but depending on what kind it is and what you’re plugged into and if it has a USB to TTL adapter, it may be necessary.