cancel
Showing results for 
Search instead for 
Did you mean: 

OpenAMP and FreeRTOS on STM32MP1

SMang.1
Associate II

I am facing a freeze on M4 and A7 core when enabling FreeRTOS with OpenAMP_TTY_echo example.

Can someone please point out if OpenAMP and FreeRTOS can be run together or not?

3 REPLIES 3
SMang.1
Associate II

Still waiting for some response, here.

JSpra
Associate III

I'm having same problem.

Noticed that there are no examples with this combination.

Is OpenAmp thread safe?

More info here

https://github.com/OpenAMP/open-amp/issues/217

ArnaudP
Senior

Hello,

Have you tested this exemple: https://github.com/STMicroelectronics/STM32CubeMP1/tree/master/Projects/STM32MP157C-DK2/Applications/OpenAMP/OpenAMP_FreeRTOS_echo?

Note that the use of OpenAMP and freeRTOS has limitations:

  • As mentioned in issue 101, there is a thread rescheduling issue that can lead to a freeze. To avoid this you have to handle the RPMsg send an receive in the same thread ( to avoid double mutex lock).
  • The libmetal library of the ST distribution has been configured for the baremetal ( no OS). It therefore does not take advantage of FreeRTOS routines.