Hi to all!
I've a Tmote Connect unit, and a Tmote Sky mote connected to it.
I can install a "normal" program through "netbsl" command. For example, the Blink app (previously compiled):
----------------[cygwin]
$ make telosb reinstall netbsl,192.168.1.100:10001
cp build/telosb/main.ihex build/telosb/main.ihex.out
    installing telosb binary using netbsl
/opt/tinyos-2.x/support/make/msp/netbsl 192.168.1.100:10001 build/telosb/main.ihex.out --telosb -r -e -I -p
Using mote  on port /dev/ttyUSB0.
Mass erase.
Invoking BSL.
BSL version 1.61, MCU device id f16c.
Changing to 38400 baud.
Program image /tmp/_dev_ttyUSB0, 2648 bytes.
Invoking BSL.
BSL version 1.61, MCU device id f16c.
Changing to 38400 baud.
Program.
Programmed 2680 bytes.
Reset
rm -f build/telosb/main.exe.out build/telosb/main.ihex.out
----------------[cygwin]

It works OK.


Then, I try the test/deluge/Blink app in a mote which is connected directly to the USB (COM15) of my PC:
----------------[cygwin]
$ CFLAGS=-DDELUGE_BASESTATION make telosb reinstall bsl,14
cp build/telosb/main.ihex build/telosb/main.ihex.out
    installing telosb bootloader using bsl
tos-bsl --telosb -c 14 -r -e -I -p C:/cygwin/opt/tinyos-2.x/tos/lib/tosboot/build/telosb/main.ihex
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
2118 bytes programmed.
Reset device ...
    installing telosb binary using bsl (without mass erase)
tos-bsl --telosb -c 14 -r -I -p build/telosb/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-telos-8
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
39616 bytes programmed.
Reset device ...
rm -f build/telosb/main.exe.out build/telosb/main.ihex.out
----------------[cygwin]

It works OK too. (The three leds are on and then only the red one blinks).

I want to program (via Ethernet) a mote conected to the Tmote Connect device.
----------------[cygwin]
$ CFLAGS=-DDELUGE_BASESTATION make telosb reinstall netbsl,192.168.1.100:10001
cp build/telosb/main.ihex build/telosb/main.ihex.out
    installing telosb bootloader using netbsl
/opt/tinyos-2.x/support/make/msp/netbsl 192.168.1.100:10001 C:/cygwin/opt/tinyos-2.x/tos/lib/tosboot/build/tel
osb/main.ihex --telosb -r -e -I -p
Using mote  on port /dev/ttyUSB0.
Mass erase.
Invoking BSL.
BSL version 1.61, MCU device id f16c.
Changing to 38400 baud.
Program image /tmp/_dev_ttyUSB0, 2118 bytes.
Invoking BSL.
BSL version 1.61, MCU device id f16c.
Changing to 38400 baud.
Program.
Programmed 2118 bytes.
Reset
    installing telosb binary using netbsl (without mass erase)
/opt/tinyos-2.x/support/make/msp/netbsl 192.168.1.100:10001 build/telosb/main.ihex.out --telosb -r -I -p
Using mote  on port /dev/ttyUSB0.
Program image /tmp/_dev_ttyUSB0, 39584 bytes.
Invoking BSL.
BSL version 1.61, MCU device id f16c.
Changing to 38400 baud.
Program.
Programmed 39616 bytes.
Reset
rm -f build/telosb/main.exe.out build/telosb/main.ihex.out
----------------[cygwin]

When I reboot the mote (by pressing the RESET button), the three leds are on, but afterwards no led blinks. Is there any way to program a remote sensor (via Tmote Connect) using Deluge protocol?

Thank you very much!!

Regards,
Jose A.

P.D. "netbsl" and "netbsl.extra" files I'm using:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110107/9e927f2d/attachment.obj
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110107/9e927f2d/attachment-0001.obj
I've changed line#29 of "netbsl.extra" from $(BOOTLOADER) --> $(BOOTLOADER_IMG)

--
Jose A.
Seville, Spain

<<attachment: jostargal.vcf>>

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

Reply via email to