Hi,
Based on your error message I assume that you're running on cygwin.
Sofar I wasn't aware that now it also knows about which devices are
connected over USB. What does motelist tell you?
Try finding out the windows com port by checking device manager (right
click on the My Computer icon, choose manage, then device manager, then
have a look in the USB controller part).
I'm pretty sure that if you use TinyOS 2.x, the TinyOS serial API
translates between UNIX-like names (/dev/ttySxx) and windows-like names
(COMXX). It probably doesn't know about USB devices, though. If you know
the windows port (COMxx), then try the UNIX port name /dev/ttySyy, where
yy is the number xx - 1. Or try directly the windows port name.
Cheers,
Urs
Prashanth Shenoy wrote:
I have a problem... when i run the Listen application. I have set
MOTECOM=serial@/dev/ttyUSB0:mica2 (the port i have used /dev/ttyUSB0 is correct
as I use the same to install the program onto the mote. ) java
net.tinyos.tools.Listen Error on serial@/dev/ttyUSB0:57600:
java.io.IOException: Invalid port. Known serial ports: - COM1 - COM2 - COM3 -
COM4 - COM5 - COM6 - COM7 - COM8 - COM9 - COM10 - COM11- COM12 - COM13 - COM14
- COM15 - COM16
- COM17 - COM18 - COM19- COM20- COM21- COM22- COM23- COM24- COM25- COM26-
COM27- COM28- COM29- COM30- COM31- COM32- COM33- COM34- COM35- COM36- COM37-
COM38- COM39- COM40- COM41- COM42- COM43 - COM44- COM45- COM46- COM47- COM48
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help