cancel
Showing results for 
Search instead for 
Did you mean: 

Error: failed to download Segment[0]

GMate
Associate

Hallo,

Im trying to flash an image (st-example-image-qt-openstlinux-eglfs-stm32mp1), bu it fails on partition 0x23

this is the output on Terminal:

giomate@giolaptop:~/Development/STM32/MP15/Distribution/openstlinux/build-openstlinuxeglfs-stm32mp1/tmp-glibc/deploy/images/stm32mp2/stm32mp1$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-example-image-qt/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv -log

   -------------------------------------------------------------------

            STM32CubeProgrammer v2.1.0          

   -------------------------------------------------------------------

Log output file:  /home/giomate/.STM32CubeProgrammer/trace.log

USB speed  : High Speed (480MBit/s)

Manuf. ID  : STMicroelectronics

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

SN     : 0030002C3338510939303435

FW version : 0x0110

Device ID  : 0x0500

Device name : STM32MPxxx

Device type : MPU

Device CPU : Cortex-A7

Start Embedded Flashing service

Memory Programming ...

Opening and parsing file: st-example-image-qt-openstlinux-eglfs-stm32mp1.ext4

 File     : st-example-image-qt-openstlinux-eglfs-stm32mp1.ext4

 Size     : 1086306 KBytes

 Partition ID : 0x23 

Download in Progress:

[===================================        ] 70% 

Error: failed to download Segment[0]

Error: failed to download the File

Time elapsed during download operation: 00:14:00.737

Error: Download partition 0x23 failed

Error: TSV flashing service failed

I appeciate any comment or suggestions

1 ACCEPTED SOLUTION

Accepted Solutions
GMate
Associate

Yeap, it was the sizes of the roofs partition

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Probably linked to that issue (assigned size/offset in Flashlayout too small for your image) https://community.st.com/s/question/0D50X0000B7Ykl5SQC/getting-failure-while-compiling-qtwebkit-for-yocto

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.
GMate
Associate

Yeap, it was the sizes of the roofs partition