esp32c3 ble mesh组网

jiangzb@szlanyou
Posts: 1
Joined: Tue Jan 25, 2022 12:37 am

esp32c3 ble mesh组网

Postby jiangzb@szlanyou » Tue Jan 25, 2022 2:38 am

问题:使用esp32c3模组作为蓝牙mesh节点(proxy和relay同时开启),使用app进行配网,配网成功后,所有模组不定时主动向app发数据,(存在并发情况),过了一会发现模组大部分重启了,原因时看门狗重启,导致看门狗重启的原因如下:
assert ke_mem.c 267, param 00000000 00000000

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).

Core 0 register dump:
MEPC : 0x40002d66 RA : 0x40002d52 SP : 0x3fca42a0 GP : 0x3fc903b4
TP : 0x3fc739d8 T0 : 0x4005890e T1 : 0x00000000 T2 : 0x20200102
S0/FP : 0x00000000 S1 : 0x0000000c A0 : 0x0000002d A1 : 0x0000000a
A2 : 0x3fca41f0 A3 : 0x00000001 A4 : 0x00000001 A5 : 0x3fcdf9f8
A6 : 0xa0000000 A7 : 0x0000000a S2 : 0x00000000 S3 : 0x3fce0000
S4 : 0x3fcdfdd0 S5 : 0x0000a55a S6 : 0x00000008 S7 : 0x00000000
S8 : 0x3ff1b000 S9 : 0x00000001 S10 : 0x3fce0000 S11 : 0x00000018
T3 : 0x00000000 T4 : 0x381bd075 T5 : 0x41432000 T6 : 0x002a5200
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000018 MTVAL : 0x00004398
MHARTID : 0x00000000

Stack memory:
3fca42a0: 0x00000000 0x00000008 0x3fc9fea0 0x4000a016 0x00000000 0x00000008 0x3fc99000 0x3fca30f0
3fca42c0: 0x00000000 0x00000000 0x00000019 0x00000001 0x00000011 0x00000000 0x7fbe9009 0x3fc97608
3fca42e0: 0x3fce0000 0x3fc97000 0x00000000 0x4209e46c 0x00000000 0x00001800 0x0f407d44 0x01025747
3fca4300: 0x0c0a021a 0x004cff0a 0x1c480510 0x00fbefed 0x00000001 0x00000000 0x00000000 0x00000000
3fca4320: 0x3fca312c 0x3ff1f6b0 0x3fce0000 0x00000000 0x3fca312c 0x3ff1f6b0 0x3fce0000 0x3fce0000
3fca4340: 0x00000001 0x3fca4370 0x3fca30f0 0x4209e4fc 0x00000001 0x00000001 0x00000000 0x4002ce26
3fca4360: 0x403855ae 0x4038b492 0x3fc9bba4 0x42068218 0x0f407d44 0x40055747 0x00000000 0x20200000
3fca4380: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000002 0x00000004 0x00000001 0x00000000
3fca43a0: 0x00000000 0x00000000 0x3fce0000 0x3fce0000 0x3fc97000 0x0000000e 0x3fce0000 0x4002cb6e
3fca43c0: 0x3fce0000 0x3fce0000 0x3fca30e4 0x4209961a 0x00000001 0x381bd075 0x0000001f 0x3ff1b000
3fca43e0: 0x3fce0000 0x3fcdfd90 0x3fcdfd9c 0x40009dbc 0x3fce0000 0x00000002 0x3fcdff7c 0x00000008
3fca4400: 0x3fce0000 0x3fce0000 0x3c0fae84 0x3fce0000 0x3fce0000 0x00000002 0x3fce0000 0x420982b4
3fca4420: 0x3fce0000 0x00000002 0x3fce0000 0x4038365c 0x00000000 0x00000000 0x00000002 0x00000000
3fca4440: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fca4460: 0x00000000 0x00000000 0x00000000 0x4038b384 0x00000000 0x00000000 0x00000000 0x00000000
3fca4480: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x01ffac5b 0x00005dca 0x0201ac5b 0x00005dca
3fca44a0: 0x0001ac5b 0x00005dca 0x00fff6ec 0x0000ce00 0x03feac5b 0x005dca00 0x01feac5b 0x005dca00
3fca44c0: 0x02feac5b 0x005dca00 0x02feac5b 0x005dca01 0x03feac5b 0x005dca01 0x000301ec 0xce010102
3fca44e0: 0x00fff5ec 0x00ce0101 0x00fff5ec 0x00ce0001 0x00ff02ec 0x00ce0101 0x00fff4ec 0x00ce0101
3fca4500: 0x62746c65 0x34366469 0x00000001 0x01366469 0x00200100 0x00000020 0x27146414 0x000000ff
3fca4520: 0x01010107 0x00000001 0x00000000 0x00000000 0x7f7fffff 0x00000000 0x00000000 0x3fe00000
3fca4540: 0x00000000 0x3ff00000 0x00000000 0x40000000 0x94a03595 0x3fdfffff 0x35afe535 0x3fe00000
3fca4560: 0x94a03595 0x3fcfffff 0x00000000 0x3fc00000 0x00000000 0x40300000 0x00000000 0x3ff80000
3fca4580: 0x636f4361 0x3fd287a7 0x8b60c8b3 0x3fc68a28 0x509f79fb 0x3fd34413 0x00000000 0x40240000
3fca45a0: 0x00000000 0x401c0000 0x00000000 0x40140000 0x00000000 0x43500000 0x00000000 0x7ff80000
3fca45c0: 0x7fc00000 0x3fc8f400 0x00003650 0x00000000 0xa5a5a5a5 0x00000154 0x3fca4360 0x3fc99014
3fca45e0: 0x3fc980e4 0x3fc980e4 0x3fca45d8 0x3fc980dc 0x00000002 0x3fca3550 0x3fca3550 0x3fca45d8
3fca4600: 0x00000000 0x00000017 0x3fca35d4 0x6f437462 0x6f72746e 0x72656c6c 0x00bf0e00 0x00000000
3fca4620: 0x3fca45d0 0x00000017 0x00000000 0x00000000 0x00000000 0x00000000 0x3fc9982c 0x3fc99894
3fca4640: 0x3fc998fc 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420aab80
3fca4660: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fca4680: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000


