2019-10-07 04:35 AM
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
2019-10-09 06:06 AM
Hello,
Might be linked to PC filesystem issue (file protection, file already open, too slow system, etc..), could you please add details on your PC setup (including if windows, Linux, Virtual Machine, etc...) ?
2019-10-09 10:49 AM
2019-10-09 11:46 PM
That's sound strange, many people use that way without any issues.
Some clues below (you may already done it):
Did you use command line or CubeProgrammer GUI ? Command line under W10 should look like :
"%ProgramFiles%\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=usb1 -w flashlayout_st-image-weston\FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
Did you use the binaries as delivered or recompiled ?
Could you try re-populating the st-image-weston-openstlinux-weston-stm32mp1.ext4 file ?
Did you try rebooting your machine, the file might be locked by a previous attempt or another process ?
Could you try running CubeProgrammer as Administrator ?
2020-03-24 03:07 AM
2020-03-24 04:26 AM
Hi, Sorry, i did not find a solution to it. i just populated my SD card under linux shell with a script provided by ST
2020-03-24 04:37 AM
Hi,
thanks for reply Nuzie.
Finally It works using the command line interface with STM32_Programmer_CLI.exe. I have to copy the "STM32MP15-Ecosystem-v1.2.0\Starter-Package\stm32mp1-openstlinux-20-02-19\images\stm32mp1" folder to the "C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin" in order to find the files.
I hope ST will find a solution in the future for using the GUI interface.
Best regards.
2020-03-24 04:38 AM
2020-08-06 12:45 AM
Dear ALL:
This issue is solved by update STM32-CubeProgrammers to the latest version V2.5.
So, you only need upgrade software version now.
2020-09-27 03:43 AM
Hello,
i have the same problem with the STMCupeProgramme v2.5.0 too.
12:40:07 : Error: Unable to open the file st-image-bootfs-openstlinux-weston-stm32mp1.ext4
12:40:07 : Error: Download partition 0x21 failed
Therefore it seems it could be a other problem.