This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Random hangs and crashes when sending IPC messages from netcore to appcore

There is already a case on github:

https://github.com/zephyrproject-rtos/zephyr/issues/44586

But essentially we see an issue with nrf5340, where we get random crashes and hangs when sending IPC messages from netcore to appcore. I have created a pretty barebone application which is linked to in the github issue that recreates the issue. I have ordered some nrf5340dk kits, but have not received them yet, but it should be pretty straight forward to port this application to nrf5340dk. The issue seems also very hardware dependent, and currently we only got two devices where the issue happens often, but it happens on all of our devices.

The application is sending a message from the netcore to the application core every second which then logs it using the logging infrastructure. The logging backbone is UART. What we see is that the application either hangs (most common) or reboots both with and without core dumps.

Parents
  • Hi,

     

    I have been trying to replicate this issue on my end with the fw that you attached in the github issue, without much success, unfortunately.

    Is the project configured with the standard "nrf5340dk_nrf5340_cpu*" boards, or are you using a custom board when configuring?

    Issue occurs if you disable logging as well? It might be beneficial to add a blinking LED to see if the fw still runs if you try this approach.

     

    Kind regards,

    Håkon

  • Yes, we use a custom board that was at some point based on the standard nrf5340dk_nrf5340_cpu board. I think we forked it on NCS version 1.5 or 1.6. I will try disabling logging when I am back at work tomorrow.

Reply Children
No Data
Related