RE: Hardreset using software on MCF5282 ColdFire

"Bracey,William" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <5D39F9C94199F64FA82E5809C702AA7C021D42@z-160-100-30-229.est.ibm.com>
-----Original Message-----
>From: Raymond Catherasoo [mailto:[email protected]] 
>Sent: 22 November 2007 20:27
>Subject: [ColdFire] Hardreset using software on MCF5282 ColdFire


>

>I am using ColdFire MCF5282. Does anyone know how to set the RSTO pin to
perform a hard reset? I tried to assert the pin but it doesn't do the job.
The manual doesn't seem to help. Below is the help from the manual. 

>
>Raymond
---------------------------------------------------
 
Raymond
 
I am not using the 5282 but normally RSTI causes the ColdFire to reset. RST0
is an output that changes state during the reset and is used to signal to
external devices that the ColdFire is currently resetting so they can take
appropriate action.
 
The manual the information below comes from is rev 0.1 2003 so fairly old.
14.2.3.1 Reset In (RSTI)

Asserting RSTI causes the MCF5282 to enter reset exception processing. When
RSTI is

recognized the address bus, data bus, SIZ, R/W, AS, and TS are three-stated.
RSTO is

asserted automatically when RSTI is asserted.

14.2.3.2 Reset Out (RSTO)

After RSTI is asserted, the PLL temporarily loses its lock, during which
time RSTO is

asserted. When the PLL regains its lock, RSTO negates again. This signal can
be used to

reset external devices.

If you are trying to force a reset from software you probably need to use
SOFTRST in the RCR register. Or you could use a GPIO pin set as an output
and wired round to RSTI with a suitable pullup. As RSTO is held for 512
clocks after/during reset if you wire it round and use FRCRSTOUT you might
get stuck in the reset.
 
regards
 
Bill

 



***********************************************************************
The information contained in this email and any attachments may be confidential and is provided solely for the use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any disclosure, distribution, or use of this e-mail, its attachments or any information contained  therein is unauthorised and prohibited. If you have received this in error, please contact the sender immediately and delete this e-mail and any attachments. 

No responsibility is accepted for any virus or defect that might arise from opening this e-mail or attachments, whether or not it has been checked by anti-virus software.
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.