About S32K312 MPU Background Region

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

About S32K312 MPU Background Region

Jump to solution
318 Views
sunyy
Contributor II

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.

Labels (1)
Tags (2)
0 Kudos
1 Solution
199 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
5 Replies
287 Views
sunyy
Contributor II
Hello,What are the read and write access permissions for the background region?
0 Kudos
276 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
224 Views
sunyy
Contributor II
Thank 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?
0 Kudos
200 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos