2026-01-08 2:10 PM
Hi All
I have a question about the debugging the M4 when we are using OpenAMP
Lets say we have a simple example from the docs , and i am creating debug config and i am expecting the code to be flashed and the communication to work (while debugging) but that is not the case.
What is happening is the following , when debugging the code hangs on MX_OPENAMP_Init(RPMSG_REMOTE, NULL); and this is because the M4 is a slave and waits for the A7 to send a signal , but that is never happening because the A7 core is not aware of the debug.
Is there a straightforward way to debug ? instead of attaching to a running target , restarting the M4 core etc.
I cannot find anything on the internet
Thank you