ESP32C6 BLE MESH 崩溃问题 software_reset_cpu in ROM

User avatar
fb_iceg
Posts: 18
Joined: Tue Aug 22, 2023 7:29 am

ESP32C6 BLE MESH 崩溃问题 software_reset_cpu in ROM

Postby fb_iceg » Sat Mar 23, 2024 4:07 pm

Code: Select all

I (1113) mesh_vendor: ESP_BLE_MESH_NODE_SET_UNPROV_DEV_NAME_COMP_EVT, err_code 0
I (12773) mesh_vendor: ESP_BLE_MESH_NODE_PROV_LINK_OPEN_EVT, bearer PB-GATT
W (12873) BLE_MESH: bt_mesh_node_reset, Not provisioned
W (12883) BLE_MESH: bt_mesh_proxy_server_prov_enable, Already
I (12893) mesh_vendor: ESP_BLE_MESH_NODE_PROV_ENABLE_COMP_EVT, err_code 0
W (12913) BLE_MESH: No Health Server context provided
.ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
0x4001975a: software_reset_cpu in ROM

SPIWP:0xee
mode:DIO, clock div:2
load:0x4086c410,len:0xd10
load:0x4086e610,len:0x2dc4
load:0x40875728,len:0x17d8
entry 0x4086c410
问题出现过程,BLE MESH网络重复多次,重置,重新配网之后,芯片进入无法扫描到的状态,MESH reset,芯片复位都无法恢复。
使用 flash download tool V3.9.5 擦除芯片后,重新进行 BLE MESH配网,无法配网完成,log 信息如上所示,提示 software_reset_cpu in ROM

User avatar
fb_iceg
Posts: 18
Joined: Tue Aug 22, 2023 7:29 am

Re: ESP32C6 BLE MESH 崩溃问题 software_reset_cpu in ROM

Postby fb_iceg » Mon Mar 25, 2024 7:15 am

找到原因,有个超时判定,多次重复配网之后,不知道啥原因导致超时,自动重置MESH 出错

charlesfan
Posts: 3
Joined: Mon May 20, 2024 6:53 am

Re: ESP32C6 BLE MESH 崩溃问题 software_reset_cpu in ROM

Postby charlesfan » Mon May 20, 2024 7:36 am

Line editing and history features are disabled.

On Windows, try using Putty instead.
I (3900) main_task: Returned from app_main()
esp> E (5084) BT_OSI: osi_alarm_new alarm_cbs exhausted


assert failed: hash_map_set hash_map.c:129 (data != NULL)


Backtrace: 0x4008193e:0x3ffd6f60 0x40092dc5:0x3ffd6f80 0x40099b59:0x3ffd6fa0 0x4012a35a:0x3ffd70c0 0x400edf52:0x3ffd70e0 0x400f5e92:0x3ffd7100 0x400eefc1:0x3ffd7120 0x400f3196:0x3ffd73b0 0x400efcf8:0x3ffd7400 0x4014434d:0x3ffd7430 0x4012d226:0x3ffd7470 0x4012d5e1:0x3ffd7490 0x4012ac97:0x3ffd74b0 0x4009398d:0x3ffd74e0
0x4008193e: panic_abort at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/esp_system/panic.c:472
0x40092dc5: esp_system_abort at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/esp_system/port/esp_system_chip.c:93
0x40099b59: __assert_func at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/newlib/assert.c:81
0x4012a35a: hash_map_set at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/common/osi/hash_map.c:129 (discriminator 1)
0x400edf52: btu_start_timer at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/stack/btu/btu_task.c:439
0x400f5e92: gatt_start_conf_timer at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/stack/gatt/gatt_utils.c:1320
0x400eefc1: GATTS_HandleValueIndication at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/stack/gatt/gatt_api.c:644
0x400f3196: gatt_send_srv_chg_ind at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/stack/gatt/gatt_main.c:1072
0x400efcf8: GATT_SendServiceChangeIndication at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/stack/gatt/gatt_api.c:1606
0x4014434d: bta_gatts_send_service_change_indication at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/bta/gatt/bta_gatts_act.c:876
0x4012d226: bta_gatts_hdl_event at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/bta/gatt/bta_gatts_main.c:134
0x4012d5e1: bta_sys_event at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/host/bluedroid/bta/sys/bta_sys_main.c:499
0x4012ac97: osi_thread_run at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/bt/common/osi/thread.c:165
0x4009398d: vPortTaskWrapper at C:/Users/charlesfan/esp/v5.2.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:134





ELF file SHA256: cf2dc85f3

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

Who is online

Users browsing this forum: Google [Bot] and 20 guests