Sketch uses 977216 bytes (29%) of program storage space. Maximum is 3342336 bytes.
Global variables use 59672 bytes (18%) of dynamic memory, leaving 268008 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.8.1
Serial port COM8
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 98:3d:ae:e5:98:6c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000fefff...
Compressed 20160 bytes to 12987...
Writing at 0x00000000... (100 %)
Wrote 20160 bytes (12987 compressed) at 0x00000000 in 0.4 seconds (effective 416.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 134...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (134 compressed) at 0x00008000 in 0.1 seconds (effective 236.5 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 468.2 kbit/s)...
Hash of data verified.
Compressed 977584 bytes to 635480...
Writing at 0x00010000... (2 %)
Writing at 0x0001c340... (5 %)
Writing at 0x00024b11... (7 %)
Writing at 0x000289f9... (10 %)
Writing at 0x00030356... (12 %)
Writing at 0x0003b75d... (15 %)
Writing at 0x00044a3f... (17 %)
Writing at 0x0004a42e... (20 %)
Writing at 0x0004fb42... (23 %)
Writing at 0x000554f1... (25 %)
Writing at 0x0005a86c... (28 %)
Writing at 0x0005fc0d... (30 %)
Writing at 0x000651d0... (33 %)
Writing at 0x0006a58d... (35 %)
Writing at 0x0006fd27... (38 %)
Writing at 0x00074f2a... (41 %)
Writing at 0x0007a1a6... (43 %)
Writing at 0x0007f6dc... (46 %)
Writing at 0x00084ad4... (48 %)
Writing at 0x0008bcb7... (51 %)
Writing at 0x000913e0... (53 %)
Writing at 0x00096b42... (56 %)
Writing at 0x0009c60e... (58 %)
Writing at 0x000a1b1a... (61 %)
Writing at 0x000a69b5... (64 %)
Writing at 0x000ab960... (66 %)
Writing at 0x000b0d38... (69 %)
Writing at 0x000b61b1... (71 %)
Writing at 0x000bb287... (74 %)
Writing at 0x000c044e... (76 %)
Writing at 0x000c5ee9... (79 %)
Writing at 0x000cbc23... (82 %)
Writing at 0x000d1052... (84 %)
Writing at 0x000dc2f8... (87 %)
Writing at 0x000e1ddd... (89 %)
Writing at 0x000e6d00... (92 %)
Writing at 0x000ee50b... (94 %)
Writing at 0x000f40a1... (97 %)
Writing at 0x000f9b00... (100 %)
Wrote 977584 bytes (635480 compressed) at 0x00010000 in 7.5 seconds (effective 1044.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting with RTC WDT...
A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, '����ϵͳ�ϵ��豸û�з������á�', None, 31)
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 searched almost all the websites and asked many people but in vain,who can help me!!??