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
Failed uploading: uploading error: exit status 1
You need to provide more details about your issue.
What project are you following? At which step do you get the issue?
When code is uploaded to board error is showing.
Any code uploaded will show this error during compilation