MPC5746R Flash Problem

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

MPC5746R Flash Problem

808 Views
qiaodeng
Contributor II

Hi,

  I am debugging MPC5746R with S32 Studio. I can only debug z4_1 successfully. If I flash z4_0, it will show the error:

Error in ONCE status register during instruction execution.

  Also I am confused about the project name when I create a new project:

170973_170973.pngpastedImage_1.png

According to the start address, it seems that the project Test_Z4_1 corresponds to the core Z4_0, and the name can't be changed. Could somebody explain this ? 

Regards

Qiao

Labels (1)
0 Kudos
1 Reply

623 Views
martin_kovar
NXP Employee
NXP Employee

Hi Qiao,

Z4_0 is the core, which MPC5746R boot from. It does not matter which address you use for Z4_0 and Z4_1.

I tried to load core for both cores via LaunchGroup and it works correct. I also tried to load code for Z4_0 and it works correct,

It not possible to debug Z4_1 without Z4_0. Z4_0 project loads code for both cores and Z4_1 only attach itself.

Regards,

Martin

0 Kudos