On Tue, 24 Jun 2003 15:39:47 -0300, Pedro Zorzenon Neto wrote: On Tue, Jun 24, 2003 at 06:01:42PM +0200, Daniel Néri wrote: > Pedro Zorzenon Neto <[email protected]> writes: > > > I could put some code to reset the device or just a "while(1);" to > > loop forever and wait watchdog to reset... > > You can trigger a watchdog reset by writing to WDTCTL with an invalid > password, e.g. > > WDTCTL = ~WDTPW; > > > Regards, > --Daniel
Worked! I think this could be added to tips&tricks in documentation. Chris can you do it? Thanks, Pedro ======================================================= I typically put this in crt0.S at the return from main() too. And if you add a label (like cpuReset:) you can also call it from within your application. -Bill Knight R O SoftWare
