[Tinyos-help] Problems with javacomm
Fabrizio Stefani
fabrizio.stefani at arslogica.net
Wed Aug 2 23:59:49 PDT 2006
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.
FTDI drivers are in the kernel, no problems with them.
> 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 :)
Yesterday two coworkers of mine made the same installation and javacomm
works OK for them. They have not installed the RXTX things.
I'll try to compare their system configuration with mine...
> On 02/08/06, *Fabrizio Stefani* <fabrizio.stefani at arslogica.net
> <mailto:fabrizio.stefani at arslogica.net>> 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?
_________________________________
This email has been ClamScanned !
www.clamav.net
_________________________________
More information about the Tinyos-help
mailing list