cancel
Showing results for 
Search instead for 
Did you mean: 

forced_mode of boot_ctx is always set to 3

fantasylsdo
Associate II

Hello ST team,

I came across issue here.

The force_mode of boot_ctx is always set to 3, which force the MPU to boot over USB, rather than MMC. I tried to set TAMP_BKP20R(BOOT MODE) to 0, but the behavior is the same after reset.

ISSUE MPU.png

Aslo, I have another board (hardware is slightly different, but boot pin configuration is the same), which works well.

GOOD MPU.png

I know it can be fixed by changing UBOOT code. My questions are:

1. Is the value of this register boot_ctx set by ROM code?

2. The MPU model and version of the above two board are the same, STM32MP151FAD Rev.Z. Why is their behavoir different? 

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @fantasylsdo 

One assumption to check 

May you properly delete the configuration of USER1 button in you DT ? 

See description in LEDs and buttons on STM32 MPU boards - stm32mpu 

Hope it help 

Olivier 

 

Olivier GALLIEN
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.