cancel
Showing results for 
Search instead for 
Did you mean: 

Error Flashing first partition: Hello, I have a custom board with STM32mp157c and i'm trying to load the u-boot for ddr testing. I created u-boot basic defconfig with ddr_interactive=1 and

Lmoio.1
Senior

a tsv file with

#Opt	id	Name	Type		IP		Offset		Binary
 -	0x01	fsbl		Binary		none	0x00000000	u-boot-spl.stm32

I got different error messages:

  • stm32CubeProgrammer on windows:
sending a dfu end of download request
DFU status = 0
DFU State = 7
DFU status = 14
DFU State = 10
an error occured after sending a dfu end of download request
Status: errUNKNOWN, State: dfuERROR
Error: Start operation failed at partition 0x01
Error: TSV flashing service failed
Warning: Connection to device 0x500 is lost
  • stm32CubeProgrammer on Linux:
File download complete
Time elapsed during download operation: 00:00:02.924
RUNNING Program ... 
PartID:      :0x01 
Error: Start operation failed at partition 0x01
Error: TSV flashing service failed
Warning: Connection to device 0x500 is lost
  • stm32CubeProgrammer_CLI on Linux
File download complete
Time elapsed during download operation: 00:00:02.863
 
RUNNING Program ... 
  Address:      : 0x1
Error: an error occured while uploading data from the virtual partition 0xF1
Start operation achieved successfully

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @Lmoio.1​ ,

Did you already successfully boot the same custom board with Trusted boot chain ?

How did you manage Device Tree customization for you board ?

Can you share Console output during CubeProg execution ?

Thx,

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.
Lmoio.1
Senior

No, I get the same error at partition 1.

For the moment we are using the Device Tree from the stm32mp157c-ev1.

With trusted boot chain, there is nothing in the console.

With basic boot chain, there is:

U-Boot SPL 2020.10-stm32mp-r1-gbde7c9b2f1 (Jun 14 2021 - 10:00:44 +0200)
Model: STMicroelectronics STM32MP157C eval daughter on eval mother
RAM: DDR3-DDR3L 32bits 533000kHz
0:DDR_RESET

Olivier GALLIEN
ST Employee

Hi @Lmoio.1​ ,

Strange you don't have even a single trace in Trusted boot mode.

You are using stm32mp157c-ev1 DT. I assume then your design is similar or very close ?

Any difference ?

Did you have same DDR reference and configuration ?

I presume you are trying to use Serial USB boot ?

Did you follow carefully recommendation in AN5031 Getting started with STM32MP151, STM32MP153 and STM32MP157 line hardware development for OTG_HS_DP/DM pins and for boot pins ?

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.