Stack overflow (context area not valid) on ncs v2.4.2

I use nRF5340 DK to test NOR flash writing. But it failed due to stack overflow. What is meaning of context area not valid and do you have any suggestion to debug this issue?

00> [00:00:22.770,416] <err> os: ***** USAGE FAULT *****
00> [00:00:22.770,416] <err> os:   Stack overflow (context area not valid)
00> [00:00:22.770,446] <err> os: r0/a1:  0x00000001  r1/a2:  0x00000000  r2/a3:  0x20001e58[0m
00> [00:00:22.770,446] <err> os: r3/a4:  0x20004d24 r12/ip:  0x20000cc8 r14/lr:  0x000022f7
00> [00:00:22.770,477] <err> os:  xpsr:  0x81000200
00> [00:00:22.770,477] <err> os: Faulting instruction address (r15/pc): 0x0000257e
00> [00:00:22.770,507] <err> os: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
00> [00:00:22.770,538] <err> os: Current thread: 0x20000c10 (flash thread)

Parents Reply Children
Related