2025-03-20 11:25 PM
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!
2025-03-21 10:28 AM
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.