ZEPHYR FATAL ERROR 3 in Bluetooth Mesh node
Omar Morceli
Hi
There are four mesh nodes, so three of them send a lot of messages, and one receives all three node messages and also sends a few messages.
this error occurs in the node that is receiving messages:
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:305
k_sem_take failed with err -11
[00:30:52.100,372] <err> os: r0/a1: 0x00000003 r1/a2: 0x0002c8d4 r2/a3: 0x00000001
[00:30:52.100,402] <err> os: r3/a4: 0x0000578d r12/ip: 0xa0000000 r14/lr: 0x000089ff
[00:30:52.100,402] <err> os: xpsr: 0x41000000
[00:30:52.100,402] <err> os: Faulting instruction address (r15/pc): 0x00008a0a
[00:30:52.100,402] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:30:52.100,433] <err> os: Current thread: 0x20002790 (BT Mesh adv)
[00:30:52.166,992] <err> os: Halting system
k_sem_take failed with err -11
[00:30:52.100,372] <err> os: r0/a1: 0x00000003 r1/a2: 0x0002c8d4 r2/a3: 0x00000001
[00:30:52.100,402] <err> os: r3/a4: 0x0000578d r12/ip: 0xa0000000 r14/lr: 0x000089ff
[00:30:52.100,402] <err> os: xpsr: 0x41000000
[00:30:52.100,402] <err> os: Faulting instruction address (r15/pc): 0x00008a0a
[00:30:52.100,402] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:30:52.100,433] <err> os: Current thread: 0x20002790 (BT Mesh adv)
[00:30:52.166,992] <err> os: Halting system
here are the mesh configuration parameters
CONFIG_BT_MESH_CRPL=128
CONFIG_BT_MESH_MSG_CACHE_SIZE=128
CONFIG_BT_MESH_ADV_BUF_COUNT=128
CONFIG_BT_MESH_SEG_BUFS=256
CONFIG_BT_MESH_RX_SEG_MAX=10
CONFIG_BT_MESH_TX_SEG_MAX=10
CONFIG_BT_MESH_RX_SEG_MSG_COUNT=10
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=10
CONFIG_BT_MESH_LOOPBACK_BUFS=32
Thanks