Hi all,
I'm using Ubuntu 6.06, TinyOS 1.1, Java 1.5.0_06, JavaComm 3.0, GCC 4.0.3, Tmote tools 2.0.2.

To install all I followed this guides:
 http://www.chadmetcalf.com/tinyos-1x-on-ubuntu/
 http://www.moteiv.com/community/Tmote_Linux_install

I can program the tmotes, but I'm having some problems with the javacomm because trying to test the Oscilloscope application the program gives me an error and stops.

$ motelist
Reference  Device           Description
---------- ---------------- ---------------------------------------
M4A9N70Z   /dev/ttyUSB0     Moteiv tmote sky

$ export MOTECOM=serial@/dev/ttyUSB0:tmote

$ java net.tinyos.tools.Listen
Error on serial@/dev/ttyUSB0:57600: java.io.IOException: Couldn't configure /dev/ttyUSB0

If I try to use some other java applications for testing the serial port, such as BlackBox, it seems to work.

$ export CLASSPATH BlackBox.jar:$CLASSPATH
$ java BlackBox -p /dev/ttyUSB0
Opening port /dev/ttyUSB0
/dev/ttyUSB0: PORT_OWNED [by this application]

and the GUI opens giving me informations on that port.

So what's happening with the serial connection with the tmote?
Can you help me?


Thanks,
Fabrizio
_________________________________
This email has been ClamScanned !
         www.clamav.net
_________________________________
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to