|
Is there a document (in addition to the tos-bsl.txt distributed with
the toolchain) explaining how tos-bsl works, particularly with a telosb
mote? I tried uploading, but couldn't this to work with a programmed
mote. An example below shows what I tried. Ted 1. First, demonstrate that erase works: > dhcp:~/userGlow$ tos-bsl -c /dev/ttyUSB0 -e MSP430 Bootstrap Loader Version: 1.39-telos-8 Use -h for help Mass Erase... Transmit default password ... 2. Second, upload some data: > dhcp:~/userGlow$ tos-bsl -c /dev/ttyUSB0 --upload=0x0c00 --size=16 -x MSP430 Bootstrap Loader Version: 1.39-telos-8 Use -h for help Invoking BSL... Transmit default password ... Current bootstrap loader version: 1.61 (Device ID: f16c) 0c00 04 0c 0e 0c 31 40 20 02 0b 43 c0 43 0a f6 32 c2 ....1@ ..C.C..2. 3. Third, download a new program: > dhcp:~/userGlow$ make telosb reinstall cp build/telosb/main.ihex build/telosb/main.ihex.out found mote on /dev/ttyUSB0 (using bsl,auto) installing telosb binary using bsl tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out 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 ... 2246 bytes programmed. Reset device ... rm -f build/telosb/main.exe.out build/telosb/main.ihex.out 4. Fourth, try to upload some data: > dhcp:~/userGlow$ tos-bsl -c /dev/ttyUSB0 --upload=0x0c00 --size=16 -x MSP430 Bootstrap Loader Version: 1.39-telos-8 Use -h for help Invoking BSL... Transmit default password ... An error occoured: Timeout 5. Fifth, retry but add the --telosb option > dhcp:~/userGlow$ tos-bsl -c /dev/ttyUSB0 --telosb --upload=0x0c00 --size= 16 -x MSP430 Bootstrap Loader Version: 1.39-telos-8 Use -h for help Invoking BSL... Transmit default password ... An error occoured: NAK received (wrong password?) |
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
