I had mica2 and telosB.
I was using TakaTuka JVM
(http://cone.informatik.uni-freiburg.de/people/aslam/takatuka/) and
calling TinyOS code from Java code.
My problem was much different and in the mean time I had solved it myself.
However, I thought your discussion is useful anyway hence I did not
interrupt it. Please accept my apologies. :)
I appreciate your help and replies.
regards,
Faisal
> Janos,
>
> Can you change in HplAtm128UartP.nc the two lines (USART0 and USART1)
>
> AVR_NONATOMIC_HANDLER(SIG_USART1_TRANS) {
> signal HplUart1.txDone();
> }
>
> into AVR_ATOMIC_HANDLER? Does that eliminate the bad packets?
>
> Miklos
>
> On Fri, Feb 27, 2009 at 9:35 PM, Janos Sallai
> <[email protected]> wrote:
>> Miklos, Faisal,
>>
>> I can't reproduce the problem. Here's my setup:
>>
>> I have an unmodified basestation connected to the PC (the
>> TASKLET_IS_TASK flag is not set). I have two sender motes programmed
>> with RadioCountToLeds with 60 Hz timers. The Listen application
>> appears to be working fine, although there's a bad packet message
>> every second or two.
>>
>> It's been running fine for more than 15 minutes now...
>>
>> Faisal, may I ask what your setup is?
>>
>> Janos
>>
>>
>> On Fri, Feb 27, 2009 at 2:24 PM, Janos Sallai
>> <[email protected]> wrote:
>>> Miklos,
>>>
>>> Actually, the TASKLET_IS_TASK flag is set in the BaseStation/Makefile,
>>> so this issue has long been fixed in the CVS head. Of course, this was
>>> done after the 2.1 release. And of course, this is not the best fix
>>> for the issue.
>>>
>>> Faisal, can you verify that you have the 2.1 release sources, not the
>>> CVS head?
>>>
>>> Janos
>>>
>>> On Fri, Feb 27, 2009 at 10:36 AM, Miklos Maroti
>>> <[email protected]> wrote:
>>>> Janos,
>>>>
>>>> We might want to make the TASKLET_IS_TASK the default, or I need to
>>>> look into the UART for the IRIS platform. This is biting more and more
>>>> people. What dou you think?
>>>>
>>>> Miklos
>>>>
>>>> On Fri, Feb 27, 2009 at 5:02 PM, Janos Sallai
>>>> <[email protected]> wrote:
>>>>> Faisal,
>>>>>
>>>>> You didn't state what mote you're using. It it's the iris, you may
>>>>> try adding
>>>>> PFLAGS+=-DTASKLET_IS_TASK
>>>>> to your makefile.
>>>>>
>>>>> Janos
>>>>>
>>>>> On Fri, Feb 27, 2009 at 9:27 AM, Faisal Aslam
>>>>> <[email protected]> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I use net.tools.tinyos.Listen to print serial output.
>>>>>> The problem is that it only print always first 34 outputs and then
>>>>>> it
>>>>>> halts. It does not matter how long was each output it only print
>>>>>> first
>>>>>> 34 of them and then it halts.
>>>>>>
>>>>>> Any clues?
>>>>>>
>>>>>> best regards,
>>>>>> Faisal
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>
>>>
>>
>
--
Faisal Aslam
PhD Student
University of Freiburg
http://cone.informatik.uni-freiburg.de/people/aslam/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help