[Tinyos-help] "motelist" returns nothing for iris motes intinyos-2.0.2

hengly hengly at cse.buaa.edu.cn
Thu Jul 10 03:56:10 PDT 2008


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:

hengly at hengly_bb /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

hengly at hengly_bb /opt/tinyos-2.x/apps/basestation

What does this mean? Anyone can help me? Please!

On 7/10/08, hengly <hengly at cse.buaa.edu.cn> 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:
>
> hengly at hengly_bb /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
>
> hengly at hengly_bb /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 <mmaroti at math.u-szeged.hu> wrote:
>>
>> 2008/7/9 hengly <hengly at cse.buaa.edu.cn>:
>> > 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:
>> >
>> > hengly at hengly_bb /opt
>> > $ cvs -z3 -d:pserver:anonymous at tinyos.cvs.sourceforge.net:/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
>> >
>> > hengly at hengly_bb /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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080710/01a3ff90/attachment.htm 


More information about the Tinyos-help mailing list