cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP257F-DK Starter Package Boot Issue (Fails at Sector[0] on Partition 0x3)

Carson
Associate III

Hello all,

 

I am following the following guide: https://wiki.stmicroelectronics.cn/stm32mpu/wiki/STM32MP25_Discovery_kits_-_Starter_Package In order to bring up a STM32MP257F-DK board and am running into a problem when I try to use the Programmer to flash the board. It gets to Partition 0x3 and at 31% fails saying it failed to download sector[0]. Specifically this is the output in the terminal:

-------------------------------------------------------------------
STM32CubeProgrammer v2.20.0
-------------------------------------------------------------------

 

USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x505, @Revision ID /0x2000
SN : 003700494236501700363847
DFU protocol: 1.1
Board : --
Device ID : 0x0505
Device name : STM32MP23xx/25xx
Device type : MPU
Revision ID : --
Device CPU : Cortex-A35

Start Embedded Flashing service

 

Opening and parsing file: tf-a-stm32mp257f-dk-optee-programmer-usb.stm32


Memory Programming ...
File : tf-a-stm32mp257f-dk-optee-programmer-usb.stm32
Size : 202.95 KB
Partition ID : 0x01

Download in Progress:
[==================================================] 100%

File download complete
Time elapsed during download operation: 00:00:07.388

RUNNING Program ...
PartID: :0x01

Reconnecting the device ...

USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU @Device ID /0x505, @Revision ID /0x0011, @Name /STM32MP257FAK Rev.Y,
SN : 003700494236501700363847
DFU protocol: 1.1
Board : --
Device ID : 0x0505
Device name : STM32MP257FAK Rev.Y
Device type : MPU
Device CPU : Cortex-A35
Start operation done successfully at partition 0x01


Opening and parsing file: fip-stm32mp257f-dk-ddr-optee-programmer-usb.bin


Memory Programming ...
File : fip-stm32mp257f-dk-ddr-optee-programmer-usb.bin
Size : 33.67 KB
Partition ID : 0x02

Download in Progress:
[==================================================] 100%

File download complete
Time elapsed during download operation: 00:00:01.050

RUNNING Program ...
PartID: :0x02

Reconnecting the device ...

USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU @Device ID /0x505, @Revision ID /0x0011, @Name /STM32MP257FAK Rev.Y,
SN : 003700494236501700363847
DFU protocol: 1.1
Board : --
Device ID : 0x0505
Device name : STM32MP257FAK Rev.Y
Device type : MPU
Device CPU : Cortex-A35
Start operation done successfully at partition 0x02


Opening and parsing file: fip-stm32mp257f-dk-optee-programmer-usb.bin


Memory Programming ...
File : fip-stm32mp257f-dk-optee-programmer-usb.bin
Size : 2.99 MB
Partition ID : 0x03

Download in Progress:
[=============== ] 30%

Error: failed to download Sector[0]
Error: failed to download the File
Error: Download partition 0x03 failed
Error: TSV flashing service failed

 

I am unsure how to fix this and any help would be greatly appreciated. Thanks!

0 REPLIES 0