Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-06 Thread Razvan Musaloiu-E.
Hi!

On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:

> Hi Razvan,
>
> I did all the five steps that i mentioned previously with your comment on
> '-'  for the first two steps as follows;
>
> 1-) CFLAGS=-DDELUGE_BASESTATION make micaz install,0 mib520,/dev/ttyUSB0
> 2-) CFLAGS=-DDELUGE_LIGHT_BASESTATION make telosb install bsl,/dev/ttyUSB2
>
> Then i *succeeded* to disseminate Blink and now, TelosB blinks :)
> Thus, cross-platform issue is ok for MICAz and TelosB motes!
>

Great! :-)

> However, after i run the last command
> "/usr/bin/tos-deluge /dev/ttyUSB1 micaz -dr 1"
>
> it took about *45* *seconds *to reboot TelosB itself. Does it normal?

That sounds about right.

--
Razvan ME

> Thanks in advance,
>
> Mehmet Akif Antepli
> Graduate Student
> Dept. of Electrical-Electronics Eng.
> METU
>
>
> On Fri, Feb 6, 2009 at 8:37 PM, Razvan Musaloiu-E. 
> wrote:
>> Hi!
>>
>> On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:
>>
>>> Hi Razvan,
>>>
 Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' 
 and
 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
 original message. :-)
>>>
>>> While writing the e-mail, actually I couldn't remember whether i used
>>> '-' or not :-).  But, i did not get any errors, that's for sure!
>>>
>>> Anyhow, i don't remember the '-' thing for now, but this evening i
>>> have  a chance to go to lab and test it.
>>>
>>> Thanks for your reply Razvan,
>>>
>>> By the way, is there a mistake in the tos-deluge python script under
>>> tinyos-2.x/tools/tinyos/misc?
>>>
>>> Actually, I use TinyOS-2.1.0 in XubunTOS-2.1.0 but, I also downloaded
>>> tinyos-2.x form CVS
>>> to use python scripts related to tinyos-2.x/tools (altough they are
>>> installled in Tinyos-2.1.0 under usr/bin). In the Deluge T2 document
>>> (http://docs.tinyos.net/index.php/Deluge_T2) it says that;
>>>
>>> Tools Installation
>>> Deluge T2 requires a few Python scripts that not yet included in the
>>> official tinyos-tools RPM package. On the CVS, the scripts are located
>>> in tinyos-2.x/tools/tinyos/misc. The steps to install them are the
>>> following:
>>>
>>> % cd $TOSROOT/tools
>>> % ./Bootstrap
>>>...
>>> % ./configure
>>>...
>>> % cd tinyos/misc
>>> % make ; make install
>>>...
>>>
>>> For TinyOS-2.1.0, tos-deluge python script is in usr/bin
>>>
>>> After i do those steps above, i have a second tos-deluge python script
>>> but this time under usr/local/bin.Then, i do the 5 steps that i wrote
>>> previously to implement application image dissemination, (but this
>>> time by calling /usr/local/bin/tos-deluge).
>>
>> If you don't give the '--prefix=...' to the ./configure script then the
>> default install path is /urs/local. The text from the wiki manual says this:
>>By default, the files will be installed in /usr/local/bin. If
>>desired, the --prefix parameter from configure can be used to
>>indicate a different path.
>>
>>> However, i got an error related to tos.AM(), about missing parameters
>>> where in the code below (code in the /usr/local/bin/tos-deluge), there
>>> is not any argument for tos.AM();
>>>
>>> 398 #  MAIN  #
>>> 399 if len(sys.argv) >= 3:
>>> 400
>>> 401 am = tos.AM()
>>>
>>>
>>> what do you think about that? Have you ever been faced with that kind
>>> of an error, or i messed up everything relating to tinyos-tools?
>>
>> The place of tos.py, the Python library used by the tos-deluge, changed from
>> 2.1 and now is in $TOSDIR/support/sdk/python. In you case the tos-deluge
>> might pick-up by mistake the old one from 2.1
>>
>> --
>> Razvan ME
>>
>>> Note that: The first error event that i have been faced with, has
>>> nothing to do with that new error event becasue when i failed in the
>>> former, i tried the latter hoping to run dissemination!
>>>
>>> Thanks in advance,
>>>
>>> Mehmet Akif Antepli
>>> Graduate Student
>>> Dept. of Electrical-Electronics Eng.
>>> METU
>>>
>>>
>>> On Fri, Feb 6, 2009 at 10:57 AM, Razvan Musaloiu-E.  
>>> wrote:

 Hi!

 Sorry for delay, I just noticed this thread.

 On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:

> Hi Bai,
>
> Thanks for your reply.
>
> I flaged TelosB with Light_Base_Station since i want to ping TelosB,
> also. Therefore, i included this "CFLAGS+=DDELUGE_LIGHT_BASESTATION"
> in the 2nd step.

 It's not a mistake to use -DDELUGE_LIGHT_BASESTATION without any errors. I
 never test the cross-platform operation of Deluge T2 but I'll do it
 tomorrow.

 Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' 
 and
 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
 original message. :-)

 --
 Razvan ME

