I have just tried to use USB0 and it didn't crash but didn't receive
anything either:

java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:iris

This has raised more questions:
I am supposed to use USB1 to communicate with the base station as higher
numbered port is for communication and lower numbered port USB0 is for
programming. What went wrong?

David


On Tue, May 19, 2009 at 11:31 AM, David Li <[email protected]> wrote:

>
> Hi,
>
> I am running Tinyos 2.1 on Ubuntu 9.10 and Sun Java SDK 1.5.  Before this
> the SerialForwarder was ok and I had just ran "update-java-alternatives" to
> switch from GIJ Java to Sun Java 1.5.  Now I am having problems the
> SerialForwarder GUI keeps showing the following:
>
> Could not open /dev/ttyUSB1: TOSComm JNI library runtime error: open:
> Input/output error
>
> serial@/dev/ttyUSB1:57600 died - restarting
>
> Same thing happend when I ran "java net.tinyos.tools.Listen".
>
>
> Does anyone know if this requires me to recompile SerialForwarder? And how
> do I do that?
>
> Thanks.
>
> David
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to