Thank you very much for your reply. Just to clarify, I am using
telosb motes. I tried most of your suggestions:
> - Problems occur more often if there are traffic in both directions
> (mote<-->pc). in fact, it seems that the problem does not
> happen when there is only mote-->pc traffic.
Interestingly, the packets are received for a while and then stop
even after I comment out
// serial.sendPackets();
at the end of TestSerial.java. This is somewhat surprising since I
have used the printf utility to get data from telosb motes over many
days without apparent problems or loss of data.
> - (very unlikely, but) your PC's usb driver? We had problems with
> usb drivers on stargates.
I experienced this problem on Ubuntu 7.10 and XubunTOS 7.04. Are
there any alternative drivers that I could try for these platforms?
> - Your usb hub is bad? we had to buy three different types of usb
> hubs, just to find a good one.
> And at least for me, I see more problems when I use an usb hub.
Unfortunately, due to the physical construction of my PC's, I need to
use some sort of hub or extender to actually connect the motes. I
will try to find another PC where this is not the case. However, I
did try multiple types of extender cables and hubs and the problem
seems to repeat on each of them.
> - baud rate: 57600 is more reliable than 115200?
> When we were trying out various usb hubs on stargates, we've
> experienced that telosb-57600 is more reliable than micaz-57600 or
> telosb-115200. We didn't investigate further, but this might
> hold for pc's too?
I am not sure how to accomplish this. When I am sending mote-->pc
only, then
java TestSerial -comm serial@/dev/ttyUSB0:telosb
will receive a number of packets and then stop, but
java TestSerial -comm serial@/dev/ttyUSB0:57600
will not receive any packets at all, as far as I can tell. Am I
entering the command incorrectly?
I appreciate any further assistance with this issue.
Thanks,
Tal
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help