cancel
Showing results for 
Search instead for 
Did you mean: 

OpenAMP is not working on CM4 (STM32H745I-Disco board)

Vineet_872
Associate II

Hi,

I using STM32H745I-Disco board and trying to do intercomunication using OpenAMP. But my generated code is compile sucessfully but it not working in coreM4 it stucking in the below function

/* create a endpoint for rmpsg communication */

int32_t status = OPENAMP_create_endpoint(&rp_endpoint, RPMSG_CORE_M4_NAME, RPMSG_ADDR_ANY,

rpmsg_recv_callback, NULL);

if (status < 0)

{

Error_Handler();

}

I have tried the example code Openamp_ping_pong example for STM32745I-Disco board, which is

Working fine. But my generated code is not working. I have go through the already mention same

issues in ST forum which link given below

https://community.st.com/t5/stm32cubemx-mcus/openamp-issue-on-stm32h745/m-p/794133?search-action-id=67994286745&search-result-uid=794133

 

and I have go through the OpenAMP document also which link mention below

 

https://www.st.com/resource/en/application_note/an5617-stm32h745755-and-stm32h747757-lines-interprocessor-communications-stmicroelectronics.pdf

 

My STM32CubeIDE version is 1.18.1 and Cubemax version is 6.14.1.

can someone please help what is need to modify and change to get the intercommunication work

with my code.

 

Thanks
Vineet

Post edited by ST moderator to follow the community rules. Please review this post on how to insert a code in your posts. Thank you for your understanding.

 

1 REPLY 1
Saket_Om
ST Employee

Hello @Vineet_872 

Please refer to the article below: 

How to implement inter-processor communication in ... - STMicroelectronics Community

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om