2025-07-09 8:27 AM
Hi
I am using a STM32MP257F-EV1 board, and I am trying to build the demonstration example
STM32CubeMP2/Projects/STM32MP257F-EV1/Demonstrations/StarterApp_M33TD
I am using command line (not IDE)
I have cloned and built TF-M for SDCARD_SDCARD and EMMC_EMMC modes and can see the resultant binaries
I have built the Application and can see the binaries (including the tfm and bl2 binaries copied from the tfm area).
I now want to flash onto my board.
I am following the instructions in the README.html file in the top level of the project structure. It mentions some flash layout files.
For the MP25-EV1 board, five TSV flavors are provided to flash under the M33TDCID profile:
- `FlashLayout_emmc_stm32mp257f-ev1-cm33tdcid-ostl-optee.tsv`
- `FlashLayout_nor-emmc_stm32mp257f-ev1-cm33tdcid-ostl-optee.tsv`
- `FlashLayout_nor-nor-sdcard_stm32mp257f-ev1-cm33tdcid-ostl-optee.tsv`
- `FlashLayout_sdcard_stm32mp257f-ev1-cm33tdcid-ostl-optee.tsv`
- `FlashLayout_nor-sdcard_stm32mp257f-ev1-cm33tdcid-ostl-optee.tsv
But I cannot find these anywhere.
Do I have to generate them (if so how)?
Do I download them (where from)
Note I have the latest STMCubeMP32 and trusted-firmware-m packages
Thanks in advance
2025-07-09 9:43 AM
Hi @MDH63 ,
You need to use the one provided in the starter package.
You can take a look at this page for guidance.
https://wiki.st.com/stm32mpu/wiki/How_to_create_an_M33-TD_boot_project_using_STM32CubeIDE
Regards,
Grégory