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
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
