Hi All,
I am using TinyOS-2.1.0-1 on telosB motes(msp340). I am facing problem in
over the air programming using Deluge.
I am using the commands given in the Deluge T2 - programming manual.

The steps that I follows are,
/tos/lib/tosboot/
         make telosb
/apps/tests/deluge/GoldenImage/
          make install,0 telosb          -- for programming base station and
I make sure that in the Makefile
                                                       CFLAGS +=
-DDELUGE_BASESTATION  is included...
then I program another mote with ID 3 using the same procedure but in the
Makefile
                                                       CFLAGS +=
-DDELUGE_LIGHT_BASESTATION   is included.

then I program the base station  with the  Blink  code  using the  below
command:
/apps/tests/deluge/Blink/

tos-deluge /dev/ttyUSB0 telosb -i 1 /build/telosb/tos_image.xml
after this I will disseminate the image to the remote mote using the below
commands

tos-deluge /dev/ttyUSB0 telosb -d 1
tos-deluge /dev/ttyUSB0 telosb -dr 1

Right after giving the IDs to the motes (loading the base station and the
remote mote with GoldenImage), the above  commands works. If I ping and see
the motes, both will have the proper image.
Now the problem is here...
Suppose if a program is running on the remote mote and the base station,
and if I  want  to  reprogram  the  motes,  I  will  follow the below
procedure:

tos-deluge /dev/ttyUSB0 telosb -i 1 /build/telosb/tos_image.xml
this will program the base station with the new image.
and if I am disseminating the image there is a problem.
It seems the base station is sending the dissemination command because the
green led is blinking and also i am getting a "command  sent " message on
the window.
but the remote mote is not getting the new image.
 Do I  have to  unlock the  image which is  running  on the  mote??
  If I give the below command the remote mote is not getting unlocked..
/tos-deluge /dev/ttyUSB0 telosb -ls 1
How can I inject a new image to motes?

Can anybody help me out in solving the issue??

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

Reply via email to