I'm developing a software with the nRF Connect SDK v2.5.1. This software runs Matter on the nRF5340.
I need to reset the MCU from my app. To do so, I use the sys_reboot(SYS_REBOOT_COLD) function. But this makes the OS crash with the following trace:
uart:~$ E: IPC endpoint bind timed out ASSERTION FAIL @ WEST_TOPDIR/zephyr/drivers/ieee802154/ieee802154_nrf5.c:1153 E: r0/a1: 0x00000004 r1/a2: 0x00000481 r2/a3: 0x2000ca30 E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00023e0f E: xpsr: 0x69100000 E: s[ 0]: 0xffffffff s[ 1]: 0x000134c5 s[ 2]: 0x00000000 s[ 3]: 0x00038607 E: s[ 4]: 0x00008000 s[ 5]: 0x000aeab4 s[ 6]: 0x000a6548 s[ 7]: 0x000aebf0 E: s[ 8]: 0x00000000 s[ 9]: 0x00072377 s[10]: 0x00008000 s[11]: 0x20027404 E: s[12]: 0x20002f40 s[13]: 0x00023e05 s[14]: 0x000ac36c s[15]: 0x000aeab4 E: fpscr: 0x00000481 E: Faulting instruction address (r15/pc): 0x00072362 E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 E: Current thread: 0x2000ca30 (main) E: Halting system
Is there a way to make it better ?