MPC5777M startup problem

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

MPC5777M startup problem

1,062 次查看
underdangerous
Contributor II

Hi,everyone:

We now have a problem  when I connect JTAG to the target board and click Flash in file or debug in S32DS for PA v2.1,the code works correctly and the functionality is implemented as expected.But once I power off and restart the MCU, the code will not be executed,and I checked the 0x01000000 after using the NXP_MPC5777M_1x32x1984k_CFlash.pcp algorithm in PROGPPCNEXUS-Flash Programmer and found that the code had been downloaded to flash.I have already add MC_ME.PCTL15.R = 0 before the last mode, but it didn't work.The device information is as follows:

Motherbroad:MPC57XXMB-REVC-SCH
Daughtercard:MPC5777M_512DS
Debugger:PEMicro USB MULTILINK UNIVERSAL

This problem has been bothering us for a long time,but we don't know exactly where the problem is.Hope somebody  can help us with this, thank you very much.

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

1,052 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @underdangerous 

are you able to attach the debugger to running target? Please follow solution in this thread:

https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030375

Once you are attached, you can stop the execution and check what happened - if some exception was triggered etc.

Regards,

Lukas

0 项奖励
回复