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
Solved! Go to Solution.
2025-07-15 7:56 AM
Hi @MDH63 ,
Could you download the M33 starter package again?
There was an issue when we updated it, but it has been resolved now.
Regards,
Grégory
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
2025-07-10 5:24 AM
Thank you for the fast reply.
Unfortunately I do not have access to myteamspace as described in your link.
I tried downloading the latest starter package for M33 flavour but I cannot find it there
Is there another way to get it?
Thanks
2025-07-15 7:56 AM
Hi @MDH63 ,
Could you download the M33 starter package again?
There was an issue when we updated it, but it has been resolved now.
Regards,
Grégory
2025-07-15 9:28 AM
Hi Gregory
I just tried again and the issue is resolved. I have now downloaded the M33-TD flavor ppackage which contains the Flash Layout files I needed.
I have been able to configure TF-M and BL2 to boot from NOR, and then build, load and run the Starter_AppM33 demonstration package.
Thanks
MDH63