MPC5777C Memory Protection Unit (MPU) 2 Cores

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

MPC5777C Memory Protection Unit (MPU) 2 Cores

跳至解决方案
889 次查看
MPC_Mike
Contributor I

I'm developing the MPC5777C to run multicore. 2 Cores one using HW I/O(Core1), one without using HW I/O(Core0). I want to use the MPU to protect memory regions. 

Is this possible?

How can this be done?

0 项奖励
1 解答
878 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

yes, it is possible. Configuration of the MPU is relatively simple and it depends on your requirements. We have this SW example written for MPC5674F:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5674F-MPU-Initialization-CW210/ta-p/1...

MPU on MPC5674F is almost the same as on MPC5777C. Just check the differences in Word 2 of the descriptor because there are different bus masters.

Regards,

Lukas

 

在原帖中查看解决方案

0 项奖励
3 回复数
876 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

To avoid confusion, I will add that there are two instances of MPU module on MPC5777C to cover all the resources. So, it is necessary to initialize both modules.

lukaszadrapa_0-1614156745474.png

 

 

0 项奖励
879 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

yes, it is possible. Configuration of the MPU is relatively simple and it depends on your requirements. We have this SW example written for MPC5674F:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5674F-MPU-Initialization-CW210/ta-p/1...

MPU on MPC5674F is almost the same as on MPC5777C. Just check the differences in Word 2 of the descriptor because there are different bus masters.

Regards,

Lukas

 

0 项奖励
843 次查看
MPC_Mike
Contributor I

thanks! we havent exhaustively gone through this but it seems to be what we're looking for

0 项奖励