Hello All
I have an exact replica of a tmote-sky on which I need to use deluge. I have the following issue with this: I followed the instructions in the Deluge T2 page: http://docs.tinyos.net/index.php/Deluge_T2 as is and see that the expected response is seen on tmotes. So I know that my toolchain and environment are correct. However, I do not see this on the tmote replica. A "make telosb install.1" in $TOSROOT/apps/tests/deluge/Blink executes without errors, the startupsequence leds glow as expected, but the periodic LED blink after this is not seen. I tried fusing the code for a basestation with CFLAGS=-DDELUGE_BASESTATION to see if there is a response to the tos-deluge ping command. The response is: Flushing the serial port.. Checking if node is a Deluge T2 base station ... ERROR: Timeout. Is the node a Deluge T2 base station? I) I tried splitting the commands that follow as a result of the make telosb reinstall command : tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex build/telosb/main.ihex build/telosb/main.ihex.out-1 TOS_NODE_ID=1 ActiveMessageAddressC__addr=1 tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p /opt/tinyos-2.1.1/tos/lib/tosboot/build/telosb/main.ihex tos-bsl --telosb -c /dev/ttyUSB0 -r -I -p build/telosb/main.ihex.out-1 But this time included option --force-BSL-download into 1)the first tos-bsl commands 2) the second one and 3) both commands. There was no change in operation. II) I tried the second tos-bsl command with the -e option that does a mass erase before reprogramming the mote. With this I see the periodic blink. With the basestation cflags, my mote can work perfectly as a basestation and can program tmotes over the air. As a non-basestation mote, I see the indication that a page has been received (second led blinks when the page is received) but the switch between images does not happen. This is obvious because the bootloader has been erased . III) I tried the tos-bsl commands with a -D option and see that the bootloader and the blink application get loaded at different memory locations. I have come to the conclusion that the bootloader and the blink application get fused onto the mote at different memory locations but cannot work together. Can anyone help me with this ? Any help would be appreciated. Thanks, Devasenapathy
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
