ERROR 1:
Sketch uses 1249445 bytes (63%) of program storage space. Maximum is 1966080 bytes.
Global variables use 54436 bytes (16%) of dynamic memory, leaving 273244 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM36
Connecting...
A serial exception error occurred: ClearCommError failed (PermissionError(13, 'The device does not recognize the command.', None, 22))
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
ERROR 2:
Sketch uses 1305001 bytes (66%) of program storage space. Maximum is 1966080 bytes.
Global variables use 56924 bytes (17%) of dynamic memory, leaving 270756 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM41
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:85:18:77:8e:9c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
A fatal error occurred: No serial data received.
Failed uploading: uploading error: exit status 2
how do i solve these errors ,i tried updating the drivers i check device manager for the port settings .i tried almost all possible ways.
