1870259_en-US

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

1870259_en-US

1870259_en-US

About S32K312 MPU Background Region

Hi all, I have a question about S32K312 MPU Background Region:

For example, setting permissions for a certain address: region1:permissions are readable and executable in privileged mode and readable and executable in user mode; So the permissions within the address area of region 1 are readable and executable in privileged mode and readable and executable in user mode; The access permissions for address segments other than region 1 are:

1.If the Background Region is enabled, the permissions for other address segments are: readable , writable, and executable under privileged mode, and not readable , writable, and executable under user mode?

2. If the Background Region is not enabled, what are the permissions for other address segments: not readable, not writable, and not executable under privileged mode and user mode?

Best regards.

S32 SDK for S32K1Re: About S32K312 MPU Background Region

Hi @sunyy,

As per the description, default memory map has read/write in both privileged and not-privileged modes. The background region has read/write in privileged mode only.

Please contact ARM support if you need more datails.


Regrads,

Daniel

Re: About S32K312 MPU Background RegionThank you for your answer.
But I couldn't find a specific description of read and write permissions, so I would like to ask if the permissions for the background region are read and write in privileged mode and not read and write in user mode, right?
Re: About S32K312 MPU Background Region

Hello @sunyy,

This is specified in the documentation I linked here.

The background region has the same memory access attributes as the default memory map, but is accessible from privileged software only.

Please contact ARM support if you need more details.


Regards,

Daniel


Re: About S32K312 MPU Background RegionHello,What are the read and write access permissions for the background region?Re: About S32K312 MPU Background Region

Hi @sunyy,

danielmartynek_0-1716381130297.png

danielmartynek_2-1716381242089.png

https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-U...

danielmartynek_1-1716381177360.png

https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-U...


Regards,

Daniel


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 02:40 PM
Updated by: