Re: How to find why the system reset?
- From: Viktor <vkesler@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 16:44:06 -0000
On Jul 31, 5:18 pm, Steven Woody <narkewo...@xxxxxxxxx> wrote:
hi,
may be caused by a buggy code somewhre, a system we developed under
M16C microprocessor will reset itself in some cases. i want to find
out what's the cause of the reset ( the hardware watchdog was turned
off ). is there any idea about this kind of problem? and, could you
please introduce any method used to detect causes of system reset?
thanks in advance.
-
narke
This type of thing usually happens to me when I'm not wiggling the
watchdog pin frequently enough.
What I do is that the watchdog wiggling function also writes a byte
value into a safe location. Whenever the system resets, this value is
shown during the self-test procedure.
This way I can tell where the program was before the reset occurred.
Maybe it's a stack overflow?
.
- References:
- How to find why the system reset?
- From: Steven Woody
- How to find why the system reset?
- Prev by Date: Re: How to find why the system reset?
- Next by Date: Re: LPC or SAM7?
- Previous by thread: Re: How to find why the system reset?
- Index(es):
Relevant Pages
|