From: [email protected]
> From my experience with deluge, if you opt for 'disseminate and reboot'
> option, the program gets disseminated and all the nodes now reboot with
> this code. You can verify this by ping command and find the name in the
> Currently Executing: part. Could you tell me the exact sequence of the
> commands that you are using here? And also a flag in the Makefile has to
> be changed for basestation and non-basestation motes.
Hi,
First, thanks for your help.
This is the method I have used:
cd to tosboot directory
make telosb
cd $TOSROOT/apps/tests/deluge/Basestation
make telosb install,52 bsl,/dev/ttyUSB1
tos-deluge serial@/dev/ttyUSB1:115200 -i 0 build/telosb/tos_image.xml
cd $TOSROOT/apps/tests/deluge/GoldenImage
make telosb install,XXX bsl,/dev/ttyUSB2
tos-deluge serial@/dev/ttyUSB2:115200 -i 0 build/telosb/tos_image.xml
Repeat previous two commands for each node.
To test dissemination:
make telosb
tos-deluge serial@/dev/ttyUSB1:115200 -i 1 build/telosb/tos_image.xml
tos-deluge serial@/dev/ttyUSB1:115200 -dr 1
Result with CVS version: Code disseminates, nodes reprograms, node requires tap
on reset button to start up.
Result with new version: No code dissemination occurs: no nodes overhear data
exchange.
The main problem I would really like to solve, even if I have to code it
myself, is to have the nodes properly reset at the end so that they do not need
to be reset using the button.
I'm assuming that Basestation and GoldenImage do not require
CFLAGS+=-DELUGE_LIGHT_BASESTATION or whatever to be included on the command
line since this appears in the Makefile.
Any help appreciated!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help