> Anyhow, i will do the 2nd step without
> "CFLAGS+=DDELUGE_LIGHT_BASESTATION" again and see whether it works or
> not.
>
>
> Mehmet Akif Antepli
> Graduate Student
> Dept. o

Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-06 Thread Mehmet Akif Antepli
Hi Razvan,

I did all the five steps that i mentioned previously with your comment on
 '-'  for the first two steps as follows;

1-) CFLAGS=-DDELUGE_BASESTATION make micaz install,0 mib520,/dev/ttyUSB0
2-) CFLAGS=-DDELUGE_LIGHT_BASESTATION make telosb install bsl,/dev/ttyUSB2

Then i *succeeded* to disseminate Blink and now, TelosB blinks :)
Thus, cross-platform issue is ok for MICAz and TelosB motes!


However, after i run the last command
"/usr/bin/tos-deluge /dev/ttyUSB1 micaz -dr 1"

it took about *45* *seconds *to reboot TelosB itself. Does it normal?

Thanks in advance,

Mehmet Akif Antepli
Graduate Student
Dept. of Electrical-Electronics Eng.
METU


On Fri, Feb 6, 2009 at 8:37 PM, Razvan Musaloiu-E. 
wrote:
> Hi!
>
> On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:
>
>> Hi Razvan,
>>
>>> Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION'
>>> and
>>> 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
>>> original message. :-)
>>
>> While writing the e-mail, actually I couldn't remember whether i used
>> '-' or not :-).  But, i did not get any errors, that's for sure!
>>
>> Anyhow, i don't remember the '-' thing for now, but this evening i
>> have  a chance to go to lab and test it.
>>
>> Thanks for your reply Razvan,
>>
>> By the way, is there a mistake in the tos-deluge python script under
>> tinyos-2.x/tools/tinyos/misc?
>>
>> Actually, I use TinyOS-2.1.0 in XubunTOS-2.1.0 but, I also downloaded
>> tinyos-2.x form CVS
>> to use python scripts related to tinyos-2.x/tools (altough they are
>> installled in Tinyos-2.1.0 under usr/bin). In the Deluge T2 document
>> (http://docs.tinyos.net/index.php/Deluge_T2) it says that;
>>
>> Tools Installation
>> Deluge T2 requires a few Python scripts that not yet included in the
>> official tinyos-tools RPM package. On the CVS, the scripts are located
>> in tinyos-2.x/tools/tinyos/misc. The steps to install them are the
>> following:
>>
>> % cd $TOSROOT/tools
>> % ./Bootstrap
>>...
>> % ./configure
>>...
>> % cd tinyos/misc
>> % make ; make install
>>...
>>
>> For TinyOS-2.1.0, tos-deluge python script is in usr/bin
>>
>> After i do those steps above, i have a second tos-deluge python script
>> but this time under usr/local/bin.Then, i do the 5 steps that i wrote
>> previously to implement application image dissemination, (but this
>> time by calling /usr/local/bin/tos-deluge).
>
> If you don't give the '--prefix=...' to the ./configure script then the
> default install path is /urs/local. The text from the wiki manual says
this:
>By default, the files will be installed in /usr/local/bin. If
>desired, the --prefix parameter from configure can be used to
>indicate a different path.
>
>> However, i got an error related to tos.AM(), about missing parameters
>> where in the code below (code in the /usr/local/bin/tos-deluge), there
>> is not any argument for tos.AM();
>>
>> 398 #  MAIN  #
>> 399 if len(sys.argv) >= 3:
>> 400
>> 401 am = tos.AM()
>>
>>
>> what do you think about that? Have you ever been faced with that kind
>> of an error, or i messed up everything relating to tinyos-tools?
>
> The place of tos.py, the Python library used by the tos-deluge, changed
from
> 2.1 and now is in $TOSDIR/support/sdk/python. In you case the tos-deluge
> might pick-up by mistake the old one from 2.1
>
> --
> Razvan ME
>
>> Note that: The first error event that i have been faced with, has
>> nothing to do with that new error event becasue when i failed in the
>> former, i tried the latter hoping to run dissemination!
>>
>> Thanks in advance,
>>
>> Mehmet Akif Antepli
>> Graduate Student
>> Dept. of Electrical-Electronics Eng.
>> METU
>>
>>
>> On Fri, Feb 6, 2009 at 10:57 AM, Razvan Musaloiu-E. 
>> wrote:
>>>
>>> Hi!
>>>
>>> Sorry for delay, I just noticed this thread.
>>>
>>> On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:
>>>
 Hi Bai,

 Thanks for your reply.

 I flaged TelosB with Light_Base_Station since i want to ping TelosB,
 also. Therefore, i included this "CFLAGS+=DDELUGE_LIGHT_BASESTATION"
 in the 2nd step.
>>>
>>> It's not a mistake to use -DDELUGE_LIGHT_BASESTATION without any errors.
>>> I
>>> never test the cross-platform operation of Deluge T2 but I'll do it
>>> tomorrow.
>>>
>>> Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION'
>>> and
>>> 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
>>> original message. :-)
>>>
>>> --
>>> Razvan ME
>>>
 Anyhow, i will do the 2nd step without
 "CFLAGS+=DDELUGE_LIGHT_BASESTATION" again and see whether it works or
 not.


 Mehmet Akif Antepli
 Graduate Student
 Dept. of Electrical-Electronics Eng.
 METU



 On Fri, Feb 6, 2009 at 2:15 AM, BAI LI  wrote:
