| I'm not quite sure if it's the same for Tmotes, but for micaz I use /dev/ttyUSB0 for programming and /dev/ttyUSB1 for communication (on Ubuntu with TinyOS 2.x, though).
Anton
On Aug 2, 2006, at 1:40 PM, Claro Noda wrote: Frabrizio:
did you sorted out the FTDI drivers correctly? remember there is a serial<->USB interface on the Tmote. the drivers are probably part of the kernel and the motelist output make me guess you did.
but, besides, the javacomm, in linux uses the RXTX. You might be willing to check: http://wass.homelinux.net/howtos/Comm_How-To.shtml
I'm not sure if this applies to the Tmote, though. There is no reference to it in: http://www.moteiv.com/community/Tmote_Linux_install Maybe somebody else in the list can advise.
we are entertaining the idea of moving to ubuntu, so i might keep an eye on this thread :)
Claro.
On 02/08/06, Fabrizio Stefani <[EMAIL PROTECTED]> wrote: 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?
_______________________________________________ Tinyos-help mailing list |
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help