protect Pheripheral with MPU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

protect Pheripheral with MPU

2,810 次查看
Yellen
Contributor II

Hi,

Can MPU protect registers of Pheripherals? 

If the answer is yes, which MPU slave port does the pheriheral belong?

Snipaste_2023-06-13_17-38-20.pngSnipaste_2023-06-13_17-38-20.png

标记 (2)
0 项奖励
回复
5 回复数

2,800 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Yellen,

Please read Chapter 16 Peripheral Bridge (AIPS-Lite) of S32K1xx MCU Family - Reference Manual

And you can refer to:
How to use s32k144 aips?
aips_demo_s32k118.zip


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

2,789 次查看
Yellen
Contributor II

Hi Robin,

Thanks for your response.

Refer to the Chapter 16, the MPU will not cover peripheral access protection. The pheriherals are protected by AIPS. Right?

But how to understand the MPU register can be protected by MPU as said below?

Snipaste_2023-06-13_17-38-20.pngSnipaste_2023-06-13_17-38-20.png

0 项奖励
回复

2,760 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

14.1.2 Crossbar Switch slave assignments The following table identifies the slaves connected to the Crossbar Switch and whether the system MPU protects them.
System MPU does not protect access to peripheral registers, including system MPU's own registers. Protection is built into Peripheral Bridge (AIPS-Lite).

System MPU does not protect access to peripheral registers, including system MPU's own registers.jpgSystem MPU does not protect access to peripheral registers, including system MPU's own registers.jpg

I also can't understand: If the MPU registers are protected by the MPU

0 项奖励
回复

2,748 次查看
Yellen
Contributor II

Suppose the MPU's register address is included in one region descriptor, will MPU report error if illegal access to MPU's register occured?

0 项奖励
回复

2,667 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

I don't think so, but you can test it out.

0 项奖励
回复