Problem while Running in stand alone without Debugger

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

Problem while Running in stand alone without Debugger

846 次查看
chidambaramvelu
Contributor II

Dear All,

 

I am using MPC5777M development board with Engineering Sample controller (PPC5777MMVU8A) and programmed through P&E Multilink Debugger and the device is running in standalone, but when using Mask specification qualified controller (SPC5777MMVU8) with the same debugger and same development board, the device is working while debugging and after the removal of debugger/ next Power On, the program is not working.

 

Is there any issue with debugger or in project settings..???

 

Kindly revert me as soon as possible.

标签 (1)
2 回复数

685 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

 

there is one difference between PPC and SPC microcontrollers. SPC microcontroller's BAM sets RUN_CFG bit in register PCTL15 to value 3. If you do not know this fact it leads to incorrect Mode Entry module settings and SIUL2 peripheral should be frozen. This does not happen with debugger, because if PEMicro debugger is connected, BAM is not executed by default.

 

Please add the following code somewhere to your Mode Entry module settings (before you do mode transition):

MC_ME.PCTL15.B.RUN_CFG = 0;

 

You described the problem generally, so I hope this helps you. If not, please write me back and describe your problem more detail.

 

Regards,

Martin

685 次查看
chidambaramvelu
Contributor II

Thanks Martin Kovar,

Now it's working fine in our board.

0 项奖励
回复