>
> Hi,
>
> I think your second step was not correct. You should not flag the
> telosb
> with base station since your micaz was working as 

Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-06 Thread Razvan Musaloiu-E.
Hi!

On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:

> Hi Razvan,
>
>> Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' and
>> 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
>> original message. :-)
>
> While writing the e-mail, actually I couldn't remember whether i used
> '-' or not :-).  But, i did not get any errors, that's for sure!
>
> Anyhow, i don't remember the '-' thing for now, but this evening i
> have  a chance to go to lab and test it.
>
> Thanks for your reply Razvan,
>
> By the way, is there a mistake in the tos-deluge python script under
> tinyos-2.x/tools/tinyos/misc?
>
> Actually, I use TinyOS-2.1.0 in XubunTOS-2.1.0 but, I also downloaded
> tinyos-2.x form CVS
> to use python scripts related to tinyos-2.x/tools (altough they are
> installled in Tinyos-2.1.0 under usr/bin). In the Deluge T2 document
> (http://docs.tinyos.net/index.php/Deluge_T2) it says that;
>
> Tools Installation
> Deluge T2 requires a few Python scripts that not yet included in the
> official tinyos-tools RPM package. On the CVS, the scripts are located
> in tinyos-2.x/tools/tinyos/misc. The steps to install them are the
> following:
>
> % cd $TOSROOT/tools
> % ./Bootstrap
> ...
> % ./configure
> ...
> % cd tinyos/misc
> % make ; make install
> ...
>
> For TinyOS-2.1.0, tos-deluge python script is in usr/bin
>
> After i do those steps above, i have a second tos-deluge python script
> but this time under usr/local/bin.Then, i do the 5 steps that i wrote
> previously to implement application image dissemination, (but this
> time by calling /usr/local/bin/tos-deluge).

If you don't give the '--prefix=...' to the ./configure script then the 
default install path is /urs/local. The text from the wiki manual says 
this:
By default, the files will be installed in /usr/local/bin. If
desired, the --prefix parameter from configure can be used to
indicate a different path.

> However, i got an error related to tos.AM(), about missing parameters
> where in the code below (code in the /usr/local/bin/tos-deluge), there
> is not any argument for tos.AM();
>
> 398 #  MAIN  #
> 399 if len(sys.argv) >= 3:
> 400
> 401 am = tos.AM()
>
>
> what do you think about that? Have you ever been faced with that kind
> of an error, or i messed up everything relating to tinyos-tools?

The place of tos.py, the Python library used by the tos-deluge, changed 
from 2.1 and now is in $TOSDIR/support/sdk/python. In you case the 
tos-deluge might pick-up by mistake the old one from 2.1

--
Razvan ME

> Note that: The first error event that i have been faced with, has
> nothing to do with that new error event becasue when i failed in the
> former, i tried the latter hoping to run dissemination!
>
> Thanks in advance,
>
> Mehmet Akif Antepli
> Graduate Student
> Dept. of Electrical-Electronics Eng.
> METU
>
>
> On Fri, Feb 6, 2009 at 10:57 AM, Razvan Musaloiu-E.  
> wrote:
>> Hi!
>>
>> Sorry for delay, I just noticed this thread.
>>
>> On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:
>>
>>> Hi Bai,
>>>
>>> Thanks for your reply.
>>>
>>> I flaged TelosB with Light_Base_Station since i want to ping TelosB,
>>> also. Therefore, i included this "CFLAGS+=DDELUGE_LIGHT_BASESTATION"
>>> in the 2nd step.
>>
>> It's not a mistake to use -DDELUGE_LIGHT_BASESTATION without any errors. I
>> never test the cross-platform operation of Deluge T2 but I'll do it
>> tomorrow.
>>
>> Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' and
>> 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
>> original message. :-)
>>
>> --
>> Razvan ME
>>
>>> Anyhow, i will do the 2nd step without
>>> "CFLAGS+=DDELUGE_LIGHT_BASESTATION" again and see whether it works or
>>> not.
>>>
>>>
>>> Mehmet Akif Antepli
>>> Graduate Student
>>> Dept. of Electrical-Electronics Eng.
>>> METU
>>>
>>>
>>>
>>> On Fri, Feb 6, 2009 at 2:15 AM, BAI LI  wrote:

 Hi,

 I think your second step was not correct. You should not flag the telosb
 with base station since your micaz was working as base station now. you
 can
 normally install Goldimage on telosb with an id.

 Regards,
 Bai
