Hi,

Since in your message you ask for advise on cygwin I assume you're
running cygwin? If so, I think you cannot use unix-like device names for
the serial port. There was a message on the mailing list a few hours ago
that described how you can find out on Windows which port name was
assigned to a usb <-> serial converter.

Since I'm not using windows, I might nor remember everything correctly.
Basically you can right-click on my computer, then select manage system,
then device manager. In the device manager you'll find an entry about
ports. In there you should see the port name and a short description.

Once you know the port name, for instance COM7, you can use this as
parameter to the make command. You'll probably use a command like:

make mica2 install,0 mib510,COM7

Cheers,
Urs


Khew U-Wei wrote:
> Hi Everyone,
> 
> Thanks so much for the helpful replies.
> 
> I tried all the suggestions but still receive error messages,
> 
> I tried:
> MIB510='/dev/ttyUSB0' make mica2 install.0 mib510
> and the error was:
> Error: No such file or directory ->  /dev/ttyUSB0
> make [1]: ***[reinstall.0] Error 1
> make: ***[install.0] Error 2
> 
> I tried:
> MIB510='/dev/ttyUSB1' make mica2 install.0 mib510
> the error was the same:
> Error: No such file or directory ->  /dev/ttyUSB1
> make [1]: ***[reinstall.0] Error 1
> make: ***[install.0] Error 2
> 
> Another question is, how do we check the hardware settings for the ports
> that are being used?
> 
> I know this question is a bit silly but how can we copy the error
> messages or any other messages from the cygwin window? The text cant be
> highlighted to copy.
> 
> Looking forward to ya replies. Thank you very much.
> 
> regards,
> U-Wei
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

Reply via email to