完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
蓝牙配网完成后 断开Wi-Fi 或者 配网失败想要重新配网 会崩溃
要如何解决 日志如下: 2024-06-18 10:22:25 Core 0 register dump: 2024-06-18 10:22:25 MEPC : 0x403907b4 RA : 0x40390726 SP : 0x3fca3dc0 GP : 0x3fc96200 2024-06-18 10:22:25 0x403907b4: block_size at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf_block_functions.h:20 2024-06-18 10:22:25 (inlined by) block_locate_free at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf.c:566 2024-06-18 10:22:25 (inlined by) tlsf_malloc at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf.c:1004 2024-06-18 10:22:25 0x40390726: tlsf_ffs at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf.c:68 2024-06-18 10:22:25 (inlined by) search_suitable_block at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf.c:318 2024-06-18 10:22:25 (inlined by) block_locate_free at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf.c:560 2024-06-18 10:22:25 (inlined by) tlsf_malloc at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/tlsf/tlsf.c:1004 2024-06-18 10:22:25 TP : 0x3fc73e20 T0 : 0x4005890e T1 : 0x0000000f T2 : 0x00000000 2024-06-18 10:22:26 0x4005890e: _data_end_btdm_rom in ROM 2024-06-18 10:22:26 S0/FP : 0x0000011c S1 : 0xcd6837a0 A0 : 0x00000003 A1 : 0x0000011c 2024-06-18 10:22:26 A2 : 0x00000001 A3 : 0x3fcd02e5 A4 : 0x00000002 A5 : 0x3fcd03ad 2024-06-18 10:22:26 A6 : 0x80000000 A7 : 0x00000010 S2 : 0x3fcdf980 S3 : 0x00000006 2024-06-18 10:22:26 S4 : 0x0000013b S5 : 0x3fce0000 S6 : 0x3fce0000 S7 : 0x3fca5b4c 2024-06-18 10:22:26 S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000 2024-06-18 10:22:26 T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000 2024-06-18 10:22:26 MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000005 MTVAL : 0xcd6837a4 2024-06-18 10:22:26 0x40380001: _vector_table at ??:? 2024-06-18 10:22:26 MHARTID : 0x00000000 2024-06-18 10:22:26 2024-06-18 10:22:26 Stack memory: 2024-06-18 10:22:26 3fca3dc0: 0x3fce0000 0x3fce0000 0x3fcdf96c 0x0000011c 0x00000000 0x0000011c 0x3fcdf96c 0x4038ffae 2024-06-18 10:22:26 0x4038ffae: multi_heap_malloc_impl at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/multi_heap.c:207 2024-06-18 10:22:26 3fca3de0: 0x00000000 0x00001808 0x3fcaedec 0x40380bae 0x00000000 0x00001808 0x3fcdf96c 0x3fce0000 2024-06-18 10:22:26 0x40380bae: heap_caps_malloc_base at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/heap_caps.c:177 2024-06-18 10:22:26 3fca3e00: 0x00001808 0x0000011c 0x3fce0000 0x40380c42 0x3fce0000 0x3fce0000 0x3fce0000 0x42016e96 2024-06-18 10:22:26 0x40380c42: heap_caps_malloc at D:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/heap_caps.c:197 2024-06-18 10:22:26 0x42016e96: malloc_internal_wrapper at D:/Espressif/frameworks/esp-idf-v5.1.2/components/bt/controller/esp32c3/bt.c:657 2024-06-18 10:22:26 3fca3e20: 0x00000000 0x3fce0000 0x3fce0000 0x4202d8a2 0x3fca3ed4 0x3fce0000 0x3fce0000 0x4202b49a 2024-06-18 10:22:26 0x4202d8a2: r_lld_env_init at ??:? 2024-06-18 10:22:26 0x4202b49a: btdm_controller_init at ??:? 2024-06-18 10:22:26 3fca3e40: 0x00000000 0x000000d8 0x3fc9dd08 0x3fc9eba4 0x00000005 0x00010157 0x3fca3ed4 0x40391324 2024-06-18 10:22:26 0x40391324: esp_log_write at D:/Espressif/frameworks/esp-idf-v5.1.2/components/log/log.c:212 2024-06-18 10:22:26 3fca3e60: 0x3fcdf980 0x00000004 0x3fc9e35c 0x3fca0006 0x00001808 0xfadebead 0x00000000 0x3fca5b4c 2024-06-18 10:22:26 3fca3e80: 0x3fc9eb60 0x3fc9eb14 0x3fc9e35c 0x3fc9eba4 0x00000005 0x00000001 0x3fca3ed4 0x420177b2 2024-06-18 10:22:26 0x420177b2: esp_bt_controller_init at D:/Espressif/frameworks/esp-idf-v5.1.2/components/bt/controller/esp32c3/bt.c:1317 2024-06-18 10:22:26 3fca3ea0: 0x3fc9ec74 0x00000004 0x00000004 0x4039243c 0x3fc9ec74 0x00000004 0x00000001 0x40392476 2024-06-18 10:22:26 0x4039243c: _calloc_r at D:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/heap.c:65 2024-06-18 10:22:26 0x40392476: calloc at D:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/heap.c:30 2024-06-18 10:22:26 3fca3ec0: 0x00000000 0x3fc9ec04 0x3fc9ec04 0x42022696 0x7c060f2d 0x5a5aa5a5 0x02307120 0x00171000 2024-06-18 10:22:26 0x42022696: nimble_port_init at D:/Espressif/frameworks/esp-idf-v5.1.2/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:145 2024-06-18 10:22:26 3fca3ee0: 0x00000601 0x001e0000 0x01000000 0x00000000 0x000b0000 0x00000001 0x00640000 0x00000000 2024-06-18 10:22:26 3fca3f00: 0x01010000 0x00140005 0x00000000 0x00000001 0x3c0f5f1c 0x00000084 0x3fc9ec04 0x42016154 2024-06-18 10:22:26 0x42016154: simple_ble_start at D:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/src/transports/protocomm_nimble.c:498 2024-06-18 10:22:26 3fca3f20: 0x00000005 0x3fc9eb70 0x3fc9ec04 0x4201668c 0xffffffff 0x00000000 0x3c0f5f28 0x3fc9e000 2024-06-18 10:22:26 0x4201668c: protocomm_ble_start at D:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/src/transports/protocomm_nimble.c:965 2024-06-18 10:22:26 3fca3f40: 0x3c0f5f1c 0x3fc9e22c 0x00000000 0x42010bb2 0x00000000 0x00000020 0x00000000 0x4200e044 2024-06-18 10:22:26 0x42010bb2: prov_start at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:53 2024-06-18 10:22:26 0x4200e044: wifi_prov_mgr_start_service at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/manager.c:300 2024-06-18 10:22:26 3fca3f60: 0x00000000 0x3fc9e274 0x3c0f5f28 0x3c0f5f1c 0x00000000 0x00000001 0x00000000 0x4200fd1c 2024-06-18 10:22:26 0x4200fd1c: wifi_prov_mgr_start_provisioning at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/manager.c:1649 2024-06-18 10:22:26 3fca3f80: 0xffffffff 0xa5a5a5a5 0xa5a5a5a5 0x420101cc 0x00000000 0x00000000 0x3c0f8174 0x00000000 2024-06-18 10:22:26 0x420101cc: stop_prov_timer_cb at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/manager.c:717 2024-06-18 10:22:26 3fca3fa0: 0x4200deb2 0x00000000 0x00000000 0x3c0f81c8 0x00000000 0x4200d3bc 0x00000000 0x00000000 2024-06-18 10:22:26 0x4200deb2: cleanup_delay_timer_cb at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/manager.c:722 2024-06-18 10:22:26 0x4200d3bc: wifi_connect_timer_cb at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/manager.c:1209 2024-06-18 10:22:26 3fca3fc0: 0x3c0f811c 0x00000000 0x2058494d 0x00000034 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca3fe0: 0x00000000 0x00000000 0x72657771 0x69757974 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca4000: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca4020: 0x00000000 0x00000000 0x00000001 0xe5739200 0x0bf09562 0x00000003 0x00000000 0x600c2081 2024-06-18 10:22:26 3fca4040: 0x00000003 0x00000001 0x3fca01c0 0x00000003 0x00000000 0x00000000 0x00c9e3d0 0x00000000 2024-06-18 10:22:26 3fca4060: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3f000000 0x00000000 2024-06-18 10:22:26 3fca4080: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca40a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca40c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca40e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca4100: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 2024-06-18 10:22:26 3fca4120: 0x00000000 0x00000000 0x00000000 0x00000000 0x42010b28 0x42010ab6 0xffffffff 0x00000001 2024-06-18 10:22:26 0x42010b28: new_config at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:87 2024-06-18 10:22:26 0x42010ab6: delete_config at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:107 2024-06-18 10:22:26 3fca4140: 0x00000000 0x3fca35a4 0x3fca5b18 0x42008b66 0x42010b9a 0x42016740 0x42010b28 0x42010ab6 2024-06-18 10:22:26 0x42008b66: wifi_sta_init at C:/Users/Administrator/Desktop/project/STA1/main/main.c:222 2024-06-18 10:22:26 0x42010b9a: prov_start at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:28 2024-06-18 10:22:26 0x42016740: protocomm_ble_stop at D:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/src/transports/protocomm_nimble.c:980 2024-06-18 10:22:26 0x42010b28: new_config at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:87 2024-06-18 10:22:26 0x42010ab6: delete_config at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:107 2024-06-18 10:22:26 3fca4160: 0x420109c6 0x420108b4 0x00000001 0x42010c42 0x00000000 0x00000000 0x00000000 0x00000001 2024-06-18 10:22:26 0x420109c6: set_config_service at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:122 2024-06-18 10:22:26 0x420108b4: set_config_endpoint at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:164 2024-06-18 10:22:26 0x42010c42: wifi_prov_scheme_ble_event_cb_free_ble at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:253 2024-06-18 10:22:26 3fca4180: 0x00140001 0x00000004 0x3fc9e000 0x42010b9a 0x42016740 0x42010b28 0x42010ab6 0x420109c6 2024-06-18 10:22:26 0x42010b9a: prov_start at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:28 2024-06-18 10:22:26 0x42016740: protocomm_ble_stop at D:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/src/transports/protocomm_nimble.c:980 2024-06-18 10:22:26 0x42010b28: new_config at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:87 2024-06-18 10:22:26 0x42010ab6: delete_config at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:107 2024-06-18 10:22:26 0x420109c6: set_config_service at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:122 2024-06-18 10:22:26 3fca41a0: 0x420108b4 0x00000001 0x42010c42 0x00000000 0x00000000 0x00000000 0x3fc95df8 0x00000074 2024-06-18 10:22:26 0x420108b4: set_config_endpoint at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:164 2024-06-18 10:22:26 0x42010c42: wifi_prov_scheme_ble_event_cb_free_ble at D:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/src/scheme_ble.c:253 2024-06-18 10:22:26 2024-06-18 10:22:26 2024-06-18 10:22:26 2024-06-18 10:22:26 ELF file SHA256: 986ce6ba58c297be 2024-06-18 10:22:26 2024-06-18 10:22:26 Rebooting... 2024-06-18 10:22:26 ESP-ROM 2024-06-18 10:22:26 Build 7 2021 2024-06-18 10:22:26 rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT) 2024-06-18 10:22:26 Saved PC:0x40048b82 2024-06-18 10:22:26 0x40048b82: ets_secure_boot_verify_bootloader_with_keys in ROM |
|
相关推荐
1个回答
|
|
从您提供的日志来看,这个问题可能是由于蓝牙配网过程中出现了一些问题,导致程序崩溃。为了解决这个问题,我们可以尝试以下步骤:
1. **确保硬件连接正常**:首先,请确保您的设备与Wi-Fi路由器之间的连接正常。检查Wi-Fi信号强度,并确保设备在路由器的覆盖范围内。 2. **检查配网代码**:请检查您的蓝牙配网代码,确保在配网过程中没有出现错误。例如,确保在配网过程中正确处理了所有的回调函数,以及在配网失败时进行了相应的处理。 3. **重新启动设备**:在断开Wi-Fi连接之前,尝试重新启动设备。这可以帮助清除设备中的一些临时数据,可能会解决配网失败的问题。 4. **检查日志输出**:从您提供的日志来看,程序在`tlsf_block_functions.h`文件的`block_size`函数中崩溃。这可能是由于内存分配或释放的问题导致的。请检查您的代码,确保在配网过程中没有出现内存泄漏或其他内存管理问题。 5. **更新软件和固件**:确保您的设备上运行的软件和固件是最新版本。有时,软件更新可能会修复一些已知的问题,从而解决配网失败的问题。 6. **尝试其他配网方法**:如果蓝牙配网仍然失败,您可以尝试使用其他配网方法,例如使用手机APP进行配网,或者通过Wi-Fi配网。 7. **联系技术支持**:如果以上方法都无法解决问题,您可以考虑联系设备制造商的技术支持团队,寻求专业的帮助。 8. **考虑硬件问题**:如果问题仍然存在,可能是设备硬件出现了问题。在这种情况下,您可能需要考虑更换设备或者联系设备制造商进行维修。 通过以上步骤,您应该能够找到导致蓝牙配网失败的原因,并采取相应的措施来解决问题。希望这些建议对您有所帮助! |
|
|
|
只有小组成员才能发言,加入小组>>
1123 浏览 1 评论
574浏览 6评论
477浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
461浏览 5评论
462浏览 4评论
435浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 15:27 , Processed in 0.897042 second(s), Total 83, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号