Help with IPC Communication Between Cortex-A72 and C71x DSP using remoteproc and rpmsg

I am working on establishing IPC communication between the Cortex-A72 and the C71x DSP on the BeagleBone AI-64, using ‘remoteproc’ and ‘RPMsg’ to send two vectors from Linux to the DSP, perform their multiplication on the C71x, and read the result back on Linux.
I started with simple example: The C71x DSP sends a ‘Hello World’ message to the Cortex-A72 when it receives a ‘start’ message from the Cortex-A72. In the main.c file of this example I use RPMessage_recv(), RPMessage_send(),… defined in ipc.h of “ti-processor-sdk-rtos-j721e-evm-11_00_00_06” i get seccusfully the executable and but when i run it on c7x i get this error :
debian@BeagleBone:~$ sudo cp dsp_rpmsg_hello.elf /lib/firmware/
debian@BeagleBone:~$ sudo echo stop > /sys/class/remoteproc/remoteproc14/state
debian@BeagleBone:~$ sudo echo dsp_rpmsg_hello.elf > /sys/class/remoteproc/remoteproc14/firmware
debian@BeagleBone:~$ sudo echo start > /sys/class/remoteproc/remoteproc14/state
echo: write error: Invalid argument
Is there any example that can help me fix this error and how can i establish two sides IPC communication between the Cortex-A72 and the C71x DSP ???

For the Y-AI but should greatly help you

3 Likes

Thanks!! I will check that.