LPC55S69 : FreeRTOS with MPU example

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC55S69 : FreeRTOS with MPU example

149 Views
Senior Contributor I

Hi !

You have provide very good example of Freertos for LPC55S69 what is run in nonsecure world and task can call secure

world.

But it is not so clear if if privided example can be transformed to case when RTOS running in secure world 

and can have nonsecure tasks as it mentioned here: 

https://static.docs.arm.com/100689/0200/armv8_m_rtos_desgin_considerations_100689_0200_en.pdf 

"

Case 1 – RTOS in Secure state When a real-time operating system is running in Secure state, threads can be Secure or Nonsecure. It is also possible to have cross-domain API calls between Secure and Non-secure software, which means each thread can have both Secure and Non-secure stack allocation.

"

Does this case is covered in that port of RTOS what is part of SDK by using minor configuration/modification

OR it require quite massive implementation ?

Regards,

Eugene

Labels (1)
0 Kudos
1 Reply

12 Views
NXP TechSupport
NXP TechSupport

Hi, Eugene,

Frankly speaking, I think it is complicated for Freertos to create secure task and insecure task with trust zone and to switch between the secure/insecure task.

Anyway, maybe this ticket is helpful to understand the subject.

https://community.nxp.com/community/general-purpose-mcus/lpc/blog/2019/05/14/freertos-with-preconfig... 

BR

XiangJun Rong

0 Kudos