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
Eugene
IDAU's map is fixed as below. User can't change it.
SAU is configurable and used to overwrite IDAU's fixed map.
Have a nice day,
Jun Zhang
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
Eugene,
what "User Memory Regions" are you referring to?
Jun Zhang
Hi ZhangJennie !
This is part of TEE configuration in MCE Expresso IDE.
I can specify unlimited amount of regions :
How they integrated to TEE configuration ?
Regards,
Eugene
“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.
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
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.