Looking for LPC55S69-EVK solid TF-M + non-secure FreeRTOS example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Looking for LPC55S69-EVK solid TF-M + non-secure FreeRTOS example

Jump to solution
270 Views
AlexKuznetsov
Contributor II

I'm looking for a full functional example for LPC55S69-EVK board.

I would like to run FreeRTOS on the non secure side and call some secure functions provided by TrustedFirmware-M (TF-M). Is there any a such example available across the net?

Labels (1)
0 Kudos
1 Solution
4 Replies
241 Views
AlexKuznetsov
Contributor II

tfm_demo is based on the RTX RTOS, not a FreeRTOS.

0 Kudos
247 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @AlexKuznetsov 

The purpose of dividing Secure and non-secure  is to protect secure part from being read by non-secure ones. So why do you want to call secure function on secure world? 

There is freeRTOS secure/non-secure demo under SDK:

Alice_Yang_0-1711524534483.png

 

BR

Alice

 

0 Kudos
244 Views
AlexKuznetsov
Contributor II

This is a different stuff.

I would say your example is a ported solution from FreeRTOS (https://www.freertos.org/RTOS-Cortex-M33-LPC55S69-MCUXpresso-GCC.html)

In the NXP SDK you have tfm based examples like tfm_demo_ns & tfm_demo_s, unfortunately the NS part is a bare-metal example.

So my main problem is a non-secure FreeRTOS part and I'm still looking for a such example.

0 Kudos