cancel
Showing results for 
Search instead for 
Did you mean: 

M33 gets stuck while initializing openamp on STM32MP257F-EV1

hc_hong
Associate II

Hello,

I am trying to run a project I made on M33 on STM32MP257F-EV1. However, I am having trouble setting up OpenAMP on M33.

After enabling openAMP in the .ioc file of STM32CubeIDE (version 1.18.0) and generating the project, running it, it stops at the code 'while(resource_table.vring1.da != VRING_RX_ADDRESS)'.

in rsc_table.c

hc_hong_0-1742189984858.png

 

in main.c

hc_hong_1-1742190358433.png

dmesg when m33 launch sequence.

hc_hong_2-1742190582030.png

 

Thanks!

 

2 REPLIES 2
Pwxn
ST Employee

hello @hc_hong 

 

Could you share with me more information about your configuration.

Which image of ostl did you load on the stm32mp257f-ev1 board ? 

What is the format of the firmware you are trying to launch on the board ? 

You can also share your project here if it doesn't contain any sensitive information. 

 

Regards,

 

Hello @Pwxn 

Thank you for your patience regarding my late response.

I am currently testing the board with two Starter Packages:

FlashLayout_sdcard_stm32mp257f-dk-ca35tdcid-ostl-optee

FlashLayout_sdcard_stm32mp257f-dk-ca35tdcid-ostl-m33-examples-optee

The setup is quite straightforward. I created a project in STM32CubeIDE targeting the STM32MP257F-EV1 board. In the default configuration, I enabled OPENAMP and FreeRTOS, and made several adjustments to resolve some build issues.

I would like to share the project files, but unfortunately, I am currently on a business trip and unable to do so.

Thank you very much!