Wrong partition size and "Error while reading the file" while programming flash layout to STM32MP157
Hi,
after changing some kernel settings probably, I suddenly can not flash it to our custom STM32MP157 based board. Process fails around 100% of last partition with error: "Error: Error while reading the file"
Looks like Cube reads file size incorrectly. Cube output:
16:30:48:454 : Size : 1.27 GB
16:30:48:454 : Partition ID : 0x12
16:30:48:454 : Download in Progress:
16:30:48:454 : Size : 104857600 Bytes
Real file size in explorer is
Size: 1,26 GB (1 363 148 800 bytes)
Size on disk: 1,26 GB (1 363 148 800 bytes).
Size of other partition images is read correctly.
When I use other image, the printed size is same (but still wrong)
16:52:06:736 : Size : 104857600 Bytes
Should be 1,22 GB (1 312 153 600 bytes)
but Cube is able to flash it correctly
I'm using v2.13.0 version.
What could be causing the problem? I can't see, how changing of kernel configuration alone can affect flashing process.
Thanks in advance,
Michal