>>>
>>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-06 Thread Mehmet Akif Antepli
Hi Razvan,

> Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' and
> 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
> original message. :-)

While writing the e-mail, actually I couldn't remember whether i used
'-' or not :-).  But, i did not get any errors, that's for sure!

Anyhow, i don't remember the '-' thing for now, but this evening i
have  a chance to go to lab and test it.

Thanks for your reply Razvan,

By the way, is there a mistake in the tos-deluge python script under
tinyos-2.x/tools/tinyos/misc?

Actually, I use TinyOS-2.1.0 in XubunTOS-2.1.0 but, I also downloaded
tinyos-2.x form CVS
to use python scripts related to tinyos-2.x/tools (altough they are
installled in Tinyos-2.1.0 under usr/bin). In the Deluge T2 document
(http://docs.tinyos.net/index.php/Deluge_T2) it says that;

Tools Installation
Deluge T2 requires a few Python scripts that not yet included in the
official tinyos-tools RPM package. On the CVS, the scripts are located
in tinyos-2.x/tools/tinyos/misc. The steps to install them are the
following:

 % cd $TOSROOT/tools
 % ./Bootstrap
 ...
 % ./configure
 ...
 % cd tinyos/misc
 % make ; make install
 ...

For TinyOS-2.1.0, tos-deluge python script is in usr/bin

After i do those steps above, i have a second tos-deluge python script
but this time under usr/local/bin.Then, i do the 5 steps that i wrote
previously to implement application image dissemination, (but this
time by calling /usr/local/bin/tos-deluge).

However, i got an error related to tos.AM(), about missing parameters
where in the code below (code in the /usr/local/bin/tos-deluge), there
is not any argument for tos.AM();

398 #  MAIN  #
399 if len(sys.argv) >= 3:
400
401 am = tos.AM()


what do you think about that? Have you ever been faced with that kind
of an error, or i messed up everything relating to tinyos-tools?

Note that: The first error event that i have been faced with, has
nothing to do with that new error event becasue when i failed in the
former, i tried the latter hoping to run dissemination!

Thanks in advance,

Mehmet Akif Antepli
Graduate Student
Dept. of Electrical-Electronics Eng.
METU


On Fri, Feb 6, 2009 at 10:57 AM, Razvan Musaloiu-E.  wrote:
> Hi!
>
> Sorry for delay, I just noticed this thread.
>
> On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:
>
>> Hi Bai,
>>
>> Thanks for your reply.
>>
>> I flaged TelosB with Light_Base_Station since i want to ping TelosB,
>> also. Therefore, i included this "CFLAGS+=DDELUGE_LIGHT_BASESTATION"
>> in the 2nd step.
>
> It's not a mistake to use -DDELUGE_LIGHT_BASESTATION without any errors. I
> never test the cross-platform operation of Deluge T2 but I'll do it
> tomorrow.
>
> Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' and
> 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your
> original message. :-)
>
> --
> Razvan ME
>
>> Anyhow, i will do the 2nd step without
>> "CFLAGS+=DDELUGE_LIGHT_BASESTATION" again and see whether it works or
>> not.
>>
>>
>> Mehmet Akif Antepli
>> Graduate Student
>> Dept. of Electrical-Electronics Eng.
>> METU
>>
>>
>>
>> On Fri, Feb 6, 2009 at 2:15 AM, BAI LI  wrote:
>>>
>>> Hi,
>>>
>>> I think your second step was not correct. You should not flag the telosb
>>> with base station since your micaz was working as base station now. you
>>> can
>>> normally install Goldimage on telosb with an id.
>>>
>>> Regards,
>>> Bai
>>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-06 Thread Razvan Musaloiu-E.
Hi!

