Jiwen,

 

>   1.Have you tested the application of apps/tests/deluge/Blink on

> micaz or iris or telesb ? is it ok ?

Yes, I have tested it on the iris, and it works as it should. Make sure
you have the latest code from the CVS, install tinyos-tools (cd tools;
./Bootstrap; ./configure --prefix=/usr; make; make install), and then
run the "burn" script in apps/tests/deluge/Blink with the appropriate
parameters.

 

> i test it according to the way you tell me in last emial . it is as
before

> when i use the command tos-deluge /dev/ttyS0 micaz -r 1 , the red

> led flashes quickly and never stop .

What kind of programming board do you use? Are you certain that
/dev/ttyS0 is the _communications_ port? (On the mib520, the programming
port and the communications port are different.)

 

Are you sure that you compile the second blink with -DBLINK_REVERSE
added to CFLAGS? If not, then it will blink red...

 

How about the "burn" and "burn-net" scripts? They should work with the
latest CVS checkout on the iris.

 

>   2. what is the version of tinyos you are using ? tinyos-2.x cvs or

> git (http://hinrg.cs.jhu.edu/git/tinyos-2.x.git
<http://hinrg.cs.jhu.edu/git/tinyos-2.x.git> ) ? i have tested cvs 

> version (2008.04.28) , it has the problem as i say before. i also
tested

> git version . when i use ./configure in the directory of
/opt/tinyos-2.x/tools,

> it has some problems .

I tested both, and both work. What problems did you have with configure?
What --prefix parameter did you use? What is the output of "which
tos-deluge" on your system?

 

 

> 3.what are the tools you have installed in cygwin ?

> what is  the version of cygwin ? cygwin-1.2a.tgz ?

It's cygwin 1.5.25.  My python is version 2.5 (cygwin).

 

Janos

 

From: jiwen zhang [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 21, 2008 2:46 AM
To: Janos Sallai
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Tinyos-help] tests/deluge/Blink

 

Hello Janos Sallai  :

   

   thak you for your reply !!

   I want to ask some question : 

   1.Have you tested the application of apps/tests/deluge/Blink on micaz
or iris or telesb ? is it ok ?

i test it according to the way you tell me in last emial . it is as
before . when i use the command tos-deluge /dev/ttyS0 micaz -r 1 , the
red led flashes quickly and never stop .

   2. what is the version of tinyos you are using ? tinyos-2.x cvs or
git (http://hinrg.cs.jhu.edu/git/tinyos-2.x.git
<http://hinrg.cs.jhu.edu/git/tinyos-2.x.git> ) ?

i have tested cvs version (2008.04.28) , it has the problem as i say
before. 

i also tested git version . when i use ./configure in the directory of
/opt/tinyos-2.x/tools, it has some problems .

   3.what are the tools you have installed in cygwin ? what is  the
version of cygwin ? cygwin-1.2a.tgz ?

thank you very much!!

2008/5/20 Janos Sallai <[EMAIL PROTECTED]>:

Jiwen,

 

Here's the list of commands you need to enter to get
apps/tests/deluge/Blink work on the iris (I have a mib250 on com3 and
com4=/dev/ttyS3, I'm using cygwin):

 

Go to the directory

$ cd /opt/tinyos-2.x/apps/tests/deluge/Blink/

 

Compile and install the deluge-enabled blink (TINYOS_NP=bnp tells the
make system to intall the bootloader, CFLAGS=-DELUGE_BASESTATION tells
deluge to listen on the UART)

$ TINYOS_NP=bnp CFLAGS=-DELUGE_BASESTATION make iris install.0
mib520,COM3

 

Compile yellow-blinking blink that is going to be uploaded. The
-DBLINK_REVERSE macro is the one that makes it blink the yellow led, not
the red one.

$ CFLAGS=-DELUGE_BASESTATION\ -DBLINK_REVERSE make iris

 

Inject the new image with tos-deluge.

$ tos-deluge /dev/ttyS3 57600 -i 1 build/iris/tos_image.xml

 

Reboot the mote.

$ tos-deluge /dev/ttyS3 57600 -r 1

 

Janos

 

From: jiwen zhang [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 17, 2008 8:11 AM
To: Janos Sallai
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Tinyos-help] tests/deluge/Blink

 

Hell all :

    when i tried the /apps/tests/deluge/blink , it is all right except
that "after the sencond the second version of blink has been downloaded
to the volume 1", the red led blink ceaselessly. (the mote should reboot
with new blink existing in  volume 1 and then the yellow led blink
periodically )  i can ping the mote , there is no response , what is
reason ?

   

   later , i find that when i use the command "tos-deluge /dev/ttyS0
micaz -r 1" , the mote will blink the red led ceaselessly . i don't know
why . does any one has the same puzzle . 

2008/5/16 Janos Sallai <[EMAIL PROTECTED]>:

Reema,

 

Try to use tos-deluge directly. Apparently, the helper scripts  under
/apps/test/deluge haven't been updated yet. The baud rate of the iris is
the same as that of the micaz (57600bps).

 

Janos

 

From: Reema Mathew - Michael [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 16, 2008 5:48 AM
To: Janos Sallai
Cc: [email protected] 


Subject: RE: [Tinyos-help] tests/deluge/Blink

 

I am able to make iris

 

when i run ./burn /dev/ttyUSB0 iris

the following error is displayed "Wrong baudrate" at Uploading image
section

 

Reema



--- On Fri, 16/5/08, Janos Sallai <[EMAIL PROTECTED]> wrote:

        From: Janos Sallai <[EMAIL PROTECTED]>
        Subject: RE: [Tinyos-help] tests/deluge/Blink
        To: [EMAIL PROTECTED],
[email protected]
        Date: Friday, 16 May, 2008, 1:06 AM

        Reema,

         

        Please make sure that you have the latest sources from the CVS.
You need to update your entire tinyos-2.x tree, not only the iris
specific directories.

         

        I have verified that it does compile with the latest sources.

         

        Janos

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Reema
Mathew - Michael
        Sent: Thursday, May 15, 2008 4:22 AM
        To: [email protected]
        Subject: [Tinyos-help] tests/deluge/Blink

         

        Hi All,

         

        I am trying deluge for iris motes with tinyos2.0.2

        I am able to compile tosboot

        When I try to make iris for Blink in apps/tests/deluge/Blink

         

 

________________________________

Sent from Yahoo! Mail
<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c
om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html> . 
A Smarter Email. 


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
zhang jiwen 




-- 
zhang jiwen 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to