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
Hi, have you tried also destructive reset sequence?
MC_ME.MCTL.R = 0xF0005AF0
MC_ME.MCTL.R = 0xF000A50F
It does work or not?
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