[Tinyos-help] Invalid port. No comm ports found.
Michael Schippling
schip at santafe.edu
Wed Sep 3 10:59:54 PDT 2008
OH, your first message had COM1 in the MOTECOM and COM3 in the error msg.
As I and others have said, make sure you have your mote plugged into
the correct port and have the right name for it. I always set the MOTECOM
with the export command and then just do: java program
Of course "COM" only works on Windows, if you're on Linux the port names
will be different. It may be that you need to use something like:
"/dev/ttyS0" (in the case that you are attached to COM1). If you have
a USB->serial adapter the names will be wildly different as well.
I'm guessing you have mica motes since I believe hardware_check doesn't
work with telos types. I further believe that "motelist" only works
with telos. I stand to be corrected on both those assertions.
MS
kwong michelle wrote:
> Hi, MS,
>
> 1) I tried the first syntax: MOTECOM=serial at COM3:57600; java
> hardware_check. Got the same error message.
> 2) I have set the MOTECOM as "serial at COM3:57600" and run
> "MOTECOM=serial at COM3:57600 java hardware_check". Same error message as
> before. :(
>
> Michelle
>
>
>
> 2008/9/3 Michael Schippling <schip at santafe.edu <mailto:schip at santafe.edu>>
>
> I've never trusted that syntax...
> Putting a semicolon ';' between the two commands
>
> MOTECOM=serial at COM1:57600 ; java hardware_check
> just worked for me.
> Or you can set the MOTECOM 'permanently':
> export MOTECOM="serial at COM1:57600"
>
> Somewhere you have it set to COM3.
> Make sure your mote is attached to COM1
>
> MS
>
> kwong michelle wrote:
>
> Hi,
>
> I am running the hardware verify program (hardware_check.java)
> from tutorial
> (http://www.tinyos.net/tinyos-1.x/doc/tutorial/verifyhw.html).
> When I execute the command:
>
> MOTECOM=serial at COM1:57600 java hardware_check
>
>
>
> It gives the following error message: serial at COM3:57600 died -
> exiting (java.io.IOException: Invalid port. No comm por
> ts found!)
>
> Can anyone give me some helps on solving the problem?
>
> Thanks.
>
> Michelle
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> <mailto:Tinyos-help at millennium.berkeley.edu>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
More information about the Tinyos-help
mailing list