Skip to main content
Associate II
July 9, 2025
Solved

Can't find flash layout files for M33TDCID profile

  • July 9, 2025
  • 2 replies
  • 395 views

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

 

Best answer by Gregory PLANCHON

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

2 replies

ST Employee
July 9, 2025

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
MDH63Author
Associate II
July 10, 2025

Hi @Gregory PLANCHON 

 

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

Gregory PLANCHONBest answer
ST Employee
July 15, 2025

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
MDH63Author
Associate II
July 15, 2025

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