cancel
Showing results for 
Search instead for 
Did you mean: 

ThreadX Modules with TrustZone using STM32CubeIDE

dbit
Associate II

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 1
SirineST
ST Employee

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

If your question is answered, please close this topic by clicking "Accept as Solution"