Sketch uses 756385 bytes (57%) of program storage space. Maximum is 1310720 bytes.
Global variables use 43716 bytes (13%) of dynamic memory, leaving 283964 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM4
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/troubleshooting.html
Failed uploading: uploading error: exit status 1
I am quite new to this esp 32 and i am trying to upload the code to my esp 32 but again and again getting this error.