cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing STM32MP257 is giving an error

Duyvnhd
Associate II

Duyvnhd_0-1755848656670.png

Hello everyone

I am trying to flash the STM32MP257F-EV1 board using Programmer and now I am getting this error. Before that I followed the instructions of enable secure and ssp.

And can I renew the board

 

Thank

 

5 REPLIES 5
Sumit_Kumar
ST Employee

Hi @Duyvnhd,
Can you please share some more info in order to help you better:
1. tsv used for flashing

2. your boot pins configuration

3. STM32 Cube Programmer version used

4. Change the verbosity level of the Cube Programmer to 3 and share the logs.

Sumit_Kumar_1-1756884665658.png

 

Thanks

 

Duyvnhd
Associate II

Hi 

Thank for replay me 

1. Here is the tsv I used for flashing. since i have it enabled the secure boot i signed the files that need to be signed

2. My boot pin is 0 for all 

3. My STM32 Cube Programmer is the lastest vesion

4. Here is the log

Hi @Duyvnhd 

Any chance to get the board console output ?
Are you able to flash the default Starter package binaries to the board ?

You mention that you enabled secure boot (then starter package as is will not work). Is your device closed ?

Maybe a secret keys issue (I assume you provisioned your own keys on the board OTP using SSP).

It is risky trial on a single Evaluation board, as any mistake could end up to brick the board without any possibility to revert back (we talk about OTP fuses). The secure boot integration is usually done by customers on a batch of some boards before larger production (when their product SW is already stable and working without secure boot).

I'm not expert on secure boot, but your issue need some clarification at first.

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.
Duyvnhd
Associate II

Hi @PatrickF

Thank for your response

First, before i enabled secure boot i could work with the board normally, using the normal package instructions. But after enabling i can't use those examples anymore and i can't flash as you can see.

Duyvnhd_0-1756972029514.png

Second, yes i did use SSP. So according to the feedback my board is broken and there is no way to save it, Right? And if it can be fixed, what should I do now?

Hi @Duyvnhd 

If you fail to program the right keys or if you lose them, there is no way to recover from a failed secure boot (this is normal behavior).

I'm even not sure the board might be used in Development Boot (e.g. to connect with a debugger).

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.