Skip to main content
HMüll.4
Senior
March 21, 2025
Question

How to let a STM32MP257F boot from eMMC or SD-card?

  • March 21, 2025
  • 5 replies
  • 1453 views

Hi,

the TRM of the STM32MP257F  describes different possibilities to boot the controller including the possibility to boot from eMMC or SD-card. And when looking to the EV-board, there are DIP-switches to choose eMMC or SD-card as boot-device too.

But what I can't find: how does this work exactly? How do I have to format eMMC/SD-card and what do I have to place on these devices in order to let a bare-metal application being loaded? Is there a documentation available somewhere that describes this in detail?

Thanks!

 

This topic has been closed for replies.

5 replies

PatrickF
ST Employee
March 21, 2025

Hi @HMüll.4 

those link could help:

https://wiki.st.com/stm32mpu/wiki/STM32MP2_boot_chain_overview

https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout

 

Note that STM32MP257F does not support Bare-Metal on Cortex-A (only Linux or Android)

Bare-metal HAL is available only on Cortex-M33 (M33 coprocessor FW started by Linux).

Direct boot of Cortex-M33 (i.e. Cortex-M33 is master of the system, then will start Linux) is under development.

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Associate
September 7, 2025

Hello @PatrickF 

 

Is there any update on the release of the M33 being the master of the system ? Or we should always boot the Cortex-A first ? 

 

Regards.

PatrickF
ST Employee
September 8, 2025

Hi @SquishyHeart 

please have a look to latest ecosystem delivery 6.1.0 (look for M33-TD flavor)

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ecosystem_release_note

https://www.st.com/en/embedded-software/stm32mp2starter.html#get-software

PatrickF_0-1757311872872.png

 

Regards

 

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Associate
September 8, 2025

Thank you for the quick response !

 

I downloaded the M33 package and i was wondering where can I find a FlashLayout corresponding to my board (ie: STM32MP257F-DK).

Here is what I currently have with the FLASH-stm32mp2-m33td-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 package

Screenshot From 2025-09-08 10-42-54.png

Regards.