ble_mesh设置参数如下:
# CONFIG_BLE_MESH_FAST_PROV is not set
CONFIG_BLE_MESH_NODE=y
# CONFIG_BLE_MESH_PROVISIONER is not set
CONFIG_BLE_MESH_PROV=y
CONFIG_BLE_MESH_PB_ADV=y
CONFIG_BLE_MESH_PB_GATT=y
CONFIG_BLE_MESH_PROXY=y
CONFIG_BLE_MESH_GATT_PROXY_SERVER=y
CONFIG_BLE_MESH_NODE_ID_TIMEOUT=60
CONFIG_BLE_MESH_PROXY_FILTER_SIZE=4
# CONFIG_BLE_MESH_GATT_PROXY_CLIENT is not set
CONFIG_BLE_MESH_NET_BUF_POOL_USAGE=y
CONFIG_BLE_MESH_SETTINGS=y
CONFIG_BLE_MESH_STORE_TIMEOUT=5
CONFIG_BLE_MESH_SEQ_STORE_RATE=100
CONFIG_BLE_MESH_RPL_STORE_TIMEOUT=20
# CONFIG_BLE_MESH_SETTINGS_BACKWARD_COMPATIBILITY is not set
# CONFIG_BLE_MESH_SPECIFIC_PARTITION is not set
CONFIG_BLE_MESH_SUBNET_COUNT=1
CONFIG_BLE_MESH_APP_KEY_COUNT=1
CONFIG_BLE_MESH_MODEL_KEY_COUNT=3
CONFIG_BLE_MESH_MODEL_GROUP_COUNT=3
CONFIG_BLE_MESH_LABEL_COUNT=3
CONFIG_BLE_MESH_CRPL=80
CONFIG_BLE_MESH_MSG_CACHE_SIZE=40
CONFIG_BLE_MESH_ADV_BUF_COUNT=120
CONFIG_BLE_MESH_IVU_DIVIDER=4
CONFIG_BLE_MESH_TX_SEG_MSG_COUNT=10
CONFIG_BLE_MESH_RX_SEG_MSG_COUNT=10
CONFIG_BLE_MESH_RX_SDU_MAX=384
CONFIG_BLE_MESH_TX_SEG_MAX=32
CONFIG_BLE_MESH_RELAY=y
# CONFIG_BLE_MESH_RELAY_ADV_BUF is not set
# CONFIG_BLE_MESH_LOW_POWER is not set
# CONFIG_BLE_MESH_FRIEND is not set
# CONFIG_BLE_MESH_NO_LOG is not set

Who is online

Users browsing this forum: Bing [Bot] and 33 guests