LPC55S69: SAU and IDAU in TEE config

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

LPC55S69: SAU and IDAU in TEE config

831 Views
EugeneHiihtaja
Senior Contributor I

Hi !

I can see in MCUExpresso I can configure up to 8 regions of SAU.

But where is IDAU configuration, "User Memory Regions" ?

What amount of IDAU regions can be configured ? In UM is clear visible amount of SAU regions but not IDAU.

Regards,

Eugene

Labels (1)
0 Kudos
7 Replies

707 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Eugene

IDAU's map is fixed as below. User can't change it.

pastedImage_1.png

SAU is configurable and  used to overwrite IDAU's fixed map.

Have a nice day,

Jun Zhang

0 Kudos

707 Views
EugeneHiihtaja
Senior Contributor I

Hi ZhangJennie‌ !

But what means folder "User Memory Regions" ?

I can create a lot of those and what kind of effect they have ?

Regards,

Eugene

0 Kudos

707 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Eugene,

what  "User Memory Regions" are you referring to?

Jun Zhang 

0 Kudos

707 Views
EugeneHiihtaja
Senior Contributor I

Hi ZhangJennie‌ !

This is part of TEE configuration in MCE Expresso IDE.

I can specify unlimited amount of regions :

pastedImage_1.png

How they integrated to TEE configuration ?

Regards,

Eugene

0 Kudos

707 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

“User Memory Regions” is not SAU setting. SAU configuration decided the region security level but "User Memory Regions" only  defines regions that can be used in user code. 

If SAU defines one region as secure level, this region in "User memory regions" can't be unsecure. 

0 Kudos

707 Views
EugeneHiihtaja
Senior Contributor I

Hi ZhangJennie‌ !

I can see those section appears in clang format in section:

/* clang-format off */
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************

tee:
- ahb:
- regions:

.....................

But they commented out and can't be used is source code as definition and etc.

But there are used in TEE configurator to verify MPC setting and generate error if attributes are not equal.

May be it is something planned in ConfigTools but not implemented yet ?

Regards,

Eugene

0 Kudos

707 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

yes it can't be used as source code,   this User Memory Regions view is to create a convenient overview of memory regions and their security levels.

This settings are used inside the tool and stored in YAML format as you see. Don't modify it. 

0 Kudos