LoL, my bad not understanding the humor.<br>
<br>
This becomes an interesting topic. I looked at different CPUs, it seems
everyone uses different method to reset itself, and there is no
uniformed or easy for 603e. I searched on google but didn't see anyone
have similiar concern. Actually lots of boxes/systems using MPC8245,
why nobody cares about it? :)<br>
<br>
To use watchdog timeout, or gpio port to assert reset line on CPU are
not flexible enough. If using watchdog, I have to enable watchdog and
reduce the timeout length (if it's too long). If using some GPIO
device, I'll have to rely on i2c bus or whatever io interface to write
data. Acutally our system has RESET by a GPIO(PCA9556) port.<br>
<br>
Interesting enough, I resolved the problem by writing a data to an
invalid address with hoping for a machine check exception (in fact this
is what u-boot does). Would it be good to make it as a stardard
&quot;restart&quot; function in mpc10x_common.c? If it's acceptable I could send
out my patch.<br>
<br>
- Reeve<br><br><div><span class="gmail_quote">On 9/6/06, <b class="gmail_sendername">Jon Scully</b> &lt;<a href="mailto:jonscully@gmail.com">jonscully@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 9/5/06, Reeve Yang &lt;<a href="mailto:yang.reeve@gmail.com">yang.reeve@gmail.com</a>&gt; wrote:<br>&gt;&nbsp;&nbsp;I'm kind of curious what's the proper way to reset the<br>&gt; 8245 CPU? For anyone who doesn't know MPC8245, which is 603e core.
<br><br>You could starve the watchdog (assuming SWE=1 in SYPCR).&nbsp;&nbsp;If you own<br>the hardware design, you could add an addressable WO latch (FPGA) that<br>asserts reset for the right number of clock cycles (what I would<br>
normally provide or ask for in a design -- but *only* during<br>development).&nbsp;&nbsp;Otherwise... If this is for development purposes,<br>consider using JTAG (Boundary Scan) to control /SRESET.<br><br>(My reference to RST was supposed to be humorous -- as in, remember
<br>the good old days when you could do that in S/W?! ('RST 7' in Z80 &amp;<br>8085)&nbsp;&nbsp;Sorry for my bad humor.)<br>_______________________________________________<br>Linuxppc-embedded mailing list<br><a href="mailto:Linuxppc-embedded@ozlabs.org">
Linuxppc-embedded@ozlabs.org</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a><br></blockquote></div><br>