cancel
Showing results for 
Search instead for 
Did you mean: 

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

HMüll.4
Associate III

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!

 

1 REPLY 1
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.