2023-10-28 02:22 AM
Hi ST Community,
I am trying to flash a eMMC with STM32CubeProgrammer, in a STM32MP157F custom board. I am using a GPT partition file and a img.
I can see the system is creating partitions and flashing, but the structure is wrong for eMMC, so it does not boot-up. Sometimes, trying different structures, I get an error "wrong memory layout" in the console when I am trying to flash.
The tsv file I am using at the moment is:
And the gpt table is as follows:
I believe the solution is in the right configuration of the table, can somebody detail on how to do it?
Thanks.
Solved! Go to Solution.
2023-11-09 02:30 AM
Hello @Flyback,
Did you manage to catch your issue ?
I advice you to take a look at this article that explain the different flashlayout depending on the boot memory used : https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout
Kind regards,
Erwan.
2023-11-09 02:30 AM
Hello @Flyback,
Did you manage to catch your issue ?
I advice you to take a look at this article that explain the different flashlayout depending on the boot memory used : https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout
Kind regards,
Erwan.
2023-11-12 01:24 PM
Thanks for your suggestion, solution was actually there. I took out the first 2 partitions out of the GPT and program them individually in the CubeProgrammer (partitions 4 and 5). Thank you!