Functional RESET in MPC5777M

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

Functional RESET in MPC5777M

1,614 次查看
yalamandadosaky
Contributor V

Hi All,  I am just want to test the functional reset in MPC5777M, I have created a simple LED blinking project in S32DS power pc v1.1, with single core Z4_2. I am using the below code for functional reset.

MC_ME.MCTL.R = 0x00005AF0; //Functional RESET & Key
MC_ME.MCTL.R = 0x0000A50F; //Functional RESET & Key

But code is not running and also LED's are not blinking when reset is happened on the board(RED led is blinked one time after executing the functional reset code).

So can any one help me how to solve the above problem.

Thanks 

0 项奖励
回复
2 回复数

1,326 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, have you tried also destructive reset sequence?

MC_ME.MCTL.R = 0xF0005AF0
MC_ME.MCTL.R = 0xF000A50F

It does work or not?

1,326 次查看
yalamandadosaky
Contributor V

Hi davidtosenovjan‌ Thanks for your response, I have tried destructive reset also , but it is also not working. 

When I press Reset button on My board , it is not executing the code.

Looks like My board is having some issue , when I tried to flash the code for third time(without power cycling it then RED Light is glowing constantly) and it will allow me to flash when I  power cycle the board to flash the code again.

Thanks 

0 项奖励
回复