Command: ninja flash
[1/5] C:\windows\system32\cmd.exe /C "cd /D E:\software\xiaozhi-esp32-main\build\esp-idf\esptool_py && D:\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:/Espressif/frameworks/esp-idf-v5.5.2/components/partition_table/check_sizes.py --offset 0x8000 partition --type app E:/software/xiaozhi-esp32-main/build/partition_table/partition-table.bin E:/software/xiaozhi-esp32-main/build/xiaozhi.bin"
xiaozhi.bin binary size 0x2a5930 bytes. Smallest app partition is 0x3f0000 bytes. 0x14a6d0 bytes (33%) free.

[2/5] Performing build step for 'bootloader'
[1/1] C:\windows\system32\cmd.exe /C "cd /D E:\software\xiaozhi-esp32-main\build\bootloader\esp-idf\esptool_py && D:\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:/Espressif/frameworks/esp-idf-v5.5.2/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 E:/software/xiaozhi-esp32-main/build/bootloader/bootloader.bin"

Bootloader binary size 0x4050 bytes. 0x3fb0 bytes (50%) free.


[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] C:\windows\system32\cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v5.5.2\components\esptool_py && D:\Espressif\tools\cmake\3.30.2\bin\cmake.exe -D IDF_PATH=D:/Espressif/frameworks/esp-idf-v5.5.2 -D SERIAL_TOOL=D:/Espressif/python_env/idf5.5_py3.11_env/Scripts/python.exe;;D:/Espressif/frameworks/esp-idf-v5.5.2/components/esptool_py/esptool/esptool.py;--chip;esp32s3 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=E:/software/xiaozhi-esp32-main/build -P D:/Espressif/frameworks/esp-idf-v5.5.2/components/esptool_py/run_serial_tool.cmake"
esptool.py --chip esp32s3 -p COM4 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x20000 xiaozhi.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0x800000 generated_assets.bin
esptool.py v4.11.dev2
Serial port COM4
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
USB mode: USB-Serial/JTAG
MAC: 3c:0f:02:de:cc:d4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00020000 to 0x002c5fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00800000 to 0x00928fff...
SHA digest in image updated
Compressed 16464 bytes to 11431...
Writing at 0x00000000... (100 %)
Wrote 16464 bytes (11431 compressed) at 0x00000000 in 0.3 seconds (effective 404.1 kbit/s)...
Hash of data verified.
Compressed 2775344 bytes to 1613112...
Writing at 0x00020000... (1 %)
Writing at 0x0002bef2... (2 %)
Writing at 0x00039e1d... (3 %)
Writing at 0x00045dc3... (4 %)
Writing at 0x0004d743... (5 %)
Writing at 0x00051a85... (6 %)
Writing at 0x00055d7c... (7 %)
Writing at 0x00063715... (8 %)
Writing at 0x0006da0d... (9 %)
Writing at 0x00079803... (10 %)
Writing at 0x000854bd... (11 %)
Writing at 0x0008b927... (12 %)
Writing at 0x000928b4... (13 %)
Writing at 0x0009707d... (14 %)
Writing at 0x0009d8b8... (15 %)
Writing at 0x000a2d4f... (16 %)
Writing at 0x000a79a5... (17 %)
Writing at 0x000ac943... (18 %)
Writing at 0x000b1e48... (19 %)
Writing at 0x000ba05d... (20 %)
Writing at 0x000c375f... (21 %)
Writing at 0x000d5d00... (22 %)
Writing at 0x000e4bd4... (23 %)
Writing at 0x000edb5a... (24 %)
Writing at 0x000f37c7... (25 %)
Writing at 0x000f900b... (26 %)
Writing at 0x000ff4d3... (27 %)
Writing at 0x00105753... (28 %)
Writing at 0x0010be8d... (29 %)
Writing at 0x001121e5... (30 %)
Writing at 0x001185c5... (31 %)
Writing at 0x0011e44b... (32 %)
Writing at 0x00124066... (33 %)
Writing at 0x0012a119... (34 %)
Writing at 0x0012fb46... (35 %)
Writing at 0x00135470... (36 %)
Writing at 0x0013a7e7... (37 %)
Writing at 0x00140c81... (38 %)
Writing at 0x00147597... (39 %)
Writing at 0x0014dc17... (40 %)
Writing at 0x00169e29... (41 %)
Writing at 0x00173c1d... (42 %)
Writing at 0x00179ae1... (43 %)
Writing at 0x0017eb42... (44 %)
Writing at 0x00183bcf... (45 %)
Writing at 0x00188a32... (46 %)
Writing at 0x0018da98... (47 %)
Writing at 0x00192f14... (48 %)
Writing at 0x00197f28... (49 %)
Writing at 0x0019cef2... (50 %)
Writing at 0x001a2a44... (51 %)
Writing at 0x001a86b8... (52 %)
Writing at 0x001add87... (53 %)
Writing at 0x001b31d1... (54 %)
Writing at 0x001b8de7... (55 %)
Writing at 0x001be14f... (56 %)
Writing at 0x001c3538... (57 %)
Writing at 0x001c8b63... (58 %)
Writing at 0x001cef5a... (59 %)
Writing at 0x001d43ca... (60 %)
Writing at 0x001da665... (61 %)
Writing at 0x001e02ac... (62 %)
Writing at 0x001e5ee4... (63 %)
Writing at 0x001eb17e... (64 %)
Writing at 0x001f0471... (65 %)
Writing at 0x001f5956... (66 %)
Writing at 0x001fae5b... (67 %)
Writing at 0x00200795... (68 %)
Writing at 0x00205e28... (69 %)
Writing at 0x0020b205... (70 %)
Writing at 0x00210690... (71 %)
Writing at 0x00215e7b... (72 %)
Writing at 0x0021af08... (73 %)
Writing at 0x002200ce... (74 %)
Writing at 0x002256b9... (75 %)
Writing at 0x0022af6a... (76 %)
Writing at 0x0023045f... (77 %)
Writing at 0x0023576f... (78 %)
Writing at 0x0023ad89... (79 %)
Writing at 0x00240dfa... (80 %)
Writing at 0x00245e23... (81 %)
Writing at 0x0024aed7... (82 %)
Writing at 0x0025100d... (83 %)
Writing at 0x00258c6f... (84 %)
Writing at 0x002609e9... (85 %)
Writing at 0x002689cb... (86 %)
Writing at 0x0026f114... (87 %)
Writing at 0x00274767... (88 %)
Writing at 0x0027a34f... (89 %)
Writing at 0x0027fdaa... (90 %)
Writing at 0x00285b5d... (91 %)
Writing at 0x002938b2... (92 %)
Writing at 0x0029d48a... (93 %)
Writing at 0x002a44d3... (94 %)
Writing at 0x002a94f2... (95 %)
Writing at 0x002aee74... (96 %)
Writing at 0x002b5079... (97 %)
Writing at 0x002bc50c... (98 %)
Writing at 0x002c2a74... (100 %)
Wrote 2775344 bytes (1613112 compressed) at 0x00020000 in 19.9 seconds (effective 1118.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 142...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (142 compressed) at 0x00008000 in 0.1 seconds (effective 384.1 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x0000d000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 511.0 kbit/s)...
Hash of data verified.
Compressed 1216160 bytes to 810511...
Writing at 0x00800000... (2 %)
Writing at 0x0081009b... (4 %)
Writing at 0x008172be... (6 %)
Writing at 0x0081d162... (8 %)
Writing at 0x008231d0... (10 %)
Writing at 0x00829363... (12 %)
Writing at 0x0082ee64... (14 %)
Writing at 0x0083496b... (16 %)
Writing at 0x0083aa68... (18 %)
Writing at 0x008406e2... (20 %)
Writing at 0x00846100... (22 %)
Writing at 0x0084b503... (24 %)
Writing at 0x0085136e... (26 %)
Writing at 0x00856965... (28 %)
Writing at 0x0085c5b4... (30 %)
Writing at 0x008619c5... (32 %)
Writing at 0x00866fb5... (34 %)
Writing at 0x0086ca69... (36 %)
Writing at 0x0087225d... (38 %)
Writing at 0x00877434... (40 %)
Writing at 0x0087cbc3... (42 %)
Writing at 0x00882923... (44 %)
Writing at 0x008881c4... (46 %)
Writing at 0x0088dc4a... (48 %)
Writing at 0x0089327c... (50 %)
Writing at 0x00898c65... (52 %)
Writing at 0x0089e2c5... (54 %)
Writing at 0x008a37a5... (56 %)
Writing at 0x008a8ad3... (58 %)
Writing at 0x008b1053... (60 %)
Writing at 0x008ba81c... (62 %)
Writing at 0x008cbd1b... (64 %)
Writing at 0x008d34a6... (66 %)
Writing at 0x008d8254... (68 %)
Writing at 0x008dd89b... (70 %)
Writing at 0x008e26ab... (72 %)
Writing at 0x008e6b2c... (74 %)
Writing at 0x008eb82d... (76 %)
Writing at 0x008f0f88... (78 %)
Writing at 0x008f61b1... (80 %)
Writing at 0x008fbc8f... (82 %)
Writing at 0x009017d1... (84 %)
Writing at 0x009069fa... (86 %)
Writing at 0x0090b082... (88 %)
Writing at 0x0090febe... (90 %)
Writing at 0x00915a4b... (92 %)
Writing at 0x0091ac01... (94 %)
Writing at 0x0091eced... (96 %)
Writing at 0x00922e29... (98 %)
Writing at 0x00926ff9... (100 %)
Wrote 1216160 bytes (810511 compressed) at 0x00800000 in 8.1 seconds (effective 1208.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
