[Tinyos-help] Problem with USB-to-Serial Cable for mote-pc communication

Philip Levis pal at cs.stanford.edu
Sun Jan 4 09:52:33 PST 2009


On Jan 4, 2009, at 9:38 AM, Yu (Jason) Gu wrote:

> Hi,
>
> I'm using tinyos 2.1.0 on Ubuntu Hardy, micaz and mib510. I can burn  
> the image to the mote with my usb-to-serial cable without any  
> problem. However when I tried to connect to the serial port with  
> SerialForwarder or other java applications, I got following error  
> message:
>
> serial@/dev/ttyUSB0:57600 died - exiting (java.io.IOException: Could  
> not open /dev/ttyUSB0: TOSComm JNI library runtime error:  
> get_modem_status: Invalid argument
>
> I have checked and made sure the port /dev/ttyUSB0 is world writable.
>
> Any potential solutions to solve this problem?

A simple workaround is to use the C-based serial forwarder.

Phil


More information about the Tinyos-help mailing list