Hi, from Nordics point of view we haven’t followed any other design principles other than what the TF-M documentation has given us.
However, each platform must add support for accessing the peripherals of their board.

We have added support for our peripheral set, from what I have seen in other platforms most of them do not, except for what the test-suite requires.

 

So, the answer is really that ST is lacking support.

 

-Joakim

 

From: Spinnler, Christian via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Tuesday, June 20, 2023 10:36
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] ST support for secure peripheral partition

 

Caution: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

Hi all,

 

I am currently trying out TF-M together with Zephyr and therefore ported it to the Nucleo-U575ZI-Q evaluation board. I started to struggle when trying to implement an example for a custom Secure Partition (SP) which should access peripherals.

 

I recognized, that the `target_cfg.*` throughout different vendors follow different design principles. E.g. for Nordic controllers an example is given with their nordic-sdk on how to implement peripheral access for a SP (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/tfm/tfm_secure_peripheral/README.html). For ST devices I tried to transfer this, however, where unsuccessful so far as for the ST microcontrollers the peripheral definitions are missing, and things are just different.

 

Is there any example for ST controllers on how to make specific peripherals only accessible through SPE? Is this currently supported for ST devices?

 

And another question, as the Embedded Open Source Summit arises, is TF-M represented somewhere on conferences?

 

Kind Regards

Christian Spinnler

 

Siemens AG
Technology
Connectivity & Edge
T CED SSI-DE
Schuckertstrasse 2
91058 Erlangen, Deutschland
mailto:christian.spinnler@siemens.com
www.siemens.com

 

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe; Vorstand: Roland Busch, Vorsitzender; Cedrik Neike, Matthias Rebellius, Ralf P. Thomas, Judith Wiese; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin-Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322