It looks like you may be running on Linux? If so I may not be much help, but look into the boot messages and see what USB ports are configured... It may not be USB0... Also try mapping the motecom dev to ttySn where N is the USB number.
The fact that you got a port listing on the first try indicates that some part of the java comm stuff was installed so I'm not sure what you did when reinstalling. You might try taking the new jar out of your classpath to see if the old stuff still works, and then try all the permutations of tty numbers and names... MS David Guillen Jimenez wrote: > Hi all, > > I was following the TinyOS-1.x tutorial, (lesson 6: Displaying Data on a > PC) and I have a problem with the Listen application. > I am using a USB - SerialPort conversor. > My platform is tinynode > My MOTECOM is MOTECOM=serial@/dev/ttyUSB0:tinynode > > I install Oscilloscope in my mote and I try to execute java java > net.tinyos.tools.Listen. > > At the begining I got this: > > > java net.tinyos.tools.Listen > Error on serial@/dev/ttyUSB0:57600: java.io.IOException: Invalid port. > Known serial ports: > - /dev/ttyS0 > - /dev/ttyS1 > > After this I tried installing the javax.comm package. I copied some > libraries like libParallel.so and libSerial.so and I included a .jar in > my CLASSPATH. I also changed a line in the javax.comm.properties: > > # Paths to server-side serial port devices > serpath0 = /dev/ttyUSB0 # before was "serpath0 = /dev/ttyS0" > serpath1 = /dev/ttyS1 > > Now I get a different error: > > java net.tinyos.tools.Listen > Error on serial@/dev/ttyUSB0:57600: java.io.IOException: Couldn't > configure /dev/ttyUSB0 > > > Any suggestion will be great. Thanks, > > David > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