Sorry for delay, I just noticed this thread.

On Fri, 6 Feb 2009, Mehmet Akif Antepli wrote:

> Hi Bai,
>
> Thanks for your reply.
>
> I flaged TelosB with Light_Base_Station since i want to ping TelosB,
> also. Therefore, i included this "CFLAGS+=DDELUGE_LIGHT_BASESTATION"
> in the 2nd step.

It's not a mistake to use -DDELUGE_LIGHT_BASESTATION without any errors. 
I never test the cross-platform operation of Deluge T2 but I'll do it 
tomorrow.

Btw: make sure you don't forget the '-' in 'CFLAGS=-DDELUGE_BASESTATION' 
and 'CFLAGS+=-DDELUGE_LIGHT_BASESTATION'. I presume it was a typo in your 
original message. :-)

--
Razvan ME

> Anyhow, i will do the 2nd step without
> "CFLAGS+=DDELUGE_LIGHT_BASESTATION" again and see whether it works or
> not.
>
>
> Mehmet Akif Antepli
> Graduate Student
> Dept. of Electrical-Electronics Eng.
> METU
>
>
>
> On Fri, Feb 6, 2009 at 2:15 AM, BAI LI  wrote:
>> Hi,
>>
>> I think your second step was not correct. You should not flag the telosb
>> with base station since your micaz was working as base station now. you can
>> normally install Goldimage on telosb with an id.
>>
>> Regards,
>> Bai
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-05 Thread Mehmet Akif Antepli
Hi Bai,

