hello Nordic
i work on nrf52832, trying to run it with zephyr application
one board runs fine (more/less, there are some MPU FAULT issue that i am facing with no luck yet and i brought it up also in this, waiting for answer, thread:
performance issue with multi threadn in ncs with nrf52832 )
when i add another board i get the following fail :
ASSERTION FAIL [!arch_is_in_isr()] @ WEST_TOPDIR/zephyr/kernel/thread.c:622 Threads may not be created in ISRs [00000022] <err> os: ***** HARD FAULT ***** [00000022] <err> os: Fault escalation (see below) [00000022] [1;31m<err> os: r0/a1: 0x00000004 r1/a2: 0x0000026e r2/a3: 0x00000000 [00000023] <err> os: r3/a4: 0x00000002 r12/ip: 0xa0000000 r14/lr: 0x0002f133 [00000023] <err> os: xpsr: 0x6100000b [00000023] <err> os: s[ 0]: 0x00000000 s[ 1]: 0x00000000 s[ 2]: 0x00000000 s[ 3]: 0x00000000 [00000024] <err> os: s[ 4]: 0x00000000 s[ 5]: 0x00000000 s[ 6]: 0x00000000 s[ 7]: 0x00000000 [00000024] [1;31m<err> os: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000 [00000025] <err> os: s[12]: 0x00000000 s[13]: 0x00000000 s[14]: 0x00000000 s[15]: 0x00000000 [00000025] <err> os: fpscr: 0x00000000 [00000025] <err> os: Faulting instruction address (r15/pc): 0x000344f6 [00000025] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 [00000026] [1;31m<err> os: Fault during interrupt handling [00000026] <err> os: Current thread: 0x200029d0 (unknown) [00023642] [1;31m<err> fatal_error: Resetting system
my question is, how to decipher this log, how can i know from this lines where my problem is, which isr, which thread ?
hope to get help on this matter soon
best regards
Ziv