Skip to main content
Associate II
July 30, 2025
Question

ThreadX Modules with TrustZone using STM32CubeIDE

  • July 30, 2025
  • 1 reply
  • 278 views

Hello Community,

I have been attempting to use the STM32CubeIDE to combine two examples:

Wherein I want to have a ThreadX module within the TrustZone. 

I have been able to get both examples individually building, flashing, and debugging on my board. However any attempts to add modules/manager to the Trustzone example, and conversely Trustzone to the Module example have been entirely unsuccessful - due to my experience with the tool I am unable to add the middlewares.

Is there any example out there doing what I want?

Or if not, does anyone have any instructions on how to combine these two projects. 

My assumption is that the solution will have three subprojects with three distinct linker files, with relevant partitioning of memory:

  1. Secure (Startup)
  2. Non secure (ThreadX Main and Manager)
  3. Secure (Module)

Thanks in advance.

1 reply

ST Employee
July 31, 2025

Hello @dbit 

Please consult the wiki page Introduction_to_THREADX and the application note Introduction to Arm® TrustZone® features on STM32L5, STM32U5, and STM32U3 MCUs. I believe these resources will be helpful to you.

With regards

dbitAuthor
Associate II
July 31, 2025

Thanks for the direction @SirineST, unfortunately this isn't entirely what I'm after. Are there any resources on how to do what I'm asking?

I have not found the wiki page to be entirely helpful or particularly fleshed out compared to the examples and documentation located within the git repository linked in my previous post.