Skip to main content
Hsn
Associate II
August 13, 2020
Question

Download Segment Error while flashing the image?

  • August 13, 2020
  • 1 reply
  • 1608 views

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?

This topic has been closed for replies.

1 reply

mleo
Visitor II
August 18, 2020

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
HsnAuthor
Associate II
August 18, 2020

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!

mleo
Visitor II
August 25, 2020

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