MPC5748G multi-core operation problem

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

MPC5748G multi-core operation problem

1,160 次查看
zhouwe
Contributor II

When using Lauterbach to debug multi-core applications (first use In target reset, then run), both the z4_0 and z4_1 cores can run normally; but after removing the debugger, only z4_0 can run, while the z4_1 core cannot run normally. The code is modified by using "interrupt_control_multicore_mpc5748g" in SDK3.0RTM (CAN transceiver is added in Z4_1).
If you use Lauterbach's "Attach" function, you can see that Z4_ 1 is stuck in "IVOR1_Exception_Handler". How did this happen? I delayed 10000 times before Z4_1 initialized CAN, but it didn't work. Is the initialization timing wrong?

标记 (1)
0 项奖励
回复
1 回复

1,117 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

if you can see that the code hangs in IVOR1 after "attach", first thing to check is the MCSRR0 core register. This register contains address of instruction which caused the error.

Anyway, could you share the project?

Regards,

Lukas

0 项奖励
回复