MPC5777M startup problem

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

MPC5777M startup problem

942 Views
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.

Tags (1)
0 Kudos
Reply
1 Reply

932 Views
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 Kudos
Reply