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 0x2a7c00 bytes. Smallest app partition is 0x3f0000 bytes. 0x148400 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 0x002c7fff...
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 313.5 kbit/s)...
Hash of data verified.
Compressed 2784256 bytes to 1619179...
Writing at 0x00020000... (1 %)
Writing at 0x0002c48a... (2 %)
Writing at 0x0003a3e5... (3 %)
Writing at 0x00046355... (4 %)
Writing at 0x0004dc7a... (5 %)
Writing at 0x00051fe3... (6 %)
Writing at 0x00056210... (7 %)
Writing at 0x0005f5a8... (8 %)
Writing at 0x0006c7dd... (9 %)
Writing at 0x000777a5... (10 %)
Writing at 0x0008421b... (11 %)
Writing at 0x0008ba4d... (12 %)
Writing at 0x0009246f... (13 %)
Writing at 0x000975b4... (14 %)
Writing at 0x0009d211... (15 %)
Writing at 0x000a27d2... (16 %)
Writing at 0x000a7ce3... (17 %)
Writing at 0x000acaa8... (18 %)
Writing at 0x000b1f8b... (19 %)
Writing at 0x000b8e39... (20 %)
Writing at 0x000c38e4... (21 %)
Writing at 0x000d15b8... (22 %)
Writing at 0x000e3d3d... (23 %)
Writing at 0x000ed10d... (24 %)
Writing at 0x000f39ed... (25 %)
Writing at 0x000f917b... (26 %)
Writing at 0x000ff69c... (27 %)
Writing at 0x00105942... (28 %)
Writing at 0x0010c061... (29 %)
Writing at 0x0011233b... (30 %)
Writing at 0x00118726... (31 %)
Writing at 0x0011e5ab... (32 %)
Writing at 0x00124219... (33 %)
Writing at 0x0012a352... (34 %)
Writing at 0x0012fcd1... (35 %)
Writing at 0x001356d8... (36 %)
Writing at 0x0013a9b2... (37 %)
Writing at 0x00140caa... (38 %)
Writing at 0x001474d5... (39 %)
Writing at 0x0014ddc9... (40 %)
Writing at 0x0016a117... (41 %)
Writing at 0x00173b9d... (42 %)
Writing at 0x00179d51... (43 %)
Writing at 0x0017ed3c... (44 %)
Writing at 0x00183df4... (45 %)
Writing at 0x00188cb0... (46 %)
Writing at 0x0018dd27... (47 %)
Writing at 0x001931a4... (48 %)
Writing at 0x001981de... (49 %)
Writing at 0x0019d0fb... (50 %)
Writing at 0x001a2c63... (51 %)
Writing at 0x001a88df... (52 %)
Writing at 0x001adfc4... (53 %)
Writing at 0x001b3369... (54 %)
Writing at 0x001b8fd5... (55 %)
Writing at 0x001be344... (56 %)
Writing at 0x001c375a... (57 %)
Writing at 0x001c8bd7... (58 %)
Writing at 0x001cf062... (59 %)
Writing at 0x001d45d2... (60 %)
Writing at 0x001da72d... (61 %)
Writing at 0x001e02e0... (62 %)
Writing at 0x001e611e... (63 %)
Writing at 0x001eb2d1... (64 %)
Writing at 0x001f0697... (65 %)
Writing at 0x001f5aaf... (66 %)
Writing at 0x001faff4... (67 %)
Writing at 0x002008ba... (68 %)
Writing at 0x00205f81... (69 %)
Writing at 0x0020b335... (70 %)
Writing at 0x00210846... (71 %)
Writing at 0x0021604c... (72 %)
Writing at 0x0021b033... (73 %)
Writing at 0x0022027e... (74 %)
Writing at 0x002257fa... (75 %)
Writing at 0x0022b0bf... (76 %)
Writing at 0x002305ad... (77 %)
Writing at 0x002358ef... (78 %)
Writing at 0x0023ae88... (79 %)
Writing at 0x00240d40... (80 %)
Writing at 0x00245f51... (81 %)
Writing at 0x0024afde... (82 %)
Writing at 0x00250d5a... (83 %)
Writing at 0x00258ba7... (84 %)
Writing at 0x00260992... (85 %)
Writing at 0x00268828... (86 %)
Writing at 0x0026f166... (87 %)
Writing at 0x00274854... (88 %)
Writing at 0x0027a345... (89 %)
Writing at 0x0027fd7a... (90 %)
Writing at 0x00285c15... (91 %)
Writing at 0x00292efd... (92 %)
Writing at 0x0029d56a... (93 %)
Writing at 0x002a4695... (94 %)
Writing at 0x002a9671... (95 %)
Writing at 0x002aef87... (96 %)
Writing at 0x002b4cfd... (97 %)
Writing at 0x002bc835... (98 %)
Writing at 0x002c2af7... (100 %)
Wrote 2784256 bytes (1619179 compressed) at 0x00020000 in 22.1 seconds (effective 1006.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 309.7 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 514.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 12.0 seconds (effective 1008.1 kbit/s)...
Hash of data verified.

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