Hi David,

Is there any way to re-boot the BaseStation on a telosb mote while it is
still connected to the PC.

My problem stems from the fact that in a very rare event the mote would
receive the packet being sent serially from the PC(D20 serial green led on
telos blinks) but the packet would never come out from the radio of the
mote. The SerialForwarder also signals "write failed" and after this all the
attempts to write serially on the mote would fail endlessly.

Last time, when I detected that the mote started behaving in this manner I
stopped SerialForwarder and unloaded the usbserial and ftdi-sio modules from
the kernel and then re-started them. But, there was no escape as the
situation was same with the mote- "wrie failed event occurring endlessly".

Let me know what might be causing the problem or if anyone else has also
encountered the same. As it is may become a very serious issue if the
BaseStation is kept for a long time and the writes starting failing without
anyone knowing about them.

Thanks in advance
Mayur

On 8/29/07, Mayur Maheshwari <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I am using TelosB motes running theTOS 2.0.1.
>
> I installed the BaseStation app and started SerialForwarder to start
> writing to the mote. In all the cases the writes were successful and the
> only write failure was when I tried hogging the mote with the writes. The
> writes would continue successfully when I stopped hogging.
>
> But, in very rare events I see the "write failed" event used to trigger
> and all subsequent writes would fail after this even though the D20 green
> serial led would blink indicating that the packet has been received. This
> happened even when I am not trying to hog the mote. In that event I plugged
> out the mote ,re-plugged it, restarted SerialForwarder and started serial
> writes again successfully.
>
> I tried finding the way in which we can stop the mote from the laptop if
> the writes fail. But, I think it is not possible to switch off the USB power
> from the SW level. Let me know what could be the possible problem in the
> mote.
>
>  I thought of removing the modules usbserial, and ftdi-sio would help by
> issuing:
>
> $ rmmod ftdi-sio
> $ rmmod usbserial
>
> But, this will only remove the modules from the linux kernel and the
> problem in the mote may still persist and will come again when the modules
> are loaded again.
>
> Any guesses?
>
> Regards
> --
> Mayur Maheshwari([EMAIL PROTECTED])
>
> "Karmanye Vadhikaraste Ma Phaleshu Kadachana,
> Ma Karma Phala Hetur Bhurmatey Sangostva Akarmani"




-- 
Mayur Maheshwari([EMAIL PROTECTED])

"Karmanye Vadhikaraste Ma Phaleshu Kadachana,
Ma Karma Phala Hetur Bhurmatey Sangostva Akarmani"
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to