2025-11-15 11:07 AM
Hello,
Im having an issue with flashing of OpenSTLinux on STM32MP157F-DK2
-------------------------------------------------------------------
STM32CubeProgrammer v2.21.0
-------------------------------------------------------------------
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 002C001F3133511735343431
DFU protocol: 1.1
Board : --
Device ID : 0x500
Device name : STM32MP15xx
Device type : MPU
Revision ID : --
Device CPU : Cortex-A7
Start Embedded Flashing service
Opening and parsing file: tf-a-stm32mp157f-dk2-optee-programmer-usb.stm32
Memory Programming ...
File : tf-a-stm32mp157f-dk2-optee-programmer-usb.stm32
Size : 220.41 KB
Partition ID : 0x01
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:07.952
RUNNING Program ...
PartID: :0x01
Start operation done successfully at partition 0x01
Opening and parsing file: fip-stm32mp157f-dk2-optee-programmer-usb.bin
Memory Programming ...
File : fip-stm32mp157f-dk2-optee-programmer-usb.bin
Size : 1.76 MB
Partition ID : 0x03
Download in Progress:
[============================ ] 56%
Error: failed to download Sector[0]
Error: failed to download the File
Error: Download partition 0x03 failed
Error: TSV flashing service failedIts happening on the most recent version of STM32MP1 OpenSTLinux Starter Package (v6.1.0) as well as STM32MP1 OpenSTLinux Distribution Package. It is also worth mentioning that the most recent version that I was able to successfully flash is Starter Package v5.0.0. Versions between v6.1.0 and v5.0.0 were failing on Partition ID: 0x10 (either userfs or rootfs). I have already tried like sugested in this post but no with no luck. Is this some known issue?
Thanks in advance
BR,
Aleksander
2025-11-15 11:18 AM
Here are also more verbose logs
20:16:30:002 : libusb get status error [-4] : LIBUSB_ERROR_NO_DEVICE
20:16:30:002 : Error during download get_status
20:16:30:002 : Error: failed to download Sector[0]
20:16:30:002 : Error: failed to download the File
20:16:30:017 : Error: Download partition 0x03 failed
20:16:30:037 : Error: TSV flashing service failed
20:16:30:825 : Disconnected from device.