Since we are working with a nrf52840 SoC, over the board Pulga, we are facing the following problem:
Whenever I try to change the MTU, even using the zephyr code sample, the periphel changes the MTU to the right value, but the Central device crashes:
[00:00:00.360,076] <err> os: ***** MPU FAULT *****
[00:00:00.360,107] <err> os: Stacking error (context area might be not valid)
[00:00:00.360,107] <err> os: Data Access Violation
[00:00:00.360,107] <err> os: MMFAR Address: 0x200038f8
[00:00:00.360,137] <err> os: r0/a1: 0x200006bc r1/a2: 0x20001390 r2/a3: 0x00000000
[00:00:00.360,137] <err> os: r3/a4: 0xe000ed00 r12/ip: 0x00000000 r14/lr: 0x20000e60
[00:00:00.360,137] <err> os: xpsr: 0x01000000
[00:00:00.308,227] <dbg> bt_l2cap: l2cap_connected: ch 0x20001728 cid 0x0005
[00:00:00.360,168] <err> os: Faulting instruction address (r15/pc): 0x0001cd46
[00:00:00.360,229] <err> os: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
[00:00:00.360,260] <err> os: Current thread: 0x20000f30 (BT RX pri)
[00:00:00.577,880] <err> os: Halting system
I already tried to increase Blutooth thread size, and use smaller values of MTU (the original example used 247), but none have worked.
Maybe some work need to be done in the ZephyrOS or I'm committing a small mistake in the Kconfig file
Since we are working with a nrf52840 SoC, over the board Pulga, we are facing the following problem:
Whenever I try to change the MTU, even using the zephyr code sample, the periphel changes the MTU to the right value, but the Central device crashes:
I already tried to increase Blutooth thread size, and use smaller values of MTU (the original example used 247), but none have worked.
Maybe some work need to be done in the ZephyrOS or I'm committing a small mistake in the Kconfig file