avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-chat] Debuging spurious resets in Atmega16 application.


From: Gavin Jackson
Subject: RE: [avr-chat] Debuging spurious resets in Atmega16 application.
Date: Tue, 6 Sep 2005 15:29:23 +1200

Does anyone have a good debug method for figuring out why my ATMega16 is

resetting while my application is running (a robot).  I can get 20-30 
seconds of run when it is driving but then I get a reset (I have radio 
communications over serial so I can see the startup banner go by again).
I 
can then send another run command but it resets again shortly (repeat
this 
cycle at will).

Try checking the reset status register as the first stop. (MCUCSR)
Using the watchdog? Are you kicking it fast enough?

Gavin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]