Cortex-M33 and Arm TrustZone ?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

Tabulous
Posts: 509
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 17 times

Cortex-M33 and Arm TrustZone ?

Postby Tabulous » Tue Nov 19, 2019 1:00 pm

Hi
is this something that is on the grape vine so to speak ?

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Cortex-M33 and Arm TrustZone ?

Postby Giovanni » Tue Nov 19, 2019 1:15 pm

I have definite plans for this, just waiting for the L5 to become available.

The general idea is to make a port to run RT/NIL in TZ as trusted OS on top of another OS running in non trusted mode (another RT/NIL or something else entirely).

Giovanni

Tabulous
Posts: 509
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 17 times

Re: Cortex-M33 and Arm TrustZone ?

Postby Tabulous » Tue Nov 19, 2019 1:41 pm

So between the two OS's running you have some kind of API ?

From the reading ive done its sounds like there will be a significant amount of complexity added

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Cortex-M33 and Arm TrustZone ?

Postby Giovanni » Tue Nov 19, 2019 3:51 pm

Yes, the trusted OS would expose "services" to the non-trusted code.

The API will be very simple, just communication, each service would define its own API. Look at services as threads in TZ exposing something like a mailbox.

Giovanni

Tabulous
Posts: 509
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 17 times

Re: Cortex-M33 and Arm TrustZone ?

Postby Tabulous » Wed Nov 20, 2019 12:16 pm

When do you anticipate adding this be ?
Do you think within the next 6 months ?

NUCLEO-L552ZE-Q is already available

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Cortex-M33 and Arm TrustZone ?

Postby Giovanni » Wed Nov 20, 2019 2:52 pm

It is pretty high priority, I will order the board ASAP. First we will have the normal RT/NIL/HAL support, TZ support will follow.

We also need OpenOCD support, I hope it will be available soon.

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 54 guests