I re-check out the tinyos-2.x tree to an EMPTY dircetory, here is the update
log:
....
U tinyos-2.x/tos/types/AM.h
U tinyos-2.x/tos/types/I2C.h
U tinyos-2.x/tos/types/Leds.h
U tinyos-2.x/tos/types/README
U tinyos-2.x/tos/types/Resource.h
U tinyos-2.x/tos/types/State.h
U tinyos-2.x/tos/types/Storage.h
U tinyos-2.x/tos/types/TinyError.h
U tinyos-2.x/tos/types/message.h
cvs checkout: shutting down buffer from server: Software caused connection
abort
Does this mean update is successful?
The Basestation demo now can be compiled successfully under this version.
However, programming the iris mote still fails:
[EMAIL PROTECTED] /opt/tinyos-2.x/apps/basestation
$ make iris reinstall mib520,/dev/ttyS13/
cp build/iris/main.srec build/iris/main.srec.out
installing iris binary using mib510
avrdude -cmib510 -P/dev/ttyS13/ -U hfuse:w:0xd9:m -pm1281 -U efuse:w:0xff:m
-Cd:
/cygwin/etc/avrdude/avrdude.conf -U flash:w:build/iris/main.srec.out:a
avrdude.exe: ser_open(): can't open device "/dev/ttyS13/": The system cannot
fin
d the path specified.
make: *** [program] Error 1
[EMAIL PROTECTED] /opt/tinyos-2.x/apps/basestation
What does this mean? Anyone can help me? Please!
On 7/10/08, hengly <[EMAIL PROTECTED]> wrote:
>
> Why check out to an EMPTY directory? The instruction says UPDATE while not
> REINSTALL the tinyos-2.x. So confused ...
>
> Finally, I paste a workable copy of tinyos-2.x tree from one of my mates to
> the /opt directory. And "make iris" can work ok now. However, when I program
> the iris mote using "make iris reinstall, mib520 /dev/ttyS13", it complains
> as follows:
>
> [EMAIL PROTECTED] /opt/tinyos-2.x/apps/basestation
> $ make iris reinstall mib520,/dev/ttyS13/
> cp build/iris/main.srec build/iris/main.srec.out
> installing iris binary using mib510
> avrdude -cmib510 -P/dev/ttyS13/ -U hfuse:w:0xd9:m -pm1281 -U efuse:w:0xff:m
> -Cd:
> /cygwin/etc/avrdude/avrdude.conf -U flash:w:build/iris/main.srec.out:a
> avrdude.exe: ser_open(): can't open device "/dev/ttyS13/": The system
> cannot fin
> d the path specified.
>
> make: *** [program] Error 1
>
> [EMAIL PROTECTED] /opt/tinyos-2.x/apps/basestation
>
> The mib520 and iris mote display as COM14 and COM15 on my Windows Device
> Manager. I also try "make iris reinstall, mib520 com14", still fails.
>
> Are there anything wrong with my installation and operation? Please do me a
> favor. Many thanks.
>
> Best regards to all.
>
> On 7/9/08, Miklos Maroti <[EMAIL PROTECTED]> wrote:
>>
>> 2008/7/9 hengly <[EMAIL PROTECTED]>:
>> > Dear Miklos and all,
>> >
>> > Thanks for your reply!
>> >
>> > I do update the latest version of tinyos-2.x following the instructions
>> of
>> > Vanderbilt. Here is the log:
>> >
>> > [EMAIL PROTECTED] /opt
>> > $ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos
>> co
>> > -P tinyos-2.x
>> >
>> > .....
>> > C tinyos-2.x/tos/types/TinyError.h
>> > cvs checkout: move away tinyos-2.x/tos/types/message.h; it is in the way
>> > C tinyos-2.x/tos/types/message.h
>> >
>> > [EMAIL PROTECTED] /opt
>> >
>> > No error returns and no failure notification. Does this means update is
>> > successful?
>>
>> No, it means that it was not succesful. You need to check out the
>> tineos-2.x tree from the CVS into an EMPTY directory. Alternatively,
>> wait a couple of weeks when tinzos-2.1 will come out.
>>
>> Best,
>> Miklos
>>
>
>
>
> --
> 刘玉恒
> hengly
--
刘玉恒
hengly
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help