-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4M Flash版本ESP32-S3模组顺利跑起,有报错 #167
Comments
是不是还是内存小的锅 |
`I (11900) Application: >> 讲一个笑话。 abort() was called at PC 0x421000a3 on core 1 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 ELF file SHA256: c4762fed5 Rebooting... |
没有PSRAM吗?你是开发板吗?模型选的是哪个 |
没有PSRAM,自己模组制作的,选取面包板WIFI这个板型,编译关闭PSRAM、语音唤醒、选取4M固件和分区表编译。 |
试试用Websocket协议。 |
1.1.9 会不断重启 MQTT和Websocket都试过,Websocket会稍微好一点 烧录完毕后台删除设备,重启准备重新添加就一直重启或者显示待命 唤醒就重启 |
你有改动代码吗?怎么可用的SRAM这么小。 |
没有,只调整了几个不同的GPIO,其余部分未改动,退回1.1.2的代码情况会好些 |
拉一下最新的试试,启用了wifi动态内存,节约了5kb的内存。 |
使用凌晨1点多的代码编译,和@ooxxU沟通过,不接屏幕使用正常,对话流畅。插入0.96屏幕后对话很大概率会导致重启和卡死。 I (199) Application: STATE: starting I (3239) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us I (11479) Application: STATE: listening I (140689) Application: STATE: listening 以下日志是插入屏幕 I (17309) Application: STATE: listening 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 (3350) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us I (14180) Application: STATE: listening I (90500) AudioCodec: Set output enable to false I (100600) Application: STATE: listening 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 (3400) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us 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 (3310) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us I (24440) Application: STATE: listening 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 (180) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (3290) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us [2025-02-18 12:16:08.117]# RECV ASCII> [2025-02-18 12:16:09.082]# RECV ASCII> [2025-02-18 12:16:09.256]# RECV ASCII> I (16380) Application: STATE: listening [2025-02-18 12:16:12.818]# RECV ASCII> [2025-02-18 12:16:12.896]# RECV ASCII> [2025-02-18 12:16:13.549]# RECV ASCII> [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... [2025-02-18 12:16:14.276]# RECV ASCII> [2025-02-18 12:16:14.346]# RECV ASCII> [2025-02-18 12:16:14.521]# RECV ASCII> [2025-02-18 12:16:14.611]# RECV ASCII> [2025-02-18 12:16:17.042]# RECV ASCII> [2025-02-18 12:16:17.558]# RECV ASCII> I (3400) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us [2025-02-18 12:16:18.601]# RECV ASCII> [2025-02-18 12:16:18.773]# RECV ASCII> [2025-02-18 12:16:19.289]# RECV ASCII> [2025-02-18 12:16:19.461]# RECV ASCII> [2025-02-18 12:16:20.050]# RECV ASCII> [2025-02-18 12:16:21.711]# RECV ASCII> [2025-02-18 12:16:21.854]# RECV ASCII> I (7730) Application: STATE: listening [2025-02-18 12:16:23.852]# RECV ASCII> [2025-02-18 12:16:24.006]# RECV ASCII> [2025-02-18 12:16:24.068]# RECV ASCII> [2025-02-18 12:16:24.489]# RECV ASCII> [2025-02-18 12:16:25.438]# RECV ASCII> [2025-02-18 12:16:25.685]# RECV ASCII> [2025-02-18 12:16:26.506]# RECV ASCII> [2025-02-18 12:16:26.759]# RECV ASCII> [2025-02-18 12:16:26.927]# RECV ASCII> [2025-02-18 12:16:27.306]# RECV ASCII> [2025-02-18 12:16:27.415]# RECV ASCII> [2025-02-18 12:16:29.317]# RECV ASCII> [2025-02-18 12:16:29.813]# RECV ASCII> [2025-02-18 12:16:31.863]# RECV ASCII> [2025-02-18 12:16:31.970]# RECV ASCII> [2025-02-18 12:16:33.488]# RECV ASCII> [2025-02-18 12:16:36.935]# RECV ASCII> [2025-02-18 12:16:38.795]# RECV ASCII> [2025-02-18 12:16:39.308]# RECV ASCII> [2025-02-18 12:16:42.757]# RECV ASCII> [2025-02-18 12:16:44.968]# RECV ASCII> [2025-02-18 12:16:47.526]# RECV ASCII> [2025-02-18 12:16:47.758]# RECV ASCII> [2025-02-18 12:16:48.931]# RECV ASCII> [2025-02-18 12:16:49.316]# RECV ASCII> [2025-02-18 12:16:52.056]# RECV ASCII> [2025-02-18 12:16:55.767]# RECV ASCII> [2025-02-18 12:16:55.924]# RECV ASCII> [2025-02-18 12:16:56.330]# RECV ASCII> [2025-02-18 12:16:57.344]# RECV ASCII> I (43230) Application: STATE: listening [2025-02-18 12:16:59.304]# RECV ASCII> [2025-02-18 12:16:59.947]# RECV ASCII> [2025-02-18 12:17:00.389]# RECV ASCII> [2025-02-18 12:17:01.352]# RECV ASCII> [2025-02-18 12:17:01.568]# RECV ASCII> [2025-02-18 12:17:01.677]# RECV ASCII> [2025-02-18 12:17:09.317]# RECV ASCII> [2025-02-18 12:17:16.822]# RECV ASCII> [2025-02-18 12:17:18.749]# RECV ASCII> [2025-02-18 12:17:19.315]# RECV ASCII> [2025-02-18 12:17:25.255]# RECV ASCII> [2025-02-18 12:17:25.379]# RECV ASCII> [2025-02-18 12:17:27.655]# RECV ASCII> [2025-02-18 12:17:29.306]# RECV ASCII> [2025-02-18 12:17:33.252]# RECV ASCII> [2025-02-18 12:17:33.389]# RECV ASCII> [2025-02-18 12:17:33.809]# RECV ASCII> [2025-02-18 12:17:34.806]# RECV ASCII> I (80680) Application: STATE: listening [2025-02-18 12:17:38.598]# RECV ASCII> [2025-02-18 12:17:39.129]# RECV ASCII> [2025-02-18 12:17:39.314]# RECV ASCII> [2025-02-18 12:17:40.864]# RECV ASCII> [2025-02-18 12:17:41.890]# RECV ASCII> [2025-02-18 12:17:42.202]# RECV ASCII> [2025-02-18 12:17:42.683]# RECV ASCII> [2025-02-18 12:17:43.151]# RECV ASCII> [2025-02-18 12:17:49.314]# RECV ASCII> [2025-02-18 12:17:56.010]# RECV ASCII> [2025-02-18 12:17:59.312]# RECV ASCII> ` 9025818f65bde405ae2698e4312f48b4.mp4 |
`I (244370) main: Free internal: 18580 minimal internal: 468 I (254370) main: Free internal: 16016 minimal internal: 468 你对哪个方面最感兴趣? I (321470) Application: STATE: idle Core 0 register dump: Backtrace: 0x00060f20:0x3fcb60f0 0x42015f62:0x3fcb6110 0x42015fb1:0x3fcb6150 0x403828f1:0x3fcb6170 ELF file SHA256: 4f78bdacb Rebooting... |
不接屏幕的问题,今天1.2.1新发布的版本已经修复了。如果使用中还有其他问题,可能需要 @ooxxU 来看 |
`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`
The text was updated successfully, but these errors were encountered: