Hi Everyone,
I tried using /ttys4 for my (COM5):
$ MIB510='/dev/ttys4' make mica2 install.0 mib510
and this is the error:
Programmer is not responding.
make[1]: *** [reinstall.0] Error 2
make[1]: Leaving directory `/cygdrive/c/tinyos/cygwin/opt/tinyos-
1.x/apps/TOSBa
e'
make: *** [install.0] Error 2
I tried it on (COM7):
$ MIB510='/dev/ttys6' make mica2 install.0 mib510
and this is the error:
Programmer is not responding.
make[1]: *** [ reinstall.0] Error 2
make[1]: Leaving directory
`/cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBas
e'
Best regards,
U-Wei
On 9/27/07, * Murray, Ben* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I believe that this was stated before, but...
ttyS0 = COM1
ttyS1 = COM2
ttyS2 = COM3
etc
so your COM5 might well be ttyS4, ...but it's NOT ttyS5! You did try
ttyS4 as well right?
e.g.
------putting:------
$ MIB510='COM0' make micaz install.0 mib510
------results in:------
Please use /dev/ttyS/ rather than COM0 (the latter often doesn't work)
Error: No such file or directory
-> /dev/ttyS/
make: *** [program] Error 1
------whilst putting:------
$ MIB510='COM1' make micaz install.0 mib510
------results in:------
Please use /dev/ttyS0 rather than COM1 (the latter often doesn't work)
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Uploading: flash
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
rm -f build/micaz/main.exe.out-0 build/micaz/main.srec.out-0
try
MIB510='/dev/ttys4' make mica2 install.0 mib510
-----Original Message-----
*From:* [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
[mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>]*On Behalf
Of *Khew U-Wei
*Sent:* 27 September 2007 15:17
*To:* [email protected]
<mailto:[email protected]>
*Subject:* Re: [Tinyos-help] Using a USB port to connect to a
MIB510 Programming Board
Hi Everyone,
i checked the "device manager" and click the "Universal Serial
Bus controllers" there is a new entry when i connect my USB
adapter, "FTDIFT8U2XX Device". When I clicked on the properties,
its location states "Location 0 (USB <-> Serial)"
However I tried this command again:
MIB510='/dev/ttyusb0' make mica2 install.0 mib510
This is the msg:
Error: No such file or directory
-> /dev/ttyUSB0
make[1]: *** [reinstall.0 ] Error 1
make[1]: Leaving directory
`/cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBas
e'
make: *** [install.0] Error 2
So I checked the "Ports (COM & LPT)" and the USB Serial Port
(COM5) is active. So i entered this command:
MIB510='/dev/ttys5' make mica2 install.0 mib510
This is the error msg:
Error: No such file or directory
-> /dev/ttys5
make[1]: *** [reinstall.0] Error 1
make[1]: Leaving directory
`/cygdrive/c/tinyos/cygwin/opt/tinyos- 1.x/apps/TOSBas
e'
make: *** [install.0] Error 2
I changed to another USB port and checked the "Device Manager".
The USB Serial Port (COM7) is active to I entered:
MIB510='/dev/ttys7' make mica2 install.0 mib510
This is the error msg:
Error: No such file or directory
-> /dev/ttys7
make[1]: *** [reinstall.0] Error 1
make[1]: Leaving directory
`/cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBas
e'
make: *** [install.0] Error 2
May I know where did I go wrong?
Best regards,
U-Wei
On 9/27/07, *Michael Schippling* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
The COMx syntax is, unfortunately, only useful with older cygwin
versions that 'came with' TOS pre 1.1.10(or 11?). In some uses
with some newer versions "they" started using the nNIX /dev
syntax.
I am purposely vague about the "somes" because I don't
remember if
download and message comm are fellow travelers, or if COM
still works
for one, and there is no way to squeeze a "version number"
from cygwin
(...actually there is: "cygcheck -s" will cough up a dll
version, but
everyone seems to deny it's applicability...).
Anyway the bottom line is: try every possible combination of
chars...
MS
Urs Hunkeler wrote:
> 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]
<mailto:[email protected]>
> >
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
<mailto:[email protected]>
>
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
"Your future depends on your dreams"
So go to sleep
The more you learn, the more you know,
The more you know, the more you forget
The more you forget, the less you know
So.. why learn.
*******************************************************************************
Please consider the environment before printing this email.
*******************************************************************************
This email and any files transmitted with it are intended solely for
the use of
the individual or entity to whom they are addressed and may not be
divulged to
any third party without the express permission of the originator.
Any views
expressed in this message are those of the individual sender, except
where the
sender specifically states them to be the views of Thales Research &
Technology
(UK) Limited.
*******************************************************************************
--
"Your future depends on your dreams"
So go to sleep
The more you learn, the more you know,
The more you know, the more you forget
The more you forget, the less you know
So.. why learn.
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help