Thanks for your reply.

I flaged TelosB with Light_Base_Station since i want to ping TelosB,
also. Therefore, i included this "CFLAGS+=DDELUGE_LIGHT_BASESTATION"
in the 2nd step.

Anyhow, i will do the 2nd step without
"CFLAGS+=DDELUGE_LIGHT_BASESTATION" again and see whether it works or
not.


Mehmet Akif Antepli
Graduate Student
Dept. of Electrical-Electronics Eng.
METU



On Fri, Feb 6, 2009 at 2:15 AM, BAI LI  wrote:
> Hi,
>
> I think your second step was not correct. You should not flag the telosb
> with base station since your micaz was working as base station now. you can
> normally install Goldimage on telosb with an id.
>
> Regards,
> Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-05 Thread BAI LI
Hi,

I think your second step was not correct. You should not flag the telosb
with base station since your micaz was working as base station now. you can
normally install Goldimage on telosb with an id.

Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge T2 dissemination problem on XubunTOS-2.1.0

2009-02-05 Thread Mehmet Akif Antepli
Hi,

Could anybody help me with the following? I got stuck with the
dissemination problem below!


I am working on XubunTOS-2.1 and using two motes; one is a MICAz and
the other is a TelosB mote.

I am using MICAz as base-station and trying to program TelosB using
Deluge T2 with the following steps:

1-) In order to load GoldenImage into MICAz, I use the following
command on the console opened in the GoldenImage directory;

"CFLAGS+=DDELUGE_BASESTATION make micaz install,0 mib520,/dev/ttyUSB0"

2-)  Then I load GoldenImage into TelosB, also. I use the following
command on the console opened in the GoldenImage directory;

"CFLAGS+=DDELUGE_LIGHT_BASESTATION make telosb install,1 bsl,/dev/ttyUSB2"

3-) After loading GoldenImage to both motes, I build
"/opt/tinyos-2.1.0/apps/tests/deluge/Blink" application for Telosb
whom I will insert into MICAz's flash and try to disseminate it
so that I hope I would reboot TelosB with that Blink image. I use the
following command on the console opened in the Blink directory;

"make telosb"

3-) Then, I load Blink application image (build for TelosB) as 1st
image into MICAz's flash with the following command;

"tos-deluge /dev/ttyUSB1 micaz -i 1
/opt/tinyos-2.1.0/apps/tests/deluge/Blink/build/telosb/tos_image.xml"

4-) Then I ping MICAz base-station with the following command;

"tos-deluge /dev/ttyUSB1 micaz -p 1"

and i see that MICAz is loaded with  GoldenImage and Blink application
image is on its flash as the 1st image.

Also pinging TelosB with "tos-deluge /dev/ttyUSB2 telosb -p 0" command
shows that GoldenImage is loaded.

Therefore, upto now, all the steps work. However, the problem is in
the last step!

5-) Finally, I try to disseminate Blink image and reboot telosB. I run
the following two commands;

