ESP32 Upload Failed

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: Troubleshooting - ESP32 - — esptool.py latest documentation
Failed uploading: uploading error: exit status 1

I've fixed the driver issue but is still showing me this error, what should I do

Hi @cakeman2003. I'm going to ask you to post the full verbose output from an upload attempt.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino > Preferences... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to "Show verbose output during: compilation" in the "Preferences" dialog.
  3. Check the box next to "Show verbose output during: ☐ upload".
  4. Click the "OK" button.
  5. Attempt an upload, as you did before.
  6. After the upload fails, you'll see a button on the right side of the orange bar in Arduino IDE: Copy error messages. Click that button.
    This copies the full output to the clipboard.
  7. Open a forum reply here by clicking the "Reply" button.
  8. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block icon on toolbar
  9. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  10. Move the cursor outside of the code block markup before you add any additional text to your reply.
  11. Click the "Reply" button to post the output.

Sketch uses 262569 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21388 bytes (6%) of dynamic memory, leaving 306292 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\User\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1/esptool.exe" --chip esp32 --port "COM3" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "C:\Users\User\AppData\Local\Temp\arduino\sketches\55C8E13DE32BBC3160FD89E1FB399E58/GetChipID.ino.bootloader.bin" 0x8000 "C:\Users\User\AppData\Local\Temp\arduino\sketches\55C8E13DE32BBC3160FD89E1FB399E58/GetChipID.ino.partitions.bin" 0xe000 "C:\Users\User\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\User\AppData\Local\Temp\arduino\sketches\55C8E13DE32BBC3160FD89E1FB399E58/GetChipID.ino.bin"
esptool.py v4.5.1
Serial port COM3
Connecting...

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/`Use code tags to format code for the forumtroubleshooting.html Failed uploading: uploading error: exit status 1Use code tags to format code for the forum`

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.