Part Number: AM6442
Hello
I wan to try a simple RPMsg echo from Linux to an R5F core and back again. For the R5F core I used a demo project from the MCU SDK. However, I am struggling with the Linux part. When I check the contents of the /dev directory on my EVM, I find the following character device files: rpmsg0 ... rpmsg4 and rpmsg_ctrl0 ... rpmsg_ctrl3.
For my initial test I wanted to write and read from the rpmsg0 file as in the attachment. After I started the R5F demo project I wanted to launch that program from the attachment, but it turned out that rpmsg0 and rpmsg1 disappeared. What could cause this?
I am not sure whether my approach is correct in the first place. I can't find any documentation about how to use those device files and what they do. Is there any documentation about them? My online research always leads me here, but that example does not answer my question. In the end I just want to be able to send and receive messages from/to the remote cores (R5F, M4F and PRUs).
I would appreciate any help about RPMsg from and to Linux.
Many thanks
Leon Rigoni