[Tinyos-help] Problem using C-based SerialForwarden under Windows XP
Angel Bartomeu Bonillo
angelbartomeu at um.es
Fri Nov 28 03:53:50 PST 2008
It's still doesn't work.
Motelist returns:
Reference CommPort Description
---------- ---------- -------------------------------------------
M4AF4B9T COM6 tmote sky
Then I do:
/opt/tinyos-1.x/tools/src/sf/sf.exe 9001 /dev/ttyS5 56700 telosb
Again, I have also tried many other combinations like typing
serial@/dev/ttyS5 or serial@/dev/ttyS6 (just in case), etc...
It remains returning the same
"Couln't open serial port at /dev/ttyS5"
"Couln't open serial port at serial@/dev/ttyS5"
and so on.
Any ideas?
Thank u
El mié, 26-11-2008 a las 11:20 -0700, Michael Schippling escribió:
> try /dev/ttyS5 -- the tty port number is ComN-1
> but I can make no guarantees about SF working.
>
> The whole /dev thing on cygwin is a mysterious-kludge-like-system,
> there seem to be 16 (0-15) tty devices hidden in some library
> someplace. Listing the directory with ls shows nothing but listing
> individual devices works fine. Good luck if you have a COM port
> above 15, as my usb-serial driver insisted on doing recently.
>
> MS
>
> Angel Bartomeu Bonillo wrote:
> > Hello,
> >
> > For the project I'm working on I need to use the C-based version of
> > SerialForwarder. I have been looking for info on the Internet but It
> > looks like nobody has used this program on Windows.
> >
> > I run motelist and it says that I have connected a tmote sky (telosb) on
> > COM6. Then, I run:
> >
> > /opt/tinyos-1.x/tools/src/sf/sf.exe 9001 COM6 56700 telosb
> >
> > and it cannot find the serial port.
> >
> > I have tried to change COM6 into serial at COM6, serial@/dev/ttyS6,
> > serial@/dev/ttyUSB6, and many other ways and it keeps returning the same
> > message :
> >
> > Couldn't open serial port at COM6:56700 or
> > Couldn't open serial port at serial@/dev/ttyS6:56700
> > ...
> > and so on, depending on the second argument.
> >
> > Then I realized that in my cygwin, there are no devices under the
> > folder /dev but the stdout, stdin and one or two more. But nothing like
> > tty's.
> >
> > Then I wonder if C-based SerialForwarder is suitable for using it under
> > windows and, in that case, how should I run it or configure it.
> >
> > Thanks in advance
> >
> >
> >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > 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