Can you post the actual errors you get?
If your T1 app/Makerules was missing you might have a bad install,
just copying from another devel platform may not be the best idea...
I also use a USB->serial adapter under Widows XP and my device
name is something like COM3 or 5 or whatever the adapter's driver
decides it wants to assign. Look for ports in the Device Manager
(hidden under CntlPanel-CompMgmt) and see if you see a number
assigned to your adapter. Newer versions of cygwin use the
/dev/ttySx syntax instead of the easy COM(x+1), so try both.
MS
Ali Mir wrote:
Hello friends,
I installed tinyos-1.x on my windows system using the installation
wizard provided by www.tinyos.net <http://www.tinyos.net>. The
installation went fine and the programs compiled fine. Later I upgraded
it to the latest CVS snapshot and did the CVS thing. But when I tried
installing the code onto the mica2 mote I ran into problems. I am using
the USB to serial MIB510 programming board. When I did "make mica2
install" it showed the very common flash error problem( Many people have
had this problem earlier). Then i tried "make mica2 install mib510,COM1"
( as according to Crossbow instructions) I got the error " no such file
or directory" and program error.
Then I tried make mica2 install mib510,/dev/ttyUSB0 and also make mica2
install mib510,/dev/ttyS0. Both resulted in the same kind of error i.e
no such file or directory.
In the /tinyos-1.x/apps directory there was no Makerules file present. I
copied one file from my linux system and then tried. It still showed the
same error. Then i checked the Makerules file and it had a line
MIB510=/dev/ttyS0. I changed it to MIB510=COM1 and then tried. It still
showed the same problem.I switched back to /dev/ttyS0 and also tried
/dev/ttyUSB0 but still had no success.
Then I checked the root directory in Cygwin and I found that there is no
/dev directory.This is the first time I am using windows for
tinyos-1.x. Earlier I worked with tinyos-1.x on a LINUX system. Now as I
have tinyos-2.x on it I wanted to work on windows using Cygwin. Why is
it that I dont have /dev directory on my Cygwin installation. I later
reinstalled Cygwin and this time I did a complete installation i.e I
installed everything in devel and base directories of Cygwin
installation directories( to make myself very sure). But still there was
no /dev directory. As I presume Cygwin to be an emulator of Linux it
must have a /dev directory. i tried looking for a similar problem in
mail archive but didnt find any. So can the Window programmers tell me a
thing abt this Cygwin and why I dont have /dev in it.
Later I was suggested by Tan Han Chiang to change to the July2005
snapshot of tinyos but still it shows the same error. Is it because I am
using the USB programmer or something else. As my laptop has no serial
port to it I must use the USB programmer only. So suggest me a way to
tackle this.
If there is no /dev directory how does cygwin detect devices?
I will be eagerly waiting for you replies.
Thanking You all
Ali
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help