2024-10-17 05:32 PM - edited 2024-10-17 06:22 PM
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
2024-10-18 06:06 AM
Hello @StrangeTau ,
Please no need for Thread duplication:
2024-10-20 06:57 PM - edited 2024-10-20 06:59 PM
Hello @SofLit
I apologize for my mistake in not following the community guidelines.