Skip to main content
JSchn.4
Associate II
April 29, 2021
Question

Communication between Cores with FreeRTOS on STM32H747i-Discovery, How can I adjust the example "FreeRTOS_AMP_Dual-RTOS", which is designed for the STM32H745-Dicovery board?

  • April 29, 2021
  • 8 replies
  • 5069 views

Hi there,

I am experimenting with the H747i-DISCO board to get the communication between two cores up and running. The mentioned example (github) is written for a slightly different board, the STM32H745-Discovery, so it should be not too difficult to adjust this example to the STM32H747-Discovery. But I am fairly new to the STM32 board and especially to the STM32CubeIDE.

So, your advice will be highly appreciated!

Greetings from Hannover, Germany!

Johannes

This topic has been closed for replies.

8 replies

Ons KOOLI
Associate
April 29, 2021

Hi @JSchn.4​ ,

You can do this and it should be easy, by a simple porting. What IDE are using ?

Best Regards,

Ons.

JSchn.4
JSchn.4Author
Associate II
April 29, 2021

Thank you very much for your quick response!

I am using STM32CubeIDE (latest version)

Tesla DeLorean
Guru
April 29, 2021

The H747 and H745 should be relatively similar, the former mainly adding DSI, the inter-core stuff should be a cut-n-paste.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
JSchn.4
JSchn.4Author
Associate II
April 30, 2021

@Community member​ Thank you very much for your comment. I agree! But unfortunately I am new to STM32 environment. I have just got accustomed to the STMEWCubeIDE and appreciate the features, that MX is providing.

Unfortunately the example does not provide an .ioc file, so that I do not know how to access the example with CubeMX. I know, it should be possible and it should not be to complicated, but I wonder if somebody has already experience in porting such a project.

Cheers

Johannes

JSchn.4
JSchn.4Author
Associate II
April 30, 2021

@Ons KOOLI​ Hi Ons, how can the porting in STM32CubeIDE be done?

Thanks for your support.

Johannes

Ons KOOLI
Associate
April 30, 2021

Hi @JSchn.4​ ,

I do not have big idea about STM32CubeIDE because I am an MCU staff. But as I far as I know it is easy and possible for CubeMX.

I will check this with my CubeIDE and Mx colleagues and provide you with solution as soon as possible.

Best Regards,

Ons.

JSchn.4
JSchn.4Author
Associate II
May 3, 2021

Hi @Ons KOOLI​ ,

thanks again for your quick response.

Unfortunately the migration does not work for Multikernel Projects (see UM2579, Section 2).

The migration from V1 to V2 seemed to be easier than expected. There was just one function (OsSemaphoreWait) which needed to be replaced.

Nevertheless, I still did not get the example to work. I have a clean compile, but the M7 core never receives any messages from M7. MAILBOX_Poll just does not get any interrupts.

I wonder if someone could have a look at my conversion.

Thanks a lot!

Johannes

Ons KOOLI
Associate
May 4, 2021

Hi @JSchn.4​ ,

Can you correct this:

>but the M7 core never receives any messages from M7.

Best Regards,

Ons.

JSchn.4
JSchn.4Author
Associate II
May 4, 2021

Oh, sorry, the M7 core never receives any messages from M4.

MAILBOX_Poll returns errornr 11 "No more processes".

Thanks for your help!

Johannes

JSchn.4
JSchn.4Author
Associate II
May 17, 2021

@Ons KOOLI​ 

any news?

Ons KOOLI
Associate
May 17, 2021

Hi @JSchn.4​ ,

Not yet, unfortunately. We are sorry for the delay. The ticket I opened for the OpenAMP team should have some delay due to limited bandwidth.

Best Regards,

Ons.

JSchn.4
JSchn.4Author
Associate II
May 20, 2021

@Ons KOOLI​ 

OK, you can close the ticket. We have found another solution.

Thank you anyway