I'm trying to get IPC communication between MCU2_0 and MCU2_0 up and running. Both CPUs use RTOS, no Linux on A72 cores.
In CSS I use the lauch.js script to load the DMSC and the MCU1_0 sci server. Then I start the ipc_rtos_echo_test_freertos_mcu2_0_debug.xer5f and the ipc_rtos_echo_test_freertos_mcu3_0_debug.xer5f from processor-sdk-rtos-j721-evm-08_05_00_11 on said CPUs.
I mostly get no communication. I sometimes get between 1 and 9 pings and pongs. How can I get relyable communication?
When I modify the software on one core that it sends messages without waiting for an answer, the FiFo fills up when the other core is not working. (Which is natural) When I reset and restart both, the FiFo is Full from the beginning. I get the error message: "Virtio_kick: Ipc_mailboxSend failed" on the UART but the RPMessage_send() returns an OK.
How can I get the appropriate status from RPMessage_send()? Or how can I figure out that the FiFO is full?
How can I reset the FiFo? (Other than power down the whole system)