MPC5748G multi-core operation problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5748G multi-core operation problem

753 Views
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?

Tags (1)
0 Kudos
1 Reply

710 Views
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 Kudos