Skip to main content
SPele.1
Associate
June 29, 2021
Solved

Hi, Our boot source is eMMC via SDMMC2 bus (boot pins [2:0]='010'). Before booting, in the first access to the chip , is the MPU chip could be configured through USB OTG bus? Thanks in advnce, Shlomi

  • June 29, 2021
  • 2 replies
  • 965 views

..

This topic has been closed for replies.
Best answer by PatrickF

Hi,

I'm not sure to catch your request. What do you mean by 'configure the MPU chip' ?

Do you talk about Flashing the eMMC ? Fusing some OTP ?

With BOOT=0b010 (eMMC), If eMMC FSBL header is not valid (i.e. no magic number, bad CRC), the BootROM will fallback to USB boot. This is useful, e.g. in production when booting from virgin eMMC, to allow flashing with CubeProgrammer without having to play with BOOT pins.

You could find information in https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview

Regards.

2 replies

PatrickF
PatrickFBest answer
Technical Moderator
June 29, 2021

Hi,

I'm not sure to catch your request. What do you mean by 'configure the MPU chip' ?

Do you talk about Flashing the eMMC ? Fusing some OTP ?

With BOOT=0b010 (eMMC), If eMMC FSBL header is not valid (i.e. no magic number, bad CRC), the BootROM will fallback to USB boot. This is useful, e.g. in production when booting from virgin eMMC, to allow flashing with CubeProgrammer without having to play with BOOT pins.

You could find information in https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview

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
SPele.1
SPele.1Author
Associate
June 29, 2021

Patrick,

No - I'm talking about booting in production.

When we want to boot via USB OTG in production, when our eMMC is empty - in this case MPU does not see anything in eMMC and boot through the USB OTG?

Many thanks for your fast reply,

Shlomi