Error while flashing linux on STM32MP1 board
10:33 06 Mar 2026

I’m working with a MYIR MYD-YA157C (STM32MP157AAC) board and I’m trying to restore a board using STM32CubeProgrammer (USB / DFU mode) with a FlashLayout TSV.

The board is custom made , but the HW should not be a problem

But i am running into erorr:

16:47:55 : Download in Progress:
16:47:56 : Error: failed to download Sector[0]
16:47:56 : Error: failed to download the File
16:47:56 : Error: Download partition 0x21 failed
16:47:56 : Error: TSV flashing service failed
16:47:56 : Disconnected from device.

Little bit of a background

The chip comes with preloaded yocto , and after trying to flash our distro we get this erorr

I tried the following things

Remove everything from the EMMC - Nothing helps

Chaning offsets - Did not help

Use UDF tool - Did not help

Tried on different computer - Did not help

Tried different cable  - Did not help

It is very strange

I attached logs from Cube programmer

Could somebody help us with some suggestions

embedded yocto