About S32K312 MPU Background Region

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About S32K312 MPU Background Region

ソリューションへジャンプ
841件の閲覧回数
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.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
722件の閲覧回数
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 件の賞賛
返信
5 返答(返信)
810件の閲覧回数
sunyy
Contributor II
Hello,What are the read and write access permissions for the background region?
0 件の賞賛
返信
799件の閲覧回数
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 件の賞賛
返信
747件の閲覧回数
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 件の賞賛
返信
723件の閲覧回数
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 件の賞賛
返信