cancel
Showing results for 
Search instead for 
Did you mean: 

Download Segment Error while flashing the image?

Hsn
Associate III

Error: failed to download Segment[0]

Error: failed to download the File

Error: Download partition 0x21 failed

Error: TSV flashing service failed

I am getting this error while flashing the image. I took the st-image-weston and deleted the ui and audio packages.

After doing this i m now experiencing these errors. But on repeatedly flashing again finally after 3,4 tries it get flashed.

I have seen other posts related to this that this error is somehow related to rootfs.

But i am not able to understand why removing graphics and audio packages affected the rootfs?

 and what is the solution for thsi?

3 REPLIES 3
mleo
Senior II

Hi @Hsn​ ,

Could you be more specific about the tool and version you use?

I expect it is CubeProgrammer, right? Which version?

What ecosystem are you working on? Latest 2.0?

Are you programming sdcard or other memory?

Thanks,

MIlan

Hsn
Associate III

Hi @mleo​ ,

Yes it is CubeProgrammer 2.4.0 and i am using it in ubuntu.

i am using this command to flash the sdcard.

STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv

and the distribution is openstlinux-5.4-dunfell-mp1-20-06-24

Thanks!

Hi @Hsn​ ,

Did you try latest CubeProgrammer 2.5?

What card do you use? There is an issue with Netac brand causing such error.

Please check.

Milan