Configure MQX for dual core with MPC5668G

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

Configure MQX for dual core with MPC5668G

跳至解决方案
1,262 次查看
hbouch
Contributor III

Hi,

We are using MQX 4.1 (which as a BSP for the MPC5668) and CodeWarrior 10.5. We would like to use the second core (e200z0) for CAN and Ethernet communication.

My question is how to configure MQX to use both cores and assigning hardware devices to a particular core?

Thanks for helping us!

HB.

0 项奖励
回复
1 解答
1,079 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Hugo,

you are right, MQX does not support second core e200z0. And it is not possible to modify the MQX to support the second core. The only way how to run MQX on both cores is to use two independent MQX images.

Dual core support has been implemented only on MPC5675K because there are two identical e200z7 cores. Only single MQX image was used and there were two RAM areas for each core. MMU unit was used to re-map the RAM virtual addresses, so data area for each core was virtually placed at the same RAM address (this is important if you want to use single MQX flash image).

e200z0 does not have MMU, so it is not possible to implemented it in the same way on MPC5668G.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,079 次查看
hbouch
Contributor III

Hello Lukas,

Thanks for your answer. The thing is that I think MQX is not supporting the second core (e200z0) of the MPC5668G. I guess I wasn't clear enough. My mistake.

So my question should be how to modify MQX to make it support the second core.

Regards,

Hugo

0 项奖励
回复
1,080 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Hugo,

you are right, MQX does not support second core e200z0. And it is not possible to modify the MQX to support the second core. The only way how to run MQX on both cores is to use two independent MQX images.

Dual core support has been implemented only on MPC5675K because there are two identical e200z7 cores. Only single MQX image was used and there were two RAM areas for each core. MMU unit was used to re-map the RAM virtual addresses, so data area for each core was virtually placed at the same RAM address (this is important if you want to use single MQX flash image).

e200z0 does not have MMU, so it is not possible to implemented it in the same way on MPC5668G.

Regards,

Lukas

0 项奖励
回复
1,079 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I'm not real expert but as far as I know, you need to have two MQX images - one for each core. It is not possible to use single MQX image on two cores.

Then use multi-core communication MCC to share data and so on...

Regards,

Lukas

0 项奖励
回复