This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SMP over UDP not working after update to v1.6.0 in NCS

Hello,

Im using SMP over UDP (OpenThread) and after updating to v1.6.0 in NCS, sending most commands with `mcumgr-cli` makes the device restart with:

E: ***** MPU FAULT *****
E:   Stacking error (context area might be not valid)
E:   Data Access Violation
E:   MMFAR Address: 0x20016018
E: r0/a1:  0xaaaaaaaa  r1/a2:  0xaaaaaaaa  r2/a3:  0xaaaaaaaa
E: r3/a4:  0xaaaaaaaa r12/ip:  0xaaaaaaaa r14/lr:  0xaaaaaaaa
E:  xpsr:  0x61000000
E: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
E: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
E: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
E: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
E: fpscr:  0xaaaaaaaa
E: Faulting instruction address (r15/pc): 0x00029708
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x20002c08 (sysworkq)


This happens for most commands, including `echo`, `image upload`, `image confirm`, etc

It works perfectly fine up until `v1.5.1`.

Is this a known issue?


Thank you

Related