AnsweredAssumed Answered

MCF52254 Reset Hangs

Question asked by Salman Razzaq on Oct 3, 2013
Latest reply on Oct 3, 2013 by TomE

Hi,

 

I am trying to do software reset but everytime during the reset it is unable to boot. It looks like that it is hanged. Even if I do the hardware reset, still it does not respond. I have to power down the mcu and then power it up again.

 

I tried to do the reset using two ways: -

 

- Asserting Software Reset Bit

- Backup Watchdog Timer Expiration

 

Both of them do not work at all.

 

Here is code for each section: -

 

Software Reset

----------------------

MCF_RCM_RCR = MCF_RCM_RCR_SOFTRST | MCF_RCM_RCR_FRCRSTOUT;

 

 

 

Backup Watchdog Timer

------------------------------------

MCF_CLOCK_BWCR = 0x00;
MCF_BWT_WMR = 0xFFFF;
MCF_BWT_WCR = MCF_BWT_WCR_EN;

 

while(1) { }

 

 

 

Thanks in advance for the help.

 

Regards.

Outcomes