Is it possible to force MPC5746C reset?
for example, MC9S12XDT will go reset when I set AMRCOP register 0xFF.
is there any register of MPC5746C which is able to reset it?
Solved! Go to Solution.
Hi, you can use the MC_ME module to enter the RESET mode (SW functional reset):
/* software reset */
ME.MCTL.R = 0x00005AF0;
ME.MCTL.R = 0x0000A50F;
or for SW destructive reset
ME.MCTL.R = 0xF0005AF0;
ME.MCTL.R = 0xF000A50F;
Hi, you can use the MC_ME module to enter the RESET mode (SW functional reset):
/* software reset */
ME.MCTL.R = 0x00005AF0;
ME.MCTL.R = 0x0000A50F;
or for SW destructive reset
ME.MCTL.R = 0xF0005AF0;
ME.MCTL.R = 0xF000A50F;
Hi David,
I am searching for the same thing for MPC5606B
I need to do a SW destructive reset ,but I can't find this in the data sheet ,any alternative for this value for MPC5606B ??
I want alternative for this code
or for SW destructive reset
ME.MCTL.R = 0xF0005AF0;
ME.MCTL.R = 0xF000A50F;
On MPC5606B there is no option for SW destructive reset, this has been added later. MPC5606B is only possible to reset software way by functional reset.
So how can I perform a Hard reset (cold boot) from software on MPC5606B ?
I have found out that Software watchdog can cause destructive reset. Thus you could let watchdog to expire intentionally, but after reset you would have set F_SWT flag, question is whether it would be OK for your application or not.
Hi David thank you ,I am confused where did you get this table from my reference manual looks like this ?!
Actually, I have taken the screenshot from MPC5607B manual. The whole RGM chapter in MPC5606BRM is somehow "weird", including block diagram where all reset sources disappeared. I have checked with debugger and all reset sources are present.