Function OPENAMP_send Error
Hello
Error Definition1 : the return value of the OPENAMP_send function is 4. // RPMSG_ERR_NO_MEM?
Error Definition2 : the return value of the OPENAMP_send function is -2007. // RPMSG_ERR_ADDR
I'm developing RTOS environment of dual-core in STM32H757.
In OpenAMP communication mode, CM4 is the master and CM7 is the slave, and I used SRAM4 to create SHMEM.
I could refer to the examples provided by STM32, and I read the application note AN5617.
however, I can't find a solution for the error.
If the dest_addr is the address of the endpoint, the definition1 occurs, and if the dest_addr is RPMSG_ADDR_ANY, the definition2 occurs.
1. I think my OpenAMP Structure is simmilar to the OpenAMP example below. Isn't it?
2. In STM32CubeIDE Build Analyzer, if OPEN_AMP_SHMEM is not currently being used, will the above error definition1 occur?
Any help is greatly appreciated!
Friendly regards, Tau
# AN5617 Figure 9. OpenAMP example

# OpenAMP communication mode : master CM4

# OpenAMP communication mode : slave CM7

# STM32CubeIDE Build Analyzer : Memory Regions

