[Top][All Lists]

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

Re: [avr-gcc-list] Freaky code wraparound...

From: Scott Pitcher
Subject: Re: [avr-gcc-list] Freaky code wraparound...
Date: Wed, 28 Mar 2001 21:36:18 +1000


I had a contractor who found a reset bug in one of our Mega103
applications. Apparently, if the Z register is incremented and rolls
over to zero, under some conditions a reset can result. His fix was
to manually increment each half of the register. I don't know if this
behaviour is documented.



On Wednesday 28 March 2001 06:02, you wrote:
> extremely difficult to debug without an ICE.
> What appears to be happening is that the device is continually
> executing up until a certain point and then ending up back at the
> reset entry point.

Scott Pitcher           address@hidden
Product Engineer        +61-418-368-051
LETECH                  Melbourne, Australia

reply via email to

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