MPC5746C: force reset

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

MPC5746C: force reset

Jump to solution
1,560 Views
michaelchien
Contributor II

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?

1 Solution
1,268 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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;

View solution in original post

7 Replies
1,269 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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;

1,268 Views
rehabmansour
Contributor III

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;

0 Kudos
1,268 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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.

0 Kudos
1,268 Views
rehabmansour
Contributor III

So how can I perform a Hard reset (cold boot) from software on MPC5606B ?

0 Kudos
1,268 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

1,268 Views
rehabmansour
Contributor III

Hi David thank you ,I am confused where did you get this table from my reference manual looks like this ?!

ref_1.png

0 Kudos
1,268 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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.