cancel
Showing results for 
Search instead for 
Did you mean: 

Error using CubeIDE ro run an example application for the STM32MP257F-EV1

Carson
Associate III

Hello,

 

I am currently trying to being up the STM32MP257F-EV1 development board and running into a problem. I am using CubeIDE following the following guide: https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-M33/Modify,_rebuild_and_reload_the_firmware.

Specifically I am on step 8 when you have to create the run and debug configurations. I followed the guide and created the configurations correctly but now when I run the example application (OpenAMP_ttyecho_CM33_NonSecure) I get the following error:

Error in final launch sequence:

Failed pre launch
Failed pre launch
Firmware remoteproc load failed, please:
1. make sure that /lib/firmware on your target has space
2. make sure that /lib/firmware has write access

> you can open a Console View for this..

 

Any help would be greatly appreciated. Thanks!

 

Carson

2 REPLIES 2
Kevin HUBER
ST Employee

Hello @Carson ,

 

by looking at the error, I think you are not trying to launch the signed image.

If you follow the step 8, you can see that the application to launch is: "OpenAMP_TTY_echo_CM33_NonSecure_sign.bin".

 

It is specified at the second line of the step8

  • With the arrow right of the hammer sign, choose the project configuration with "_sign" in the name, then it is going to build it

To verify what was copied and if something was really copied on the target, please can you go on the target and share with me the names of all the files in "/lib/firmware".

 

Best Regards,

Kevin

In order 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.
Carson
Associate III

Hello Kevin, 

 

I am trying to launch the signed image. I set up my run configuration as follows: 

Project:

OpenAMP_TTY_echo_CM33_NonSecure

C/C++ Application:

CA35TDCID_m33_sign/OpenAMP_TTY_echo_CM33_NonSecure_sign.bin

Build Configuration:

Use Active

And use workspace settings is checked while Enable/Disable auto build are both unchecked. 

 

When I go into the file of /lib/firmware the files I see are LICENCE.cypress_bcm4343, WHENCE, regulatory.db.p7s, OpenAMP_TTY_echo_CM33_NonSecure_sign.bin, brcm, rtl_nic, USBPD_DRP_UCSI_CM33_NonSecure.elf, regulatory.db

 

Thanks,

Carson