4M Flash版本ESP32-S3模组顺利跑起,有报错
`I (1007889) Application: STATE: listening
I (1009879) Application: STATE: idle
I (1010039) Application: >> 今天天气怎么样?
I (1010089) Application: STATE: speaking
I (1010089) AudioCodec: Set output enable to true
I (1011389) Application: << 今天西宁天气多云,白天最高气温1度,夜间最低气温-10度。
W (1012299) MQTT: Received audio packet with wrong sequence: 34, expected: 32
W (1012779) MQTT: Received audio packet with wrong sequence: 42, expected: 36
W (1013259) MQTT: Received audio packet with wrong sequence: 50, expected: 44
W (1013799) MQTT: Received audio packet with wrong sequence: 59, expected: 53
W (1014039) MQTT: Received audio packet with wrong sequence: 63, expected: 62
W (1014279) MQTT: Received audio packet with wrong sequence: 67, expected: 64
W (1014459) MQTT: Received audio packet with wrong sequence: 75, expected: 74
I (1015209) Application: << 风力不大,南风2级。
I (1015289) main: Free internal: 10060 minimal internal: 416
I (1017789) Application: << 空气质量和湿度都还不错,适合出门走走哦!
I (1022459) Application: STATE: idle
I (1025289) main: Free internal: 22540 minimal internal: 416
I (1033519) AudioCodec: Set output enable to false
I (1035289) main: Free internal: 22540 minimal internal: 416
I (1045289) main: Free internal: 22540 minimal internal: 416
I (1055289) main: Free internal: 22540 minimal internal: 416
I (1065289) main: Free internal: 22540 minimal internal: 416
I (1075289) main: Free internal: 22540 minimal internal: 416
I (1083469) wifi:Set ps type: 1, coexist: 0
I (1085289) main: Free internal: 27948 minimal internal: 416 I (1095289) main: Free internal: 27948 minimal internal: 416 I (1105289) main: Free internal: 27948 minimal internal: 416 I (1115289) main: Free internal: 27948 minimal internal: 416 I (1125289) main: Free internal: 27948 minimal internal: 416 I (1135289) main: Free internal: 27948 minimal internal: 416 I (1145289) main: Free internal: 27908 minimal internal: 416 I (1155289) main: Free internal: 27948 minimal internal: 416 I (1165289) main: Free internal: 27948 minimal internal: 416 I (1175289) main: Free internal: 27908 minimal internal: 416 I (1185289) main: Free internal: 27948 minimal internal: 416 I (1195289) main: Free internal: 27948 minimal internal: 416 I (1205289) main: Free internal: 27948 minimal internal: 416 I (1215289) main: Free internal: 27948 minimal internal: 416 I (1225289) main: Free internal: 27948 minimal internal: 416 I (1235289) main: Free internal: 27948 minimal internal: 416 I (1236559) Application: STATE: connecting I (1236729) MQTT: Session ID: 54d88427 I (1236739) wifi:Set ps type: 0, coexist: 0
I (1236739) Application: STATE: listening I (1238249) Application: STATE: idle I (1238419) Application: >> 唱首歌吧。 I (1238459) Application: STATE: speaking I (1238469) AudioCodec: Set output enable to true I (1238959) Application: << 好呀,你想听什么歌呢? E (1240079) esp-aes: Failed to allocate memory E (1240079) MQTT: Failed to decrypt audio data, ret: -1 W (1240079) MQTT: Received audio packet with wrong sequence: 32, expected: 31 E (1240089) esp-aes: Failed to allocate memory E (1240089) MQTT: Failed to decrypt audio data, ret: -1 W (1240319) MQTT: Received audio packet with wrong sequence: 33, expected: 31 W (1240709) MQTT: Received audio packet with wrong sequence: 39, expected: 38 E (1240709) Dynamic Impl: alloc(4437 bytes) failed E (1240709) esp-tls-mbedtls: write error :-0x7F00 E (1240709) transport_base: esp_tls_conn_write error, errno=Connection already in progress E (1240719) mqtt_client: Writing failed: errno=119 I (1240719) esp_mqtt: MQTT error occurred: ESP_ERR_MBEDTLS_SSL_WRITE_FAILED E (1240729) mqtt_client: Error write qos msg repsonse, qos = 1 W (1241159) MQTT: Received audio packet with wrong sequence: 42, expected: 41 W (1241459) MQTT: Received audio packet with wrong sequence: 49, expected: 46 W (1241709) MQTT: Received audio packet with wrong sequence: 51, expected: 50 W (1241879) MQTT: Received audio packet with wrong sequence: 59, expected: 58 I (1245289) main: Free internal: 26500 minimal internal: 416 I (1255289) main: Free internal: 26500 minimal internal: 416 I (1255929) esp-x509-crt-bundle: Certificate validated I (1265289) main: Free internal: 22448 minimal internal: 416 I (1275289) main: Free internal: 22448 minimal internal: 416`
是不是还是内存小的锅
`I (11900) Application: >> 讲一个笑话。 I (11940) Application: STATE: speaking I (12830) Application: << 好呀,等我想到好笑的就讲给你听。
abort() was called at PC 0x421000a3 on core 1 --- 0x421000a3: __cxxabiv1::__terminate(void (*)()) at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
Backtrace: 0x40379d19:0x3fcb5d90 0x40381dfd:0x3fcb5db0 0x403897f5:0x3fcb5dd0 0x421000a3:0x3fcb5e40 0x421000d8:0x3fcb5e60 0x421001b3:0x3fcb5e80 0x42100246:0x3fcb5ea0 0x4200d021:0x3fcb5ec0 0x4200d036:0x3fcb5ee0 0x4200d06d:0x3fcb5f00 0x4200d08d:0x3fcb5f20 0x4213f9b7:0x3fcb5f60 0x4201473d:0x3fcb5f80 0x42014775:0x3fcb5fc0 0x4200d632:0x3fcb5fe0 0x420168d9:0x3fcb6000 0x42016931:0x3fcb6030 0x4200d632:0x3fcb6050 0x42016ae2:0x3fcb6070 0x42016b31:0x3fcb60b0 0x403828f1:0x3fcb60d0
--- 0x40379d19: panic_abort at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/esp_system/panic.c:454
0x40381dfd: esp_system_abort at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/esp_system/port/esp_system_chip.c:92
0x403897f5: abort at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/newlib/abort.c:38
0x421000a3: __cxxabiv1::__terminate(void ()()) at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
0x421000d8: std::terminate() at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58 (discriminator 1)
0x421001b3: __cxa_throw at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
0x42100246: operator new(unsigned int) at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/new_op.cc:54 (discriminator 2)
0x4200d021: std::__new_allocator
ELF file SHA256: c4762fed5
Rebooting... I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (41) app_init: App version: 1.1.2 I (44) app_init: Compile time: Feb 15 2025 16:44:58 I (49) app_init: ELF file SHA256: c4762fed5... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (61) efuse_init: Max chip rev: v0.99 I (65) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6B90 len 00042B80 (266 KiB): RAM I (80) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (85) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (97) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 66b7ae41-4e5a-4caf-9f1b-64b81421ea40 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0 I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created`
没有PSRAM吗?你是开发板吗?模型选的是哪个
没有PSRAM吗?你是开发板吗?模型选的是哪个
没有PSRAM,自己模组制作的,选取面包板WIFI这个板型,编译关闭PSRAM、语音唤醒、选取4M固件和分区表编译。
试试用Websocket协议。
试试用Websocket协议。
这里的token在哪里获取 还是保持这样就可以
ELF file SHA256: 590f6848d
Rebooting...
���I (36) cpu_start: Multicore app
I (45) cpu_start: Pro cpu start user code
I (45) cpu_start: cpu freq: 240000000 Hz
I (46) app_init: Application information:
I (46) app_init: Project name: xiaozhi
I (49) app_init: App version: 1.1.9
I (53) app_init: Compile time: Feb 17 2025 15:32:10
I (58) app_init: ELF file SHA256: 590f6848d...
I (62) app_init: ESP-IDF: v5.4-dirty
I (66) efuse_init: Min chip rev: v0.0
I (70) efuse_init: Max chip rev: v0.99
I (74) efuse_init: Chip rev: v0.2
I (78) heap_init: Initializing. RAM available for dynamic allocation:
I (84) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM
I (89) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (94) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM
I (100) spi_flash: detected chip: gd
I (102) spi_flash: flash io: qio
I (106) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (112) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (118) main_task: Started on CPU0
I (158) main_task: Calling app_main()
I (178) BackgroundTask: background_task started
I (178) Board: UUID: 9ce89641-df19-42bc-a543-2f3059b783dc
I (178) button: IoT Button Version: 3.5.0
I (178) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (188) button: IoT Button Version: 3.5.0
I (188) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (198) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (208) Application: STATE: starting
I (218) NoAudioCodec: Simplex channels created
I (218) Ssd1306Display: Initialize LVGL
I (218) LVGL: Starting LVGL task
I (218) Ssd1306Display: Install SSD1306 driver
I (228) Ssd1306Display: SSD1306 driver installed
I (228) Ssd1306Display: Turning display on
I (338) Ssd1306Display: Adding LCD screen
I (368) Application: WiFi board detected, setting opus encoder complexity to 3
I (368) AudioCodec: Set input enable to true
I (368) AudioCodec: Set output enable to true
I (388) pp: pp rom version: e7ae62f
I (388) net80211: net80211 rom version: e7ae62f
I (398) wifi:wifi driver task: 3fcd4d18, prio:23, stack:6656, core=0
I (398) wifi:wifi firmware version: 48ea317a7
I (398) wifi:wifi certification version: v7.0
I (398) wifi:config NVS flash: disabled
I (408) wifi:config nano formatting: disabled
I (408) wifi:Init data frame dynamic rx buffer num: 32
I (408) wifi:Init static rx mgmt buffer num: 5
I (418) wifi:Init management short buffer num: 32
I (418) wifi:Init static tx buffer num: 16
I (428) wifi:Init static tx FG buffer num: 2
I (428) wifi:Init static rx buffer size: 1600
I (428) wifi:Init static rx buffer num: 16
I (438) wifi:Init dynamic rx buffer num: 32
I (438) wifi_init: rx ba win: 16
I (448) wifi_init: accept mbox: 6
I (448) wifi_init: tcpip mbox: 32
I (448) wifi_init: udp mbox: 6
I (448) wifi_init: tcp mbox: 6
I (458) wifi_init: tcp tx win: 5760
I (458) wifi_init: tcp rx win: 5760
I (458) wifi_init: tcp mss: 1440
I (468) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10
I (498) wifi:mode : sta (34:b7:da:6b:a1:9c)
I (508) wifi:enable tsf
I (2918) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -46, Channel: 2, Authmode: 4
W (2918) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (3238) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0
I (3238) wifi:state: init -> auth (0xb0)
I (3258) wifi:state: auth -> assoc (0x0)
I (3268) wifi:state: assoc -> run (0x10)
I (3288) wifi:<ba-add>idx:0 (ifx:0, 7c:da:c3:b3:c1:c5), tid:0, ssn:0, winSize:64
I (3308) wifi:connected with ChinaNet-品味酒行, aid = 20, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5
I (3308) wifi:security: WPA2-PSK, phy: bgn, rssi: -46
I (3308) wifi:pm start, type: 1
I (3318) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3318) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3408) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (4358) wifi: Got IP: 192.168.1.11
I (4358) esp_netif_handlers: sta ip: 192.168.1.11, mask: 255.255.255.0, gw: 192.168.1.1
I (4388) MQTT: Connecting to endpoint post-cn-apg3xckag01.mqtt.aliyuncs.com
I (4678) esp-x509-crt-bundle: Certificate validated
I (5258) MQTT: Connected to endpoint
I (5258) Application: STATE: idle
I (5258) Ota: Current version: 1.1.9
I (5258) EspHttp: Opening HTTP connection to https://api.tenclass.net/xiaozhi/ota/
I (5468) esp-x509-crt-bundle: Certificate validated
I (6298) Ota: Current is the latest version
I (6298) Ota: Running from factory partition, skipping
I (6298) Application: STATE: activating
abort() was called at PC 0x42100813 on core 0
--- 0x42100813: __cxxabiv1::__terminate(void (*)()) at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
Backtrace: 0x40379d19:0x3fcecae0 0x40381dfd:0x3fcecb00 0x403897f5:0x3fcecb20 0x42100813:0x3fcecb90 0x42100848:0x3fcecbb0 0x42100923:0x3fcecbd0 0x421009b6:0x3fcecbf0 0x4200c9a5:0x3fcecc10 0x4200cae6:0x3fcecc30 0x42011700:0x3fcecc60 0x42013be9:0x3fcecc80 0x42013e35:0x3fcecd90 0x42013f31:0x3fceceb0 0x403828f1:0x3fceced0
--- 0x40379d19: panic_abort at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/esp_system/panic.c:454
0x40381dfd: esp_system_abort at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/esp_system/port/esp_system_chip.c:92
0x403897f5: abort at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/newlib/abort.c:38
0x42100813: __cxxabiv1::__terminate(void (*)()) at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
0x42100848: std::terminate() at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58 (discriminator 1)
0x42100923: __cxa_throw at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
0x421009b6: operator new(unsigned int) at /builds/idf/crosstool-NG/.build/xtensa-esp-elf/src/gcc/libstdc++-v3/libsupc++/new_op.cc:54 (discriminator 2)
0x4200c9a5: std::__new_allocator<char>::allocate(unsigned int, void const*) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/new_allocator.h:151
(inlined by) std::allocator<char>::allocate(unsigned int) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/allocator.h:196
(inlined by) std::allocator_traits<std::allocator<char> >::allocate(std::allocator<char>&, unsigned int) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/alloc_traits.h:478
(inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_allocate(std::allocator<char>&, unsigned int) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/basic_string.h:131
(inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/basic_string.tcc:159
0x4200cae6: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/basic_string.tcc:229
0x42011700: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned int, std::allocator<char> const&) at D:/MOLUN/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/basic_string.h:632
0x42013be9: Application::ShowActivationCode() at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/application.cc:141 (discriminator 1)
0x42013e35: Application::CheckNewVersion() at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/application.cc:106
0x42013f31: Application::Start()::{lambda(void*)#2}::_FUN(void*) at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/application.cc:407
(inlined by) _FUN at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/application.cc:409
0x403828f1: vPortTaskWrapper at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139
1.1.9 会不断重启 MQTT和Websocket都试过,Websocket会稍微好一点 烧录完毕后台删除设备,重启准备重新添加就一直重启或者显示待命 唤醒就重启
你有改动代码吗?怎么可用的SRAM这么小。
@ooxxU
你有改动代码吗?怎么可用的SRAM这么小。
没有,只调整了几个不同的GPIO,其余部分未改动,退回1.1.2的代码情况会好些
拉一下最新的试试,启用了wifi动态内存,节约了5kb的内存。
拉一下最新的试试,启用了wifi动态内存,节约了5kb的内存。
使用凌晨1点多的代码编译,和@ooxxU沟通过,不接屏幕使用正常,对话流畅。插入0.96屏幕后对话很大概率会导致重启和卡死。 以下日志是不插屏幕 `I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (40) app_init: App version: 1.1.9 I (44) app_init: Compile time: Feb 18 2025 01:23:13 I (49) app_init: ELF file SHA256: 4629b2121... I (53) app_init: ESP-IDF: v5.4-dirty I (57) efuse_init: Min chip rev: v0.0 I (61) efuse_init: Max chip rev: v0.99 I (65) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM I (80) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (85) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (93) spi_flash: flash io: qio I (97) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (109) main_task: Started on CPU0 I (149) main_task: Calling app_main() I (169) BackgroundTask: background_task started I (169) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (169) button: IoT Button Version: 3.5.0 I (169) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (179) button: IoT Button Version: 3.5.0 I (179) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (189) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (199) Application: STATE: starting I (199) NoAudioCodec: Simplex channels created I (209) Ssd1306Display: Initialize LVGL I (209) LVGL: Starting LVGL task I (209) Ssd1306Display: Install SSD1306 driver I (219) Ssd1306Display: SSD1306 driver installed E (219) i2c.master: I2C hardware NACK detected E (229) i2c.master: I2C transaction unexpected nack detected E (229) i2c.master: s_i2c_synchronous_transaction(918): I2C transaction failed E (239) i2c.master: i2c_master_multi_buffer_transmit(1180): I2C transaction failed E (249) lcd_panel.io.i2c: panel_io_i2c_tx_buffer(193): i2c transaction failed E (249) lcd_panel.ssd1306: panel_ssd1306_init(151): io tx param SSD1306_CMD_SET_MULTIPLEX failed E (259) Ssd1306Display: Failed to initialize display I (269) Application: WiFi board detected, setting opus encoder complexity to 3 I (269) AudioCodec: Set input enable to true I (279) AudioCodec: Set output enable to true I (279) pp: pp rom version: e7ae62f I (279) net80211: net80211 rom version: e7ae62f I (299) wifi:wifi driver task: 3fccd584, prio:23, stack:6656, core=0 I (299) wifi:wifi firmware version: 48ea317a7 I (299) wifi:wifi certification version: v7.0 I (299) wifi:config NVS flash: disabled I (309) wifi:config nano formatting: disabled I (309) wifi:Init data frame dynamic rx buffer num: 32 I (309) wifi:Init static rx mgmt buffer num: 5 I (319) wifi:Init management short buffer num: 32 I (319) wifi:Init static tx buffer num: 16 I (329) wifi:Init static tx FG buffer num: 2 I (329) wifi:Init static rx buffer size: 1600 I (339) wifi:Init static rx buffer num: 16 I (339) wifi:Init dynamic rx buffer num: 32 I (339) wifi_init: rx ba win: 16 I (349) wifi_init: accept mbox: 6 I (349) wifi_init: tcpip mbox: 32 I (349) wifi_init: udp mbox: 6 I (349) wifi_init: tcp mbox: 6 I (359) wifi_init: tcp tx win: 5760 I (359) wifi_init: tcp rx win: 5760 I (359) wifi_init: tcp mss: 1440 I (369) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 W (399) phy_init: saving new calibration data because of checksum failure, mode(0) I (429) wifi:mode : sta (34:b7:da:6b:a1:9c) I (429) wifi:enable tsf I (2829) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -45, Channel: 2, Authmode: 4 W (2829) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2 I (3179) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3179) wifi:state: init -> auth (0xb0) I (3189) wifi:state: auth -> assoc (0x0) I (3199) wifi:state: assoc -> run (0x10) I (3229) wifi:connected with ChinaNet-品味酒行, aid = 33, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5 I (3229) wifi:security: WPA2-PSK, phy: bgn, rssi: -43 I (3239) wifi:pm start, type: 1
I (3239) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3249) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3269) wifi:
I (11479) Application: STATE: listening I (15019) main: Free internal: 49720 minimal internal: 33116 I (15799) Application: >> 介绍一下青海湖。 I (15839) Application: STATE: speaking I (15859) AudioCodec: Set output enable to true I (16399) Application: << 青海湖是中国最大的咸水湖,位于青海省。 I (20369) Application: << 它的景色非常壮观,湖水清澈,周围有美丽的草原和雪山。 I (25019) main: Free internal: 36912 minimal internal: 27144 I (28349) Application: << 如果你对自然风光感兴趣,一定不要错过。 I (33099) Application: STATE: listening I (35019) main: Free internal: 49708 minimal internal: 25172 I (45019) main: Free internal: 51656 minimal internal: 25172 I (48119) Application: >> 制作一个基鱼虾割的小智机器人应该注意哪些? I (48139) Application: STATE: speaking I (48499) Application: << 制作一个基于鱼类和虾类的智能机器人, I (52379) Application: << 首先需要考虑的是机器人的材料选择,确保对生物友好且安全。 I (55019) main: Free internal: 37648 minimal internal: 25172 I (59749) Application: << 其次,设计上要模仿鱼类和虾类的游动方式,实现高节能的运动机制。 I (65019) main: Free internal: 36292 minimal internal: 25172 I (68139) Application: << 还要考虑传感技术,比如如何让机器人感知环境变化自动避开障碍。 I (75019) main: Free internal: 39916 minimal internal: 25172 I (75169) Application: Abort speaking I (75289) Application: STATE: listening I (75439) Application: STATE: idle I (75599) Application: >> 好。 I (75649) Application: STATE: speaking I (75839) Application: << 那太好了! I (76979) Application: << 如果有具体的技术问题或者需要建议,随时可以问我。 I (82449) Application: << 我这里也有一些基础的知识可以分享,希望能帮到你。 I (83269) Application: Abort speaking I (83389) Application: STATE: listening I (85019) main: Free internal: 51668 minimal internal: 24476 I (85159) Application: STATE: idle I (85359) Application: >> 你知道deep sick吗? I (85399) Application: STATE: speaking I (85689) Application: << Deepfake 是一种使用人工智能技术生成或修改视频的技术, I (90549) Application: << 可以让视频中的人看起来像是说了他们实际上没有说过的话, I (93379) Application: Abort speaking I (93499) Application: STATE: listening I (94849) Application: STATE: idle I (95009) Application: >> 放一首歌吧。 I (95019) main: Free internal: 50640 minimal internal: 24384 I (95119) Application: STATE: speaking I (96529) Application: << 好的,我来为你唱《小幸运》。 I (98969) Application: << 《小幸运》 I (105019) main: Free internal: 27056 minimal internal: 17812 I (115019) main: Free internal: 29776 minimal internal: 14604 I (119719) Application: Abort speaking I (119839) Application: STATE: listening I (121489) Application: STATE: idle I (121639) Application: >> 你还会唱什么? I (121699) Application: STATE: speaking I (122499) Application: << 我还会唱很多歌,比如《东风破》、《七里香》、《发如雪》、《晴天》。 I (125019) main: Free internal: 42268 minimal internal: 14604 I (129069) Application: << 还有儿歌和一些唐诗朗诵。 I (132449) Application: << 你想听哪一首? I (135019) main: Free internal: 40132 minimal internal: 14604 I (135509) Application: STATE: idle I (140569) Application: STATE: connecting I (140689) MQTT: Session ID: 0c83251e I (140689) wifi:Set ps type: 0, coexist: 0
I (140689) Application: STATE: listening I (144049) Application: >> 唐诗三0百首。 I (144089) Application: STATE: speaking I (144979) Application: << 《唐诗三百首》是一本非常经典的书, I (145019) main: Free internal: 50840 minimal internal: 14604 I (147509) Application: << 里面收录了很多唐代著名诗人的作品。 `
以下日志是插入屏幕 `I (11049) AudioCodec: Set output enable to false I (15149) main: Free internal: 29308 minimal internal: 1152 I (17139) Application: STATE: connecting I (17309) MQTT: Session ID: cf8e27d4 I (17309) wifi:Set ps type: 0, coexist: 0
I (17309) Application: STATE: listening I (20689) Application: STATE: idle I (20859) Application: >> 青山依旧在几度夕阳红。 I (20909) Application: STATE: speaking I (20939) AudioCodec: Set output enable to true I (21359) Application: << 这首歌很有意境,让人感觉很宁静。 W (22819) MQTT: Received audio packet with wrong sequence: 31, expected: 30 W (23119) MQTT: Received audio packet with wrong sequence: 34, expected: 32 W (23219) MQTT: Received audio packet with wrong sequence: 37, expected: 35 W (23599) MQTT: Received audio packet with wrong sequence: 42, expected: 38
abort() was called at PC 0x42100823 on core 1
Backtrace: 0x40379d19:0x3fcb5d90 0x40381dfd:0x3fcb5db0 0x403897f5:0x3fcb5dd0 0x42100823:0x3fcb5e40 0x42100858:0x3fcb5e60 0x42100933:0x3fcb5e80 0x421009c6:0x3fcb5ea0 0x4200d039:0x3fcb5ec0 0x4200d04e:0x3fcb5ee0 0x4200d085:0x3fcb5f00 0x4200d0a5:0x3fcb5f20 0x42140137:0x3fcb5f60 0x42013589:0x3fcb5f80 0x420135c1:0x3fcb5fc0 0x4200d676:0x3fcb5fe0 0x42015c31:0x3fcb6000 0x42015c89:0x3fcb6030 0x4200d676:0x3fcb6050 0x42015e3a:0x3fcb6070 0x42015e89:0x3fcb60b0 0x403828f1:0x3fcb60d0
ELF file SHA256: 4629b2121
Rebooting... I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (41) app_init: App version: 1.1.9 I (45) app_init: Compile time: Feb 18 2025 01:23:13 I (50) app_init: ELF file SHA256: 4629b2121... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (62) efuse_init: Max chip rev: v0.99 I (66) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM I (81) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (86) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (98) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0 I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created I (210) Ssd1306Display: Initialize LVGL I (210) LVGL: Starting LVGL task I (210) Ssd1306Display: Install SSD1306 driver I (220) Ssd1306Display: SSD1306 driver installed I (220) Ssd1306Display: Turning display on I (320) Ssd1306Display: Adding LCD screen I (320) Application: WiFi board detected, setting opus encoder complexity to 3 I (340) AudioCodec: Set input enable to true I (340) AudioCodec: Set output enable to true I (340) pp: pp rom version: e7ae62f I (340) net80211: net80211 rom version: e7ae62f I (350) wifi:wifi driver task: 3fcd41d0, prio:23, stack:6656, core=0 I (350) wifi:wifi firmware version: 48ea317a7 I (350) wifi:wifi certification version: v7.0 I (350) wifi:config NVS flash: disabled I (360) wifi:config nano formatting: disabled I (360) wifi:Init data frame dynamic rx buffer num: 32 I (370) wifi:Init static rx mgmt buffer num: 5 I (370) wifi:Init management short buffer num: 32 I (380) wifi:Init static tx buffer num: 16 I (380) wifi:Init static tx FG buffer num: 2 I (380) wifi:Init static rx buffer size: 1600 I (390) wifi:Init static rx buffer num: 16 I (390) wifi:Init dynamic rx buffer num: 32 I (400) wifi_init: rx ba win: 16 I (400) wifi_init: accept mbox: 6 I (400) wifi_init: tcpip mbox: 32 I (400) wifi_init: udp mbox: 6 I (410) wifi_init: tcp mbox: 6 I (410) wifi_init: tcp tx win: 5760 I (410) wifi_init: tcp rx win: 5760 I (420) wifi_init: tcp mss: 1440 I (420) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 W (460) phy_init: saving new calibration data because of checksum failure, mode(0) I (540) wifi:mode : sta (34:b7:da:6b:a1:9c) I (540) wifi:enable tsf I (2940) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -44, Channel: 2, Authmode: 4 W (2950) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2 I (3270) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3270) wifi:state: init -> auth (0xb0) I (3280) wifi:state: auth -> assoc (0x0) I (3290) wifi:state: assoc -> run (0x10) I (3340) wifi:connected with ChinaNet-品味酒行, aid = 26, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5 I (3340) wifi:security: WPA2-PSK, phy: bgn, rssi: -46 I (3350) wifi:pm start, type: 1
I (3350) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3360) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3380) wifi:
I (14180) Application: STATE: listening I (15200) main: Free internal: 20964 minimal internal: 2000 I (16540) Application: STATE: idle I (16710) Application: >> 桃花潭水深千尺。 I (16750) Application: STATE: speaking I (16780) AudioCodec: Set output enable to true I (17290) Application: << 不如我们一起背诵《赠汪伦》吧! W (19140) MQTT: Received audio packet with wrong sequence: 37, expected: 36 W (19620) MQTT: Received audio packet with wrong sequence: 45, expected: 40 E (19620) Dynamic Impl: alloc(4437 bytes) failed E (19620) esp-tls-mbedtls: write error :-0x7F00 E (19620) transport_base: esp_tls_conn_write error, errno=Connection already in progress E (19630) mqtt_client: Writing failed: errno=119 I (19640) esp_mqtt: MQTT error occurred: ESP_ERR_MBEDTLS_SSL_WRITE_FAILED E (19640) mqtt_client: Error write qos msg repsonse, qos = 1 W (20110) MQTT: Received audio packet with wrong sequence: 53, expected: 47 W (20340) MQTT: Received audio packet with wrong sequence: 62, expected: 60 I (25200) main: Free internal: 25556 minimal internal: 324 I (29920) Application: Abort speaking I (34790) esp-x509-crt-bundle: Certificate validated I (35200) main: Free internal: 21536 minimal internal: 324 I (45200) main: Free internal: 21548 minimal internal: 324 I (55200) main: Free internal: 21548 minimal internal: 324 I (57340) Application: Abort speaking I (65200) main: Free internal: 21548 minimal internal: 324 I (68230) Application: Abort speaking I (68350) Application: STATE: listening I (68660) Application: STATE: idle I (70400) Application: STATE: listening I (72860) Application: STATE: idle I (75200) main: Free internal: 21556 minimal internal: 324 I (79460) Application: STATE: listening I (81500) Application: STATE: idle I (85200) main: Free internal: 21560 minimal internal: 324 I (88790) wifi:Set ps type: 1, coexist: 0
I (90500) AudioCodec: Set output enable to false I (95200) main: Free internal: 26944 minimal internal: 324 I (98630) Application: STATE: connecting I (98640) MQTT: MQTT is not connected, try to connect now W (98640) MQTT: Mqtt client already started I (98750) MQTT: Connecting to endpoint post-cn-apg3xckag01.mqtt.aliyuncs.com I (98990) esp-x509-crt-bundle: Certificate validated I (99570) MQTT: Connected to endpoint I (100600) MQTT: Session ID: c71219a9 I (100600) wifi:Set ps type: 0, coexist: 0
I (100600) Application: STATE: listening I (105080) Application: >> 为什么没有声音? I (105120) Application: STATE: speaking I (105150) AudioCodec: Set output enable to true I (105200) main: Free internal: 21580 minimal internal: 324 I (105610) Application: << 可能是扬声器的音量被调低了。 I (105830) AudioCodec: Set output volume to 100 I (106280) AudioCodec: Set output volume to 100
abort() was called at PC 0x42100823 on core 1
Backtrace: 0x40379d19:0x3fcb5d90 0x40381dfd:0x3fcb5db0 0x403897f5:0x3fcb5dd0 0x42100823:0x3fcb5e40 0x42100858:0x3fcb5e60 0x42100933:0x3fcb5e80 0x421009c6:0x3fcb5ea0 0x4200d039:0x3fcb5ec0 0x4200d04e:0x3fcb5ee0 0x4200d085:0x3fcb5f00 0x4200d0a5:0x3fcb5f20 0x42140137:0x3fcb5f60 0x42013589:0x3fcb5f80 0x420135c1:0x3fcb5fc0 0x4200d676:0x3fcb5fe0 0x42015c31:0x3fcb6000 0x42015c89:0x3fcb6030 0x4200d676:0x3fcb6050 0x42015e3a:0x3fcb6070 0x42015e89:0x3fcb60b0 0x403828f1:0x3fcb60d0
ELF file SHA256: 4629b2121
Rebooting... I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (41) app_init: App version: 1.1.9 I (45) app_init: Compile time: Feb 18 2025 01:23:13 I (50) app_init: ELF file SHA256: 4629b2121... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (62) efuse_init: Max chip rev: v0.99 I (66) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM I (81) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (86) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (98) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0 I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created I (210) Ssd1306Display: Initialize LVGL I (210) LVGL: Starting LVGL task I (210) Ssd1306Display: Install SSD1306 driver I (220) Ssd1306Display: SSD1306 driver installed I (220) Ssd1306Display: Turning display on I (330) Ssd1306Display: Adding LCD screen I (360) Application: WiFi board detected, setting opus encoder complexity to 3 I (360) AudioCodec: Set input enable to true I (360) AudioCodec: Set output enable to true I (380) pp: pp rom version: e7ae62f I (380) net80211: net80211 rom version: e7ae62f I (390) wifi:wifi driver task: 3fcd4cb4, prio:23, stack:6656, core=0 I (390) wifi:wifi firmware version: 48ea317a7 I (390) wifi:wifi certification version: v7.0 I (390) wifi:config NVS flash: disabled I (390) wifi:config nano formatting: disabled I (400) wifi:Init data frame dynamic rx buffer num: 32 I (400) wifi:Init static rx mgmt buffer num: 5 I (410) wifi:Init management short buffer num: 32 I (410) wifi:Init static tx buffer num: 16 I (410) wifi:Init static tx FG buffer num: 2 I (420) wifi:Init static rx buffer size: 1600 I (420) wifi:Init static rx buffer num: 16 I (430) wifi:Init dynamic rx buffer num: 32 I (430) wifi_init: rx ba win: 16 I (430) wifi_init: accept mbox: 6 I (440) wifi_init: tcpip mbox: 32 I (440) wifi_init: udp mbox: 6 I (440) wifi_init: tcp mbox: 6 I (440) wifi_init: tcp tx win: 5760 I (450) wifi_init: tcp rx win: 5760 I (450) wifi_init: tcp mss: 1440 I (450) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 I (490) wifi:mode : sta (34:b7:da:6b:a1:9c) I (490) wifi:enable tsf I (2900) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -45, Channel: 2, Authmode: 4 W (2900) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2 I (3320) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3320) wifi:state: init -> auth (0xb0) I (3340) wifi:state: auth -> assoc (0x0) I (3350) wifi:state: assoc -> run (0x10) I (3390) wifi:connected with ChinaNet-品味酒行, aid = 27, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5 I (3400) wifi:security: WPA2-PSK, phy: bgn, rssi: -51 I (3400) wifi:pm start, type: 1
I (3400) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3410) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3420) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (3430) wifi:
abort() was called at PC 0x42100823 on core 1
Backtrace: 0x40379d19:0x3fccfeb0 0x40381dfd:0x3fccfed0 0x403897f5:0x3fccfef0 0x42100823:0x3fccff60 0x42100858:0x3fccff80 0x42100933:0x3fccffa0 0x421009c6:0x3fccffc0 0x4200d039:0x3fccffe0 0x4200d04e:0x3fcd0000 0x4200d085:0x3fcd0020 0x4200d189:0x3fcd0040 0x4200ce21:0x3fcd0080 0x420135f3:0x3fcd00a0 0x420138d1:0x3fcd0130 0x42013969:0x3fcd0170 0x403828f1:0x3fcd0190
ELF file SHA256: 4629b2121
Rebooting... I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (41) app_init: App version: 1.1.9 I (45) app_init: Compile time: Feb 18 2025 01:23:13 I (50) app_init: ELF file SHA256: 4629b2121... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (62) efuse_init: Max chip rev: v0.99 I (66) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM I (81) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (86) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (98) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0 I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created I (210) Ssd1306Display: Initialize LVGL I (210) LVGL: Starting LVGL task I (210) Ssd1306Display: Install SSD1306 driver I (220) Ssd1306Display: SSD1306 driver installed I (220) Ssd1306Display: Turning display on I (330) Ssd1306Display: Adding LCD screen I (360) Application: WiFi board detected, setting opus encoder complexity to 3 I (360) AudioCodec: Set input enable to true I (360) AudioCodec: Set output enable to true I (380) pp: pp rom version: e7ae62f I (380) net80211: net80211 rom version: e7ae62f I (390) wifi:wifi driver task: 3fcd4cb4, prio:23, stack:6656, core=0 I (390) wifi:wifi firmware version: 48ea317a7 I (390) wifi:wifi certification version: v7.0 I (390) wifi:config NVS flash: disabled I (390) wifi:config nano formatting: disabled I (400) wifi:Init data frame dynamic rx buffer num: 32 I (400) wifi:Init static rx mgmt buffer num: 5 I (410) wifi:Init management short buffer num: 32 I (410) wifi:Init static tx buffer num: 16 I (410) wifi:Init static tx FG buffer num: 2 I (420) wifi:Init static rx buffer size: 1600 I (420) wifi:Init static rx buffer num: 16 I (430) wifi:Init dynamic rx buffer num: 32 I (430) wifi_init: rx ba win: 16 I (430) wifi_init: accept mbox: 6 I (440) wifi_init: tcpip mbox: 32 I (440) wifi_init: udp mbox: 6 I (440) wifi_init: tcp mbox: 6 I (440) wifi_init: tcp tx win: 5760 I (450) wifi_init: tcp rx win: 5760 I (450) wifi_init: tcp mss: 1440 I (450) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 I (490) wifi:mode : sta (34:b7:da:6b:a1:9c) I (490) wifi:enable tsf I (2900) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -47, Channel: 2, Authmode: 4 W (2900) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2 I (3240) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3240) wifi:state: init -> auth (0xb0) I (3250) wifi:state: auth -> assoc (0x0) I (3270) wifi:state: assoc -> run (0x10) I (3300) wifi:connected with ChinaNet-品味酒行, aid = 28, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5 I (3300) wifi:security: WPA2-PSK, phy: bgn, rssi: -44 I (3300) wifi:pm start, type: 1
I (3310) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3310) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3330) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (3340) wifi:
I (24440) Application: STATE: listening I (25210) main: Free internal: 20936 minimal internal: 1988 I (28500) Application: >> 忽如一夜春风来。 I (28550) Application: STATE: speaking I (28570) AudioCodec: Set output enable to true I (29100) Application: << 嗯,这是岑参的《白雪歌送武判官归京》里的诗句。 E (29920) esp-aes: Failed to allocate memory E (29920) MQTT: Failed to decrypt audio data, ret: -1 W (29920) MQTT: Received audio packet with wrong sequence: 29, expected: 28 E (29920) esp-aes: Failed to allocate memory E (29930) MQTT: Failed to decrypt audio data, ret: -1 W (30210) MQTT: Received audio packet with wrong sequence: 30, expected: 28 E (30940) esp-aes: Failed to allocate memory E (30940) MQTT: Failed to decrypt audio data, ret: -1 W (31180) MQTT: Received audio packet with wrong sequence: 46, expected: 45 E (31180) esp-aes: Failed to allocate memory E (31180) MQTT: Failed to decrypt audio data, ret: -1 W (31180) MQTT: Received audio packet with wrong sequence: 49, expected: 48 I (34080) Application: << 下一句是“千树万树梨花开”。
abort() was called at PC 0x42100823 on core 1
Backtrace: 0x40379d19:0x3fcb5d20 0x40381dfd:0x3fcb5d40 0x403897f5:0x3fcb5d60 0x42100823:0x3fcb5dd0 0x42100858:0x3fcb5df0 0x42100933:0x3fcb5e10 0x421009c6:0x3fcb5e30 0x4200d039:0x3fcb5e50 0x4200d04e:0x3fcb5e70 0x4200d085:0x3fcb5e90 0x4200d0a5:0x3fcb5eb0 0x42140137:0x3fcb5ef0 0x42013589:0x3fcb5f10 0x420135c1:0x3fcb5f50 0x4200d676:0x3fcb5f70 0x42015c31:0x3fcb5f90 0x42015c89:0x3fcb5fc0 0x4200d676:0x3fcb5fe0 0x42015e3a:0x3fcb6000 0x42015e89:0x3fcb6040 0x403828f1:0x3fcb6060
ELF file SHA256: 4629b2121
Rebooting... I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (41) app_init: App version: 1.1.9 I (45) app_init: Compile time: Feb 18 2025 01:23:13 I (50) app_init: ELF file SHA256: 4629b2121... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (62) efuse_init: Max chip rev: v0.99 I (66) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM I (81) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (86) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (98) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0
I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created I (210) Ssd1306Display: Initialize LVGL I (210) LVGL: Starting LVGL task I (210) Ssd1306Display: Install SSD1306 driver I (220) Ssd1306Display: SSD1306 driver installed I (220) Ssd1306Display: Turning display on I (330) Ssd1306Display: Adding LCD screen I (360) Application: WiFi board detected, setting opus encoder complexity to 3 I (360) AudioCodec: Set input enable to true I (360) AudioCodec: Set output enable to true I (380) pp: pp rom version: e7ae62f I (380) net80211: net80211 rom version: e7ae62f I (390) wifi:wifi driver task: 3fcd4cb4, prio:23, stack:6656, core=0 I (390) wifi:wifi firmware version: 48ea317a7 I (390) wifi:wifi certification version: v7.0 I (390) wifi:config NVS flash: disabled I (390) wifi:config nano formatting: disabled I (400) wifi:Init data frame dynamic rx buffer num: 32 I (400) wifi:Init static rx mgmt buffer num: 5 I (410) wifi:Init management short buffer num: 32 I (410) wifi:Init static tx buffer num: 16 I (410) wifi:Init static tx FG buffer num: 2 I (420) wifi:Init static rx buffer size: 1600 I (420) wifi:Init static rx buffer num: 16 I (430) wifi:Init dynamic rx buffer num: 32 I (430) wifi_init: rx ba win: 16 I (430) wifi_init: accept mbox: 6 I (440) wifi_init: tcpip mbox: 32 I (440) wifi_init: udp mbox: 6 I (440) wifi_init: tcp mbox: 6 I (440) wifi_init: tcp tx win: 5760 I (450) wifi_init: tcp rx win: 5760 I (450) wifi_init: tcp mss: 1440 I (450) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 I (490) wifi:mode : sta (34:b7:da:6b:a1:9c) I (490) wifi:enable tsf I (2900) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -47, Channel: 2, Authmode: 4 W (2900) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2 I (3220) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3220) wifi:state: init -> auth (0xb0) I (3230) wifi:state: auth -> assoc (0x0) I (3250) wifi:state: assoc -> run (0x10) I (3280) wifi:connected with ChinaNet-品味酒行, aid = 29, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5 I (3280) wifi:security: WPA2-PSK, phy: bgn, rssi: -46 I (3290) wifi:pm start, type: 1
I (3290) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3300) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3320) wifi:
[2025-02-18 12:16:03.924]# RECV ASCII>
I (11040) AudioCodec: Set output enable to false
[2025-02-18 12:16:08.117]# RECV ASCII> I (15240) main: Free internal: 29416 minimal internal: 1616
[2025-02-18 12:16:09.082]# RECV ASCII> I (16200) Application: STATE: connecting
[2025-02-18 12:16:09.256]# RECV ASCII> I (16370) MQTT: Session ID: b51249ed I (16370) wifi:Set ps type: 0, coexist: 0
I (16380) Application: STATE: listening
[2025-02-18 12:16:12.818]# RECV ASCII> I (19950) Application: >> 讲一个笑话。
[2025-02-18 12:16:12.896]# RECV ASCII> I (19990) Application: STATE: speaking I (20020) AudioCodec: Set output enable to true
[2025-02-18 12:16:13.549]# RECV ASCII> I (20680) Application: << 好的,不过讲笑话之前,我想确认一下,你想要听什么类型的笑话呢?
[2025-02-18 12:16:14.017]# RECV ASCII>
[2025-02-18 12:16:14.144]# RECV ASCII>
abort() was called at PC 0x42100823 on core 1
Backtrace: 0x40379d19:0x3fcb5d20 0x40381dfd:0x3fcb5d40 0x403897f5:0x3fcb5d60 0x42100823:0x3fcb5dd0 0x42100858:0x3fcb5df0 0x42100933:0x3fcb5e10 0x421009c6:0x3fcb5e30 0x4200d039:0x3fcb5e50 0x4200d04e:0x3fcb5e70 0x4200d085:0x3fcb5e90 0x4200d0a5:0x3fcb5eb0 0x42140137:0x3fcb5ef0 0x42013589:0x3fcb5f10 0x420135c1:0x3fcb5f50 0x4200d676:0x3fcb5f70 0x42015c31:0x3fcb5f90 0x42015c89:0x3fcb5fc0 0x4200d676:0x3fcb5fe0 0x42015e3a:0x3fcb6000 0x42015e89:0x3fcb6040 0x403828f1:0x3fcb6060
ELF file SHA256: 4629b2121
Rebooting... I (28) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (37) app_init: Application information: I (37) app_init: Project name: xiaozhi I (41) app_init: App version: 1.1.9 I (44) app_init: Compile time: Feb 18 2025 01:23:13 I (49) app_init: ELF file SHA256: 4629b2121... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (
[2025-02-18 12:16:14.276]# RECV ASCII> 61) efuse_init: Max chip rev: v0.99 I (65) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (75) heap_init: At 3FCA6BB0 len 00042B60 (266 KiB): RAM I (80) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (85) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (91) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (97) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0 I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: G
[2025-02-18 12:16:14.346]# RECV ASCII> PIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created I (210) Ssd1306Display: Initialize LVGL I (210) LVGL: Starting LVGL task I (210) Ssd1306Display: Install SSD1306 driver I (220) Ssd1306Display: SSD1306 driver installed I (220) Ssd1306Display: Turning display on
[2025-02-18 12:16:14.521]# RECV ASCII> I (330) Ssd1306Display: Adding LCD screen I (360) Application: WiFi board detected, setting opus encoder complexity to 3 I (360) AudioCodec: Set input enable to true I (360) AudioCodec: Set output enable to true I (380) pp: pp rom version: e7ae62f I (380) net80211: net80211 rom version: e7ae62f I (390) wifi:wifi driver task: 3fcd4cb4, prio:23, stack:6656, core=0 I (390) wifi:wifi firmware version: 48ea317a7 I (390) wifi:wifi certification version: v7.0 I (390) wifi:config NVS flash: disabled I (390) wifi:config nano formatting: disabled I (400) wifi:Init data frame dynamic rx buffer num: 32 I (400) wifi:Init static rx mgmt buffer num: 5 I (410) wifi:Init management short buffer num: 32 I (410) wifi:Init static tx buffer num: 16 I (410) wifi:Init static tx FG buffer num: 2 I (420) wifi:Init static rx buffer size: 1600 I (420) wifi:Init static rx buffer num: 16 I (430) wifi:Init dynamic rx buffer num: 32 I (430) wifi_init: rx ba win: 16 I (430) wifi_init: accept mbox: 6 I (440) wifi_init: t
[2025-02-18 12:16:14.611]# RECV ASCII> cpip mbox: 32 I (440) wifi_init: udp mbox: 6 I (440) wifi_init: tcp mbox: 6 I (440) wifi_init: tcp tx win: 5760 I (450) wifi_init: tcp rx win: 5760 I (450) wifi_init: tcp mss: 1440 I (450) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 I (490) wifi:mode : sta (34:b7:da:6b:a1:9c) I (490) wifi:enable tsf
[2025-02-18 12:16:17.042]# RECV ASCII> I (2900) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -44, Channel: 2, Authmode: 4 W (2900) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
[2025-02-18 12:16:17.558]# RECV ASCII> I (3310) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3310) wifi:state: init -> auth (0xb0) I (3330) wifi:state: auth -> assoc (0x0) I (3350) wifi:state: assoc -> run (0x10) I (3390) wifi:connected with ChinaNet-品味酒行, aid = 17, channel 2, BW20, bssid = 7c:da:c3:b3:c1:c5 I (3390) wifi:security: WPA2-PSK, phy: bgn, rssi: -45 I (3390) wifi:pm start, type: 1
I (3400) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3410) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3410) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (3420) wifi:
[2025-02-18 12:16:18.601]# RECV ASCII> I (4450) wifi: Got IP: 192.168.1.9 I (4450) esp_netif_handlers: sta ip: 192.168.1.9, mask: 255.255.255.0, gw: 192.168.1.1 I (4480) MQTT: Connecting to endpoint post-cn-apg3xckag01.mqtt.aliyuncs.com
[2025-02-18 12:16:18.773]# RECV ASCII> I (4640) esp-x509-crt-bundle: Certificate validated
[2025-02-18 12:16:19.289]# RECV ASCII> I (5150) MQTT: Connected to endpoint I (5150) Application: STATE: idle I (5160) Ota: Current version: 1.1.9 I (5160) EspHttp: Opening HTTP connection to https://api.tenclass.net/xiaozhi/ota/
[2025-02-18 12:16:19.461]# RECV ASCII> I (5330) esp-x509-crt-bundle: Certificate validated
[2025-02-18 12:16:20.050]# RECV ASCII> I (5920) Ota: Current is the latest version I (5920) Ota: Running from factory partition, skipping
[2025-02-18 12:16:21.711]# RECV ASCII> I (7590) Application: STATE: connecting
[2025-02-18 12:16:21.854]# RECV ASCII> I (7730) MQTT: Session ID: 3066caf2 I (7730) wifi:Set ps type: 0, coexist: 0
I (7730) Application: STATE: listening
[2025-02-18 12:16:23.852]# RECV ASCII> I (9720) Application: STATE: idle
[2025-02-18 12:16:24.006]# RECV ASCII> I (9880) Application: >> 发生了什么事情?
[2025-02-18 12:16:24.068]# RECV ASCII> I (9940) Application: STATE: speaking
[2025-02-18 12:16:24.489]# RECV ASCII> I (10370) Application: << 你好,刚才我们在聊什么呢?
[2025-02-18 12:16:25.438]# RECV ASCII> E (11310) esp-aes: Failed to allocate memory E (11310) MQTT: Failed to decrypt audio data, ret: -1
[2025-02-18 12:16:25.685]# RECV ASCII> W (11540) MQTT: Received audio packet with wrong sequence: 29, expected: 28
[2025-02-18 12:16:26.506]# RECV ASCII> W (12380) MQTT: Received audio packet with wrong sequence: 38, expected: 37
[2025-02-18 12:16:26.759]# RECV ASCII> W (12620) MQTT: Received audio packet with wrong sequence: 42, expected: 41
[2025-02-18 12:16:26.927]# RECV ASCII> W (12800) MQTT: Received audio packet with wrong sequence: 45, expected: 43
[2025-02-18 12:16:27.306]# RECV ASCII> W (13160) MQTT: Received audio packet with wrong sequence: 51, expected: 48 I (13170) Application: << 是关于青海湖还是唐诗呢?
[2025-02-18 12:16:27.415]# RECV ASCII> W (13290) MQTT: Received audio packet with wrong sequence: 58, expected: 57
[2025-02-18 12:16:29.317]# RECV ASCII> I (15190) main: Free internal: 10428 minimal internal: 200
[2025-02-18 12:16:29.813]# RECV ASCII> E (15660) Dynamic Impl: alloc(4437 bytes) failed E (15660) esp-tls-mbedtls: write error :-0x7F00 E (15660) transport_base: esp_tls_conn_write error, errno=Connection already in progress E (15670) mqtt_client: Writing failed: errno=119 I (15670) esp_mqtt: MQTT error occurred: ESP_ERR_MBEDTLS_SSL_WRITE_FAILED E (15680) mqtt_client: Error write qos msg repsonse, qos = 1
[2025-02-18 12:16:31.863]# RECV ASCII> I (17730) Application: Abort speaking
[2025-02-18 12:16:31.970]# RECV ASCII> I (17850) Application: STATE: listening
[2025-02-18 12:16:33.488]# RECV ASCII> I (19350) Application: STATE: idle
[2025-02-18 12:16:36.935]# RECV ASCII> I (22800) Application: STATE: listening
[2025-02-18 12:16:38.795]# RECV ASCII> I (24660) Application: STATE: idle
[2025-02-18 12:16:39.308]# RECV ASCII> I (25190) main: Free internal: 25524 minimal internal: 200
[2025-02-18 12:16:42.757]# RECV ASCII> I (28620) Application: STATE: listening
[2025-02-18 12:16:44.968]# RECV ASCII> I (30820) esp-x509-crt-bundle: Certificate validated I (30840) Application: STATE: idle
[2025-02-18 12:16:47.526]# RECV ASCII> I (33390) Application: STATE: listening
[2025-02-18 12:16:47.758]# RECV ASCII> I (33630) Application: STATE: idle
[2025-02-18 12:16:48.931]# RECV ASCII> I (34800) Application: STATE: listening
[2025-02-18 12:16:49.316]# RECV ASCII> I (35190) main: Free internal: 19944 minimal internal: 200
[2025-02-18 12:16:52.056]# RECV ASCII> I (37920) Application: STATE: idle
[2025-02-18 12:16:55.767]# RECV ASCII> I (41580) Application: STATE: connecting I (41590) MQTT: MQTT is not connected, try to connect now W (41590) MQTT: Mqtt client already started I (41650) MQTT: Connecting to endpoint post-cn-apg3xckag01.mqtt.aliyuncs.com
[2025-02-18 12:16:55.924]# RECV ASCII> I (41800) esp-x509-crt-bundle: Certificate validated
[2025-02-18 12:16:56.330]# RECV ASCII> I (42200) MQTT: Connected to endpoint
[2025-02-18 12:16:57.344]# RECV ASCII> I (43220) MQTT: Session ID: d5196b8b I (43220) wifi:Set ps type: 0, coexist: 0
I (43230) Application: STATE: listening
[2025-02-18 12:16:59.304]# RECV ASCII> I (45190) main: Free internal: 20876 minimal internal: 200
[2025-02-18 12:16:59.947]# RECV ASCII> I (45780) Application: >> 唱一首歌。 I (45820) Application: STATE: speaking
[2025-02-18 12:17:00.389]# RECV ASCII> I (46260) Application: << 你想听哪首歌呢?
[2025-02-18 12:17:01.352]# RECV ASCII> E (47200) esp-aes: Failed to allocate memory E (47200) MQTT: Failed to decrypt audio data, ret: -1 W (47200) MQTT: Received audio packet with wrong sequence: 28, expected: 27 E (47210) esp-aes: Failed to allocate memory E (47210) MQTT: Failed to decrypt audio data, ret: -1
[2025-02-18 12:17:01.568]# RECV ASCII> W (47440) MQTT: Received audio packet with wrong sequence: 29, expected: 27
[2025-02-18 12:17:01.677]# RECV ASCII> E (47520) Dynamic Impl: alloc(4437 bytes) failed E (47520) esp-tls-mbedtls: write error :-0x7F00 E (47520) transport_base: esp_tls_conn_write error, errno=Connection already in progress E (47530) mqtt_client: Writing failed: errno=119 I (47530) esp_mqtt: MQTT error occurred: ESP_ERR_MBEDTLS_SSL_WRITE_FAILED E (47540) mqtt_client: Error write qos msg repsonse, qos = 1
[2025-02-18 12:17:09.317]# RECV ASCII> I (55190) main: Free internal: 25508 minimal internal: 200
[2025-02-18 12:17:16.822]# RECV ASCII> I (62690) esp-x509-crt-bundle: Certificate validated
[2025-02-18 12:17:18.749]# RECV ASCII> I (64620) Application: Abort speaking
[2025-02-18 12:17:19.315]# RECV ASCII> I (65190) main: Free internal: 21552 minimal internal: 200
[2025-02-18 12:17:25.255]# RECV ASCII> I (71130) Application: Abort speaking
[2025-02-18 12:17:25.379]# RECV ASCII> I (71250) Application: STATE: listening
[2025-02-18 12:17:27.655]# RECV ASCII> I (73530) Application: STATE: idle
[2025-02-18 12:17:29.306]# RECV ASCII> I (75190) main: Free internal: 21552 minimal internal: 200
[2025-02-18 12:17:33.252]# RECV ASCII> I (79050) Application: STATE: connecting I (79060) MQTT: MQTT is not connected, try to connect now W (79060) MQTT: Mqtt client already started I (79120) MQTT: Connecting to endpoint post-cn-apg3xckag01.mqtt.aliyuncs.com
[2025-02-18 12:17:33.389]# RECV ASCII> I (79260) esp-x509-crt-bundle: Certificate validated
[2025-02-18 12:17:33.809]# RECV ASCII> I (79670) MQTT: Connected to endpoint
[2025-02-18 12:17:34.806]# RECV ASCII> I (80680) MQTT: Session ID: c2882ee1 I (80680) wifi:Set ps type: 0, coexist: 0
I (80680) Application: STATE: listening
[2025-02-18 12:17:38.598]# RECV ASCII> I (84430) Application: >> 唱一首歌。 I (84480) Application: STATE: speaking
[2025-02-18 12:17:39.129]# RECV ASCII> I (84990) Application: << 好的,你想听哪首歌呢?
[2025-02-18 12:17:39.314]# RECV ASCII> I (85190) main: Free internal: 21564 minimal internal: 200
[2025-02-18 12:17:40.864]# RECV ASCII> E (86710) Dynamic Impl: alloc(4437 bytes) failed E (86710) esp-tls-mbedtls: write error :-0x7F00 E (86710) transport_base: esp_tls_conn_write error, errno=Connection already in progress E (86720) mqtt_client: Writing failed: errno=119 I (86720) esp_mqtt: MQTT error occurred: ESP_ERR_MBEDTLS_SSL_WRITE_FAILED E (86730) mqtt_client: Error write qos msg repsonse, qos = 1
[2025-02-18 12:17:41.890]# RECV ASCII> W (87770) MQTT: Received audio packet with wrong sequence: 52, expected: 51
[2025-02-18 12:17:42.202]# RECV ASCII> W (88070) MQTT: Received audio packet with wrong sequence: 59, expected: 55
[2025-02-18 12:17:42.683]# RECV ASCII> W (88550) MQTT: Received audio packet with wrong sequence: 65, expected: 62
[2025-02-18 12:17:43.151]# RECV ASCII> W (89030) MQTT: Received audio packet with wrong sequence: 73, expected: 70
[2025-02-18 12:17:49.314]# RECV ASCII> I (95190) main: Free internal: 25528 minimal internal: 200
[2025-02-18 12:17:56.010]# RECV ASCII> I (101880) esp-x509-crt-bundle: Certificate validated
[2025-02-18 12:17:59.312]# RECV ASCII> I (105190) main: Free internal: 21504 minimal internal: 200
`
https://github.com/user-attachments/assets/7c3ecdd0-43d2-4608-b586-debb8b2d7244
`I (244370) main: Free internal: 18580 minimal internal: 468 I (245070) Application: STATE: listening I (252420) Application: >> 如果我要复刻一个虾个小智AI机器人的话,应该注意哪些方面? I (252480) Application: STATE: speaking I (252900) Application: << 复刻一个AI机器人像虾哥小智的话,有几点需要注意:
I (254370) main: Free internal: 16016 minimal internal: 468 I (257530) Application: << 一, 明确目标 :了解你想要实现的核心功能是什么。 I (263400) Application: << 二, 收集资料 :研究虾哥小智的特性,收集相关技术文档。 I (264370) main: Free internal: 16752 minimal internal: 468 I (270720) Application: << 三, 技术选型 :选择合适的开发平台和语言,比如Python和Flask框架。 I (274370) main: Free internal: 15460 minimal internal: 468 I (278290) Application: << 四, 功能设计 :设计机器人的交互逻辑,包括对话管理和任务执行。 I (284370) main: Free internal: 14516 minimal internal: 468 I (286450) Application: << 五, 训练模型 :准备数据集,训练自然语言处理模型。 I (292800) Application: << 六, 测试优化 :不断测试并优化机器人的表现。 I (294370) main: Free internal: 17624 minimal internal: 468 I (298690) Application: << 七, 用户反馈 :上线后收集用户反馈,持续改进。 I (304370) main: Free internal: 17352 minimal internal: 468 I (304440) Application: <<
你对哪个方面最感兴趣? I (306780) Application: << 我们可以详细讨论一下。 I (309870) Application: STATE: listening I (314370) main: Free internal: 28272 minimal internal: 468 I (314580) Application: >> 哎呀,说不得了,应该找出来是。 I (314640) Application: STATE: speaking I (315510) Application: << 没问题,我们可以从最基础的开始。 I (318370) Application: << 比如,你可以先了解一下虾哥小智的基本功能和特点, E (321430) esp-aes: Failed to allocate memory E (321430) esp-tls-mbedtls: read error :-0x0001 E (321430) TlsTransport: TLS读取失败: -1 I (321430) WS: Websocket disconnected I (321430) wifi:Set ps type: 1, coexist: 0
I (321470) Application: STATE: idle Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x00060f23 PS : 0x00060d30 A0 : 0x82015f65 A1 : 0x3fcb60f0
A2 : 0x3fce5d14 A3 : 0x3fcae1d8 A4 : 0x3c16774c A5 : 0x000000aa
A6 : 0x3fcb6110 A7 : 0x3fcb6110 A8 : 0x8200d771 A9 : 0x3fcb60d0
A10 : 0x3fce5d14 A11 : 0x00000018 A12 : 0x80382ca9 A13 : 0x3fcac470
A14 : 0x00060023 A15 : 0x00000003 SAR : 0x00000019 EXCCAUSE: 0x00000014
EXCVADDR: 0x00060f20 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0x00000000
--- 0x40056f5c: memcpy in ROM
0x40056f72: memcpy in ROM
Backtrace: 0x00060f20:0x3fcb60f0 0x42015f62:0x3fcb6110 0x42015fb1:0x3fcb6150 0x403828f1:0x3fcb6170 --- 0x42015f62: BackgroundTask::BackgroundTaskLoop() at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/background_task.cc:59 0x42015fb1: BackgroundTask::BackgroundTask(unsigned long)::{lambda(void*)#1}::_FUN(void*) at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/background_task.cc:10 (inlined by) _FUN at D:/MOLUN/Documents/GitHub/xiaozhi-esp32/main/background_task.cc:11 0x403828f1: vPortTaskWrapper at D:/MOLUN/Espressif/frameworks/esp-idf-v5.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139
ELF file SHA256: 4f78bdacb
Rebooting... ���I (29) cpu_start: Multicore app I (37) cpu_start: Pro cpu start user code I (37) cpu_start: cpu freq: 240000000 Hz I (38) app_init: Application information: I (38) app_init: Project name: xiaozhi I (41) app_init: App version: 1.2.1 I (45) app_init: Compile time: Feb 18 2025 17:45:15 I (50) app_init: ELF file SHA256: 4f78bdacb... I (54) app_init: ESP-IDF: v5.4-dirty I (58) efuse_init: Min chip rev: v0.0 I (62) efuse_init: Max chip rev: v0.99 I (66) efuse_init: Chip rev: v0.2 I (69) heap_init: Initializing. RAM available for dynamic allocation: I (76) heap_init: At 3FCA6C30 len 00042AE0 (266 KiB): RAM I (81) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (86) heap_init: At 600FE11C len 00001EBC (7 KiB): RTCRAM I (92) spi_flash: detected chip: gd I (94) spi_flash: flash io: qio I (98) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (103) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (110) main_task: Started on CPU0 I (150) main_task: Calling app_main() I (170) BackgroundTask: background_task started I (170) Board: UUID: 6c0ae5e9-74db-4505-8d26-054670e79957 I (170) button: IoT Button Version: 3.5.0 I (170) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (180) button: IoT Button Version: 3.5.0 I (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (190) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (200) Application: STATE: starting I (200) NoAudioCodec: Simplex channels created I (210) Ssd1306Display: Initialize LVGL I (210) LVGL: Starting LVGL task I (210) Ssd1306Display: Install SSD1306 driver I (220) Ssd1306Display: SSD1306 driver installed I (220) Ssd1306Display: Turning display on I (330) Ssd1306Display: Adding LCD screen I (360) Application: WiFi board detected, setting opus encoder complexity to 3 I (360) AudioCodec: Set input enable to true I (360) AudioCodec: Set output enable to true I (380) pp: pp rom version: e7ae62f I (380) net80211: net80211 rom version: e7ae62f I (390) wifi:wifi driver task: 3fcd4db8, prio:23, stack:6656, core=0 I (390) wifi:wifi firmware version: 48ea317a7 I (390) wifi:wifi certification version: v7.0 I (390) wifi:config NVS flash: disabled I (390) wifi:config nano formatting: disabled I (400) wifi:Init data frame dynamic rx buffer num: 32 I (400) wifi:Init static rx mgmt buffer num: 5 I (410) wifi:Init management short buffer num: 32 I (410) wifi:Init static tx buffer num: 16 I (410) wifi:Init static tx FG buffer num: 2 I (420) wifi:Init static rx buffer size: 1600 I (420) wifi:Init static rx buffer num: 16 I (430) wifi:Init dynamic rx buffer num: 32 I (430) wifi_init: rx ba win: 16 I (430) wifi_init: accept mbox: 6 I (440) wifi_init: tcpip mbox: 32 I (440) wifi_init: udp mbox: 6 I (440) wifi_init: tcp mbox: 6 I (440) wifi_init: tcp tx win: 5760 I (450) wifi_init: tcp rx win: 5760 I (450) wifi_init: tcp mss: 1440 I (450) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10 I (490) wifi:mode : sta (34:b7:da:6b:a1:9c) I (490) wifi:enable tsf I (2900) wifi: Found AP: ChinaNet-品味酒行, BSSID: 7c:da:c3:b3:c1:c5, RSSI: -55, Channel: 2, Authmode: 4 W (2900) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2 I (3240) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1, snd_ch_cfg:0x0 I (3240) wifi:state: init -> auth (0xb0) I (3270) wifi:state: auth -> assoc (0x0) I (3280) wifi:state: assoc -> run (0x10)`
不接屏幕的问题,今天1.2.1新发布的版本已经修复了。如果使用中还有其他问题,可能需要 @ooxxU 来看