Hi!

On Thu, 10 Dec 2009, deeksha g rao sahib wrote:

> Hi,
>
> I am not able to switch between the 2 images in the flash using the
> commands dr1,r1,dr2,r2. they seem to work only the first time reboot
> commands are used when they have Goldenimage in the current working
> directory.
>
> in the sample blink program, once the base station and remote motes start
> blinking, i want to switch to my application program which is in image
> 2.Now the dr1 command is being sent but the remote motes would not reboot.
>
> I have taken care of the CFlags for Base station and remote motes while
> injecting and disseminating the images after giving node ids using
> goldenimage.
>
> can somebody please help me with this???
>

Can you please indicate the platform you are using, what version of tinyos 
are you using and what are the exact steps you are doing?

Switching the images should work properly. For example the following test 
should work:

- install deluge/Basestation on mote BS
- compile deluge/GoldenImage and inject in volume 1 on BS
- compile deluge/Blink and inject in volume 2 on BS
- install deluge/GoldenImage on mote M
- disseminate+reboot (-dr) image 2: M should get and start running
   deluge/Blink.
- disseminate+reboot (-dr) image 1: M should get and start running
   deluge/GoldenImage.

After these steps M has volume 1 and volume 2 populated so you could 
disseminate+reboot 1 and 2 without the images being transfered.

Note: I highly recommend using the latest CVS. :-)

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

Reply via email to