MPC577X mutlicore interrupt demo project issue

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

MPC577X mutlicore interrupt demo project issue

跳至解决方案
2,003 次查看
Harry0001
Contributor II

Hello,

I want to ask a question about how to use the example of MPC5777C  which provided by NXP.I opened the demo project which is called:

"interrupt_control_multicore_mpc5777c_group Interrupt control multicore mpc5777c"

I finished compling and flashing the reprogramming to a control board.Howerer,i found that only core 0  was running and the core 1 cannot be displayed when debuging.This case is abnormal and maybe some palce is not set correctly. 

I captured the picture as the following,who can tell me where is the key reason of the problem?

issueSolve_1.pngissueSolve_2.pngissueSolve_3.png

0 项奖励
回复
1 解答
1,983 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

for multicore debug you need to start Launch Group which is part of Example:

jiri_kral_0-1690443105479.png

jiri_kral_1-1690443195542.png

 

If you already modified the launch group - the easiest way how to fix it is delete old example from workspace and create the project again. 

 

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,984 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

for multicore debug you need to start Launch Group which is part of Example:

jiri_kral_0-1690443105479.png

jiri_kral_1-1690443195542.png

 

If you already modified the launch group - the easiest way how to fix it is delete old example from workspace and create the project again. 

 

0 项奖励
回复
1,934 次查看
Harry0001
Contributor II

Thanks for this answer,i deleted the old project and builded a new example again,then it worked well.Other settings seems to be not necessary at all,and the most important thing is to creat a startup group and debug it.

issueSolve_4.png

0 项奖励
回复
1,970 次查看
Harry0001
Contributor II

What you show on the picture has three debuging for the Launch Group,it is a three cores MCU example?What i used is a two cores MCU and i had added both the two core debuging item into the launch group,just like my picture showing,but when flashing it only shows core 0 running.I do not know why core 1 not run.So, i need to know whether there is still some other settings about two cores running.

0 项奖励
回复
1,960 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

I had MPC5748G board on my desk, So I used example for it. The example for MPC5777C is the almost the same. You need to select launch group which belongs to the example: 

jiri_kral_0-1690532741472.png

 

If you are creating new launch group, make sure that for boot core is added additional .elf file from second core: 

jiri_kral_1-1690532862009.png

 

 

0 项奖励
回复
1,955 次查看
Harry0001
Contributor II

Thank you for your reply!

I tried your method,however,when debug the launch group,core 0 start running,then a pop-up window appeared as the following.when chose yes,core 0 will close,then core 1 start running.It is strange for the pop-up window.

mutlicore dubug pic0.png

0 项奖励
回复