Hello,
Perhaps someone knows why I seem to be getting
problems between the multihop.nc component and
the WDTC.nc component.
I am using Tmote Sky. I have gotten the watchdog
timer to work with the multihop component. I have
been using ideas from what people have said here.
I am not using the WDTC.nc component. A mote
runs fine but resets occassionally. The resets are
happening when they should NOT be happening.
After about 2000 (as a mean location with large
variance) program cycles, a mote restarts.
So one question is why do the motes restart? I
have thought that perhaps it's that tasks pile up
and the kickWDT calls are not performed. Is this
the only possibility?
A second question is why doesn't the WDTC
component work with multihop.nc component
for me? It seems that as soon as I call the
WDControl.start() the mote resets. Here is how
I am wiring to the components.
components Main;
components MultiHop
, AppM as Impl
, TimerC
, LedsC
, WDTC
;
Main.StdControl -> MultiHop;
Main.StdControl -> Impl;
Impl.TimerControl -> TimerC.StdControl;
Impl.Timer -> TimerC.Timer[unique("Timer")];
Impl.DogControl -> WDTC.StdControl; //problem
Impl.WDT -> WDTC.WDT;
Is there any problem with this wiring? If not,
why does DogControl reset the mote?
I would appreciate any ideas.
Thanks,
Jared
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help