Try adding

CFLAGS += -DTASKLET_IS_TASK

to your makefile. No, it is not just for the base station. Most of the
radio processing is done in interrupt context. If you have some code
that does not like to be interrupted, then you can move the processing
to task context, but then you will lose some of the responsiveness of
the stack. The serial is known to have a race condition, so that is
why we added this flag to the basestation. Maybe there are other cases
where this causes problem and locks up some stuff.

Miklos

On Mon, Jun 21, 2010 at 1:06 PM, Fabrice Dossin
<[email protected]> wrote:
> Hi,
> I have the same problem. Either the mote is frozen (1s timer to blink a led
> does not respond anymore), either the mote still receives dissemination
> message but the collection messages does not go up to the basestation
> anymore.
> DTASKLET_IS_TASK is just for the base station, no?
> I do not have sample code for reproducing it...
> Regards,
> Fabrice
>
> On 7 June 2010 21:58, Miklos Maroti <[email protected]> wrote:
>>
>> If it does not help, then do you mind posting your code so I can check
>> it? Miklos
>>
>> On Mon, Jun 7, 2010 at 5:17 PM, Janos Sallai <[email protected]>
>> wrote:
>> > Would you put the following line in the Makefile and give it another
>> > try:
>> > PFLAGS+=-DTASKLET_IS_TASK
>> >
>> > Janos
>> >
>> >
>> > On Mon, Jun 7, 2010 at 9:42 AM, 徐经纬 <[email protected]> wrote:
>> >>
>> >> I use 10 iris motes with mts310 sensorboard, I get AccelX, AccelY via
>> >> ReadStream interface in 100Hz,and send accelX,accelY value packet to
>> >> baseStation per 0.1 second.    When I test one mote ,it works well. but
>> >> when
>> >> more mote join to my work, max number is 10.  the motes will down
>> >> randomly... and at last, it just have only 2-4 motes works, others all
>> >> dead..    What's the problem....Who can help me
>> >> _______________________________________________
>> >> Tinyos-help mailing list
>> >> [email protected]
>> >>
>> >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>> >
>> > _______________________________________________
>> > Tinyos-help mailing list
>> > [email protected]
>> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to