[Tinyos-devel] micaz (atm128?) serial problem in 2.x
eweddington at cso.atmel.com
eweddington at cso.atmel.com
Mon Oct 2 21:12:32 PDT 2006
Hi Phil,
I would rule out a stray memory bug causing the watchdog to be enabled.
On the mega128, it requires a specific code sequence to enable the
watchdog, which a stray memory bug probably won't be able to do.
IIRC, there is a register in the m128 that allows you to discover the
source of a reset. Sorry, I don't have the datasheet in front of me, so
I don't know the specific register. But I would suggest putting in some
debug code to take a look at that and see if that provides any further
clues.
HTH
Eric Weddington
----- Original Message -----
From: Philip Levis <pal at cs.stanford.edu>
Date: Monday, October 2, 2006 8:25 pm
Subject: [Tinyos-devel] micaz (atm128?) serial problem in 2.x
> This came up during net2's testing of collection. It looks like
> when
> a micaz app puts heavy load on the serial port (and there's lots of
>
> traffic) in 2.x, the mote can reboot. I don't know if this occurs
> with the mica2. I don't believe this ever happens on just the
> serial
> bandwidth app, but this might be due to rate-limited
> (send/sendDone)
> vs. not-limited (multiple senders) load, interactions with the
> radio,
> or something which the semantics of that app just don't tickle.
>
> I remember going through the atm128 manual and seeing the reboot
> causes were pretty narrow. I was hard pressed to come up with a
> reason why it might be happening, besides something really weird
> like
> a memory bug enabling the watchdog timer.
>
> Has anyone else encountered this or have any insights?
>
> Phil
>
>
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-
> bin/mailman/listinfo/tinyos-devel
>
More information about the Tinyos-devel
mailing list