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 0x29f9f0 bytes. Smallest app partition is 0x3f0000 bytes. 0x150610 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 COM3 -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 COM3
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: 44:1b:f6:cf:70:5c
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 0x002bffff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00800000 to 0x00970fff...
SHA digest in image updated
Compressed 16464 bytes to 11431...
Writing at 0x00000000... (100 %)
Wrote 16464 bytes (11431 compressed) at 0x00000000 in 0.4 seconds (effective 335.6 kbit/s)...
Hash of data verified.
Compressed 2750960 bytes to 1599490...
Writing at 0x00020000... (1 %)
Writing at 0x0002bf91... (2 %)
Writing at 0x000399bf... (3 %)
Writing at 0x000458f4... (4 %)
Writing at 0x0004c9ad... (5 %)
Writing at 0x00050d09... (6 %)
Writing at 0x00054faf... (7 %)
Writing at 0x0006382a... (8 %)
Writing at 0x0006d38c... (9 %)
Writing at 0x00079306... (10 %)
Writing at 0x00084c74... (11 %)
Writing at 0x0008ad2b... (12 %)
Writing at 0x00091af3... (13 %)
Writing at 0x00096321... (14 %)
Writing at 0x0009cea6... (15 %)
Writing at 0x000a1dde... (16 %)
Writing at 0x000a6a8e... (17 %)
Writing at 0x000abad5... (18 %)
Writing at 0x000b114e... (19 %)
Writing at 0x000b9b58... (20 %)
Writing at 0x000c2aaf... (21 %)
Writing at 0x000d7174... (22 %)
Writing at 0x000e3632... (23 %)
Writing at 0x000e8d8c... (24 %)
Writing at 0x000ef173... (25 %)
Writing at 0x000f5437... (26 %)
Writing at 0x000fbc36... (27 %)
Writing at 0x00101e96... (28 %)
Writing at 0x00108285... (29 %)
Writing at 0x0010e072... (30 %)
Writing at 0x00113c71... (31 %)
Writing at 0x00119df6... (32 %)
Writing at 0x0011f80b... (33 %)
Writing at 0x0012510a... (34 %)
Writing at 0x0012a53b... (35 %)
Writing at 0x00130895... (36 %)
Writing at 0x00137271... (37 %)
Writing at 0x0013d9a0... (38 %)
Writing at 0x00159aee... (39 %)
Writing at 0x00163c39... (40 %)
Writing at 0x00169762... (41 %)
Writing at 0x0016e6f4... (42 %)
Writing at 0x0017377b... (43 %)
Writing at 0x001785dd... (44 %)
Writing at 0x0017d67a... (45 %)
Writing at 0x00182b7d... (46 %)
Writing at 0x00187b63... (47 %)
Writing at 0x0018cb4a... (48 %)
Writing at 0x001926f3... (50 %)
Writing at 0x001982e1... (51 %)
Writing at 0x0019d761... (52 %)
Writing at 0x001a2c40... (53 %)
Writing at 0x001a87b4... (54 %)
Writing at 0x001adc80... (55 %)
Writing at 0x001b31ff... (56 %)
Writing at 0x001b85ed... (57 %)
Writing at 0x001beb7b... (58 %)
Writing at 0x001c3e2d... (59 %)
Writing at 0x001ca343... (60 %)
Writing at 0x001d01f8... (61 %)
Writing at 0x001d5519... (62 %)
Writing at 0x001da7ac... (63 %)
Writing at 0x001dfab6... (64 %)
Writing at 0x001e501f... (65 %)
Writing at 0x001ea65e... (66 %)
Writing at 0x001f00bf... (67 %)
Writing at 0x001f537f... (68 %)
Writing at 0x001fa9e1... (69 %)
Writing at 0x001fff76... (70 %)
Writing at 0x002053e1... (71 %)
Writing at 0x0020a601... (72 %)
Writing at 0x0020f587... (73 %)
Writing at 0x00214dff... (74 %)
Writing at 0x0021a6a1... (75 %)
Writing at 0x0021fb65... (76 %)
Writing at 0x00224eae... (77 %)
Writing at 0x0022a4d0... (78 %)
Writing at 0x002302c4... (79 %)
Writing at 0x00235316... (80 %)
Writing at 0x0023a326... (81 %)
Writing at 0x00241ca7... (82 %)
Writing at 0x002490ed... (83 %)
Writing at 0x00250beb... (84 %)
Writing at 0x002587bd... (85 %)
Writing at 0x0025e910... (86 %)
Writing at 0x00264346... (87 %)
Writing at 0x00269cea... (88 %)
Writing at 0x0026f401... (89 %)
Writing at 0x0027a70a... (90 %)
Writing at 0x00285d71... (91 %)
Writing at 0x0028d1cf... (92 %)
Writing at 0x00293961... (93 %)
Writing at 0x00298df8... (94 %)
Writing at 0x0029e8a7... (95 %)
Writing at 0x002a7b0d... (96 %)
Writing at 0x002adf01... (97 %)
Writing at 0x002b5864... (98 %)
Writing at 0x002bbc08... (100 %)
Wrote 2750960 bytes (1599490 compressed) at 0x00020000 in 20.6 seconds (effective 1069.2 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 359.6 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 516.0 kbit/s)...
Hash of data verified.
Compressed 1508864 bytes to 998482...
Writing at 0x00800000... (1 %)
Writing at 0x0081009b... (3 %)
Writing at 0x008172be... (4 %)
Writing at 0x0081d162... (6 %)
Writing at 0x008231cc... (8 %)
Writing at 0x00829363... (9 %)
Writing at 0x0082ee63... (11 %)
Writing at 0x0083496b... (13 %)
Writing at 0x0083aa67... (14 %)
Writing at 0x008406e1... (16 %)
Writing at 0x00846100... (18 %)
Writing at 0x0084b502... (19 %)
Writing at 0x0085136d... (21 %)
Writing at 0x00856965... (22 %)
Writing at 0x0085c5b4... (24 %)
Writing at 0x008619c5... (26 %)
Writing at 0x00866fb4... (27 %)
Writing at 0x0086ca69... (29 %)
Writing at 0x0087225d... (31 %)
Writing at 0x00877434... (32 %)
Writing at 0x0087cbc3... (34 %)
Writing at 0x00882923... (36 %)
Writing at 0x008881c4... (37 %)
Writing at 0x0088dc44... (39 %)
Writing at 0x0089327c... (40 %)
Writing at 0x00898c64... (42 %)
Writing at 0x0089e2c4... (44 %)
Writing at 0x008a37a3... (45 %)
Writing at 0x008a8ad3... (47 %)
Writing at 0x008b1053... (49 %)
Writing at 0x008ba81b... (50 %)
Writing at 0x008cbd1a... (52 %)
Writing at 0x008d351a... (54 %)
Writing at 0x008d7fca... (55 %)
Writing at 0x008dcece... (57 %)
Writing at 0x008e1ef4... (59 %)
Writing at 0x008e6375... (60 %)
Writing at 0x008ead42... (62 %)
Writing at 0x008f0565... (63 %)
Writing at 0x008f5cda... (65 %)
Writing at 0x008fb891... (67 %)
Writing at 0x0090104a... (68 %)
Writing at 0x00905b2a... (70 %)
Writing at 0x0090a180... (72 %)
Writing at 0x0090f6b7... (73 %)
Writing at 0x009149df... (75 %)
Writing at 0x009195c8... (77 %)
Writing at 0x0091e93f... (78 %)
Writing at 0x009244df... (80 %)
Writing at 0x00929be4... (81 %)
Writing at 0x0092eb8c... (83 %)
Writing at 0x0093417e... (85 %)
Writing at 0x00938e90... (86 %)
Writing at 0x0093d94b... (88 %)
Writing at 0x00942aa1... (90 %)
Writing at 0x0094855a... (91 %)
Writing at 0x00950fba... (93 %)
Writing at 0x0095b34b... (95 %)
Writing at 0x00964571... (96 %)
Writing at 0x009686e9... (98 %)
Writing at 0x0096c876... (100 %)
Wrote 1508864 bytes (998482 compressed) at 0x00800000 in 11.7 seconds (effective 1035.6 kbit/s)...
Hash of data verified.

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