"tos-deluge /dev/ttyUSB1 micaz -d 1"
"tos-deluge /dev/ttyUSB1 micaz -dr 1"

For both command, it got the following message,

"Command is sent"

Then, I assume that dissemination is finished and TelosB would reboot
itself. However, nothing happens on TelosB (It does not blink!)

Then, I ping TelosB and see nothing more than GoldenImage! Disseminate
does not work. Blink application image did not loaded to TelosB

I couldn't figure out the wrong thing here.

 Any suggestions?

Thanks in advence,

Mehmet Akif Antepli
Graduate Student
Dept. of Electrical-Electronics Eng.
METU
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 Dissemination

2008-02-15 Thread Bernardo Maciel
Sorry for the dumb question, I just noticed that volumes 2 and 3 are  
defined :s


Bernardo

On Feb 15, 2008, at 2:25 PM, Bernardo Maciel wrote:


I see... regoogling I found this: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026472.html

Is it now possible to add new volumes? Or are there any plans to  
make this feature available?



Bernardo

On Feb 15, 2008, at 5:49 AM, Chieh-Jan (Mike) Liang wrote:

I think that slot 0 is for golden image, and its code can't be  
disseminated over the air.


Mike

On Feb 14, 2008, at 9:39 AM, Bernardo Maciel wrote:


If I do it in slot 1, everything works perfectly. But with slot 0, I
can only reprogram the base station and not disseminate!

Am I doing anything wrong or is this a problem with Deluge T2? Any  
suggestions?


Thanks in advance

--
Bernardo Maciel
[EMAIL PROTECTED]
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help







Bernardo Maciel
[EMAIL PROTECTED]



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 Dissemination

2008-02-15 Thread Bernardo Maciel

I see... regoogling I found this: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026472.html

Is it now possible to add new volumes? Or are there any plans to make  
this feature available?



Bernardo

On Feb 15, 2008, at 5:49 AM, Chieh-Jan (Mike) Liang wrote:

I think that slot 0 is for golden image, and its code can't be  
disseminated over the air.


Mike

On Feb 14, 2008, at 9:39 AM, Bernardo Maciel wrote:


If I do it in slot 1, everything works perfectly. But with slot 0, I
can only reprogram the base station and not disseminate!

Am I doing anything wrong or is this a problem with Deluge T2? Any  
suggestions?


Thanks in advance

--
Bernardo Maciel
[EMAIL PROTECTED]
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Deluge T2 Dissemination

2008-02-14 Thread Chieh-Jan (Mike) Liang
I think that slot 0 is for golden image, and its code can't be  
disseminated over the air.


Mike

On Feb 14, 2008, at 9:39 AM, Bernardo Maciel wrote:


If I do it in slot 1, everything works perfectly. But with slot 0, I
can only reprogram the base station and not disseminate!

Am I doing anything wrong or is this a problem with Deluge T2? Any  
suggestions?


Thanks in advance

--
Bernardo Maciel
[EMAIL PROTECTED]
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Deluge T2 Dissemination

2008-02-14 Thread Bernardo Maciel
Hello,

I'm working with Deluge T2 to use in a Tmote Sky testbed. So far I
have looked into various documents and material, including the mailing
list
(eg 
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-December/030076.html
), but I keep having one issue.

I have updated my system (XubunTOS) to the latest version (including
Ubuntu 7.10). I have also updated TinyOS-2.x from CVS and recompiled
the tools.

I used burn-net script to program a couple of motes. This works fine;
but then, I injected an image to slot 0 with success and sent a
disseminate-and-reprogram command, which doesn't seem to work! The
green led of page received doesn't lit and nothing seems to be going
on.
If I do it in slot 1, everything works perfectly. But with slot 0, I
can only reprogram the base station and not disseminate!

Am I doing anything wrong or is this a problem with Deluge T2? Any suggestions?

Thanks in advance

-- 
Bernardo Maciel
[EMAIL PROTECTED]
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help