cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157 discovery board SD card population using STM32CubeProgrammer fails

Nuzie
Associate II

Why does it fail reading the file, which seems to be the biggest one also ?

Log:

12:20:36 : STM32CubeProgrammer API v2.1.0

12:20:38 : USB speed : High Speed (480MBit/s)

12:20:38 : Manuf. ID : STMicroelectronics

12:20:38 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000

12:20:38 : SN : 004200203338510534383330

12:20:38 : FW version : 0x0110

12:20:38 : Device ID : 0x0500

12:20:46 : Read TSV File: C:\stm32mp1-openstlinux-4.19-thud-mp1-19-02-20\images\stm32mp1\flashlayout_st-image-weston\FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv

12:20:46 : Number of partitions: 9

12:21:08 : Start Embedded Flashing service

12:21:08 : Error: The file activePartitions.tsv does not exist, please check the file's path

12:21:08 : Error: TSV flashing service failed

12:21:14 : Start Embedded Flashing service

12:21:14 : Error: The file activePartitions.tsv does not exist, please check the file's path

12:21:14 : Error: TSV flashing service failed

12:21:19 : Start Embedded Flashing service

12:21:19 : Error: The file activePartitions.tsv does not exist, please check the file's path

12:21:19 : Error: TSV flashing service failed

12:21:23 : Start Embedded Flashing service

12:21:23 : Error: The file activePartitions.tsv does not exist, please check the file's path

12:21:23 : Error: TSV flashing service failed

12:21:27 : Start Embedded Flashing service

12:21:27 : Error: The file activePartitions.tsv does not exist, please check the file's path

12:21:27 : Error: TSV flashing service failed

12:21:30 : Start Embedded Flashing service

12:21:30 : Memory Programming ...

12:21:30 : Opening and parsing file: tf-a-stm32mp157c-dk2-trusted.stm32

12:21:30 : File : tf-a-stm32mp157c-dk2-trusted.stm32

12:21:30 : Size : 245360 Bytes

12:21:30 : Partition ID : 0x01 

12:21:30 : Download in Progress:

12:21:31 : File download complete

12:21:31 : Time elapsed during download operation: 00:00:00.796

12:21:31 : RUNNING Program ... 

12:21:31 : PartID: :0x01 

12:21:31 : Start operation done successfully at partition 0x01

12:21:31 : Flashlayout Programming ...

12:21:31 : Running Flashlayout Partition ...

12:21:31 : Flashlayout partition started successfully

12:21:31 : Memory Programming ...

12:21:31 : Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32

12:21:31 : File : u-boot-stm32mp157c-dk2-trusted.stm32

12:21:31 : Size : 748660 Bytes

12:21:31 : Partition ID : 0x03 

12:21:31 : Download in Progress:

12:21:33 : File download complete

12:21:33 : Time elapsed during download operation: 00:00:01.539

12:21:33 : RUNNING Program ... 

12:21:33 : PartID: :0x03 

12:21:33 : reconnecting the device ...

12:21:40 : USB speed : High Speed (480MBit/s)

12:21:40 : Manuf. ID : STMicroelectronics

12:21:40 : Product ID : USB download gadget@Device ID /0x500, @Revision ID /0x0000

12:21:40 : SN : 004200203338510534383330

12:21:40 : FW version : 0x0110

12:21:40 : Device ID : 0x0500

12:21:40 : Start operation done successfully at partition 0x03

12:21:40 : Memory Programming ...

12:21:40 : Opening and parsing file: tf-a-stm32mp157c-dk2-trusted.stm32

12:21:40 : File : tf-a-stm32mp157c-dk2-trusted.stm32

12:21:40 : Size : 245360 Bytes

12:21:40 : Partition ID : 0x04 

12:21:40 : Download in Progress:

12:21:40 : File download complete

12:21:40 : Time elapsed during download operation: 00:00:00.458

12:21:40 : RUNNING Program ... 

12:21:40 : PartID: :0x04 

12:21:40 : Start operation done successfully at partition 0x04

12:21:40 : Memory Programming ...

12:21:40 : Opening and parsing file: tf-a-stm32mp157c-dk2-trusted.stm32

12:21:40 : File : tf-a-stm32mp157c-dk2-trusted.stm32

12:21:40 : Size : 245360 Bytes

12:21:40 : Partition ID : 0x05 

12:21:40 : Download in Progress:

12:21:41 : File download complete

12:21:41 : Time elapsed during download operation: 00:00:00.615

12:21:41 : RUNNING Program ... 

12:21:41 : PartID: :0x05 

12:21:41 : Start operation done successfully at partition 0x05

12:21:41 : Memory Programming ...

12:21:41 : Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32

12:21:41 : File : u-boot-stm32mp157c-dk2-trusted.stm32

12:21:41 : Size : 748660 Bytes

12:21:41 : Partition ID : 0x06 

12:21:41 : Download in Progress:

12:21:42 : File download complete

12:21:42 : Time elapsed during download operation: 00:00:01.318

12:21:42 : RUNNING Program ... 

12:21:42 : PartID: :0x06 

12:21:42 : Start operation done successfully at partition 0x06

12:21:42 : Memory Programming ...

12:21:42 : Opening and parsing file: st-image-bootfs-openstlinux-weston-stm32mp1.ext4

12:21:42 : File : st-image-bootfs-openstlinux-weston-stm32mp1.ext4

12:21:42 : Size : 64 MBytes

12:21:42 : Partition ID : 0x21 

12:21:42 : Download in Progress:

12:23:45 : File download complete

12:23:45 : Time elapsed during download operation: 00:02:02.581

12:23:45 : RUNNING Program ... 

12:23:45 : PartID: :0x21 

12:23:45 : Start operation done successfully at partition 0x21

12:23:45 : Memory Programming ...

12:23:45 : Opening and parsing file: st-image-vendorfs-openstlinux-weston-stm32mp1.ext4

12:23:45 : File : st-image-vendorfs-openstlinux-weston-stm32mp1.ext4

12:23:45 : Size : 16 MBytes

12:23:45 : Partition ID : 0x22 

12:23:45 : Download in Progress:

12:24:16 : File download complete

12:24:16 : Time elapsed during download operation: 00:00:30.836

12:24:16 : RUNNING Program ... 

12:24:16 : PartID: :0x22 

12:24:16 : Start operation done successfully at partition 0x22

12:24:16 : Memory Programming ...

12:24:16 : Opening and parsing file: st-image-weston-openstlinux-weston-stm32mp1.ext4

12:24:16 : Error: Error while reading the file

12:24:16 : Error: Download partition 0x23 failed

12:24:16 : Error: TSV flashing service failed

14:33:53 : Start Embedded Flashing service

14:33:53 : Memory Programming ...

14:33:53 : Opening and parsing file: st-image-weston-openstlinux-weston-stm32mp1.ext4

14:33:53 : Error: Error while reading the file

14:33:53 : Error: Download partition 0x23 failed

14:33:53 : Error: TSV flashing service failed

10 REPLIES 10

Using CubeProgrammer GUI, did you set correctly the field 'Binaries Path' ? By default it point to same folder than .tsv. For Started package, binaries are two levels up than .tsv.

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.