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: [EMAIL PROTECTED]:57600; java 
> hardware_check. Got the same error message.
> 2) I have set the MOTECOM as "[EMAIL PROTECTED]:57600" and run 
> "[EMAIL PROTECTED]:57600 java hardware_check". Same error message as 
> before. :(
> 
> Michelle
> 
> 
> 
> 2008/9/3 Michael Schippling <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> 
>     I've never trusted that syntax...
>     Putting a semicolon ';' between the two commands
> 
>        [EMAIL PROTECTED]:57600 ; java hardware_check
>     just worked for me.
>     Or you can set the MOTECOM 'permanently':
>        export MOTECOM="[EMAIL PROTECTED]: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:
> 
>         [EMAIL PROTECTED]:57600 java hardware_check
> 
> 
> 
>         It gives the following error message: [EMAIL PROTECTED]: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
>         [email protected]
>         <mailto:[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

Reply via email to