-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPMsg-Lite Bare Metal Example #45
Comments
Hello @wonk-andy , Regards |
Hello @MichalPrincNXP When using BM do you have to switch to using the static API ( I have made the suggested changes and am testing using the imx_rpmsg_pingpong example under Linux on the master side. From what I can tell, the link is coming up on the remote side ( Also, do I need to use MCMGR (the low level multicore management library)? Any ideas? -Andy. |
Hi @wonk-andy I would test if the MU_M4_IRQHandler on the cm4 side is reached first. If so, it can be then debugged what happens when the MU interrupt is reached and why the callback is not reached. MCMGR is not needed, it is used for cores management between two Cortex-Mx cores, not between Cortex-Ax and Cortex-Mx Regards |
The only time I see the Update: If I add the calls to MU_M4_IRQHandler() What I don't ever see for these first two interrupts is my callback function being called. Update 2:
Update 3: Found the issue! The Linux ping-pong example needs the I now have my bare metal firmware replicating the ping-pong example with Linux. Onto the next step, swap Linux for QNX! -Andy |
Hello,
Is there a working example of running RPMsg-Lite on bare metal (my target is i.MX8MM but the example doesn't need to be)?
The FreeRTOS example uses a queue, which bare metal doesn't have, and uses a blocking
rpmsg_queue_recv()
function.If I try to use the FreeRTOS example as-is in my bare metal code then the linker complains about missing
env_put_queue()
andenv_create_queue()
functions. The bare metal Cortex-M4 firmware is the "remote" side.Thanks in advance.
-Andy
The text was updated successfully, but these errors were encountered: