MCUBOOT SMP FAULT #49095
Unanswered
CreativeIndustryAg
asked this question in
Q&A
MCUBOOT SMP FAULT
#49095
Replies: 1 comment
-
I found bug in my application: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
Project in C++.
I'm trying to use mcumgr and application always crash (except first call "image list')
./mcumgr --conntype udp --connstring=[192.168.1.225]:1337 image list
After first call abowe i get:
Images: image=0 slot=0 version: 1.0.0 bootable: true flags: active confirmed hash: d4b17095395ee0545ed57d6784f181bb2280ba9aec1068089533ab80292df33a Split status: N/A (0)
So it works, but every next call or call any other mcumgr function crashes system:
[00:00:16.101,501] <err> os: ***** BUS FAULT ***** [00:00:16.101,562] <err> os: Precise data bus error [00:00:16.101,562] <err> os: BFAR Address: 0xf001a8c0 [00:00:16.101,623] <err> os: r0/a1: 0xf001a8c0 r1/a2: 0x8003d608 r2/a3: 0x8003d60c [00:00:16.101,654] <err> os: r3/a4: 0x00000010 r12/ip: 0xffffffff r14/lr: 0x60050dbf [00:00:16.101,654] <err> os: xpsr: 0xa1000000 [00:00:16.101,684] <err> os: Faulting instruction address (r15/pc): 0x6003ebfc [00:00:16.101,715] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 [00:00:16.101,745] <err> os: Current thread: 0x80009ca0 (sysworkq) [00:00:16.150,390] <err> os: Halting system
I tough this is stack problem, so i increase every one and it looks like:
uart:~$ kernel stacks 0x80001628 smp_udp4 (real size 9000): unused 8536 usage 464 / 9000 (5 %) 0x80006890 udp_serwer_sample (real size 5120): unused 2064 usage 3056 / 5120 (59 %) 0x800099e8 conn_mgr (real size 4096): unused 3928 usage 168 / 4096 (4 %) 0x80007410 shell_telnet (real size 2048): unused 1464 usage 584 / 2048 (28 %) 0x80009760 rx_q[0] (real size 4096): unused 3224 usage 872 / 4096 (21 %) 0x80009670 net_mgmt (real size 4096): unused 3428 usage 668 / 4096 (16 %) 0x800098f8 tcp_work (real size 4096): unused 3928 usage 168 / 4096 (4 %) 0x800049c0 mcux_eth_tx (real size 1600): unused 1440 usage 160 / 1600 (10 %) 0x80004240 mcux_eth_rx (real size 1600): unused 1184 usage 416 / 1600 (26 %) 0x80009ca0 sysworkq (real size 80000): unused 79008 usage 992 / 80000 (1 %) 0x80007140 shell_dummy (real size 2048): unused 1464 usage 584 / 2048 (28 %) 0x80006e70 shell_uart (real size 2048): unused 1200 usage 848 / 2048 (41 %) 0x80006da0 logging (real size 4096): unused 3552 usage 544 / 4096 (13 %) 0x80009af8 idle (real size 4096): unused 4032 usage 64 / 4096 (1 %) 0x80009bc8 main (real size 20480): unused 19880 usage 600 / 20480 (2 %) 0x8002da40 IRQ 00 (real size 4096): unused 3624 usage 472 / 4096 (11 %)
So it seems there is no stack problem.
DO you have any idea what is wrong?
Beta Was this translation helpful? Give feedback.
All reactions