Re: PLL change

"Mark Allison" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hi,

I also need to be able to generate a controlled reset in order to
perform a reboot.

The way I achieve it is this :-

After a power-on reset, I set he CSR bit set in the PLPRCR register 
and the ME bit set in the MSR.

In this configuration, If an illegal address is accessed then it is 
trapped by the machine check exception.

Then, when I want to generate a reset, I clear the ME bit in the MSR 
and read or write to an illegal memory location (ie one that is not 
mapped by one of the chip selects).

This then generates a checkstop reset.

This is much more controlled than waiting for a watchdog to time out.

Hope this helps

Mark

--- In [email protected], "qty154" <qty154@y...> wrote:
>
> Hello!
> 
> I want to achieve a board reset on my Wuerz MPC555 board that is 
> initiated from software. I have one option, that is the watchdog. I 
> simply don't update the key register and the watchdog, when 
expired, 
> causes a hard reset. However, watchdog is not always enabled.
> Second trial is to use the clock. I lock the MF, CSRC, LPM fields, 
and 
> I try to change the MF. According to the manual it should cause a 
hard 
> reset (because of the lock). However, nothing such actually happens.
> Before the changes, PLPRCR and SCCR is the following:
> 
> PLPRCR: 0X00915080  SCCR: 0XAD20C040
> 
> After the changes (change MF and set LOLRE) the registers look like 
> this:
> 
> PLPRCR: 0X006150C0  SCCR: 0XAD20C040
> 
> Why doesn't reset the MPC555?
> How can I achieve reset?
> 
> Regards
> Attila
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.