Some bugs installing tinyos-1.1.15 for telosb motes

I used 
        rpm -e `rpm -qa | egrep '^avarice|^avr|graphviz|msp430|nesc|tinyos'`
to remove everything.

Bug 1 (documentation error) The Linux install page
        http://www.tinyos.net/tinyos-1.x/doc/install.html#linux 
does not mention the files necessary to support telosb motes.


Fix: 
        I found the missing files on this page:

        http://www.tinyos.net/dist-1.2.0/tools/linux/

These were the files I installed

        msp430tools-base-0.1-20050607.i386.rpm
        msp430tools-binutils-2.16-20050607.i386.rpm
        msp430tools-gcc-3.2.3-20050607.i386.rpm
        msp430tools-gdb-6.0-20050609.i386.rpm
        msp430tools-gdb-proxy-6.0-20050609.i386.rpm
        msp430tools-jtag-lib-20031101cvs-20050610.i386.rpm
        msp430tools-libc-20050308cvs-20050608.i386.rpm
        msp430tools-python-tools-1.0-1.noarch.rpm


Bug 2) When I tried to compile/install Blink application for the telosb, I got 
the message

/usr/src/redhat/BUILD/nesc-1.1.2b/../apps/Makerules:335: *** mica mica2 
mica2dot pc all telosb install

by default. ncc -print-tosdir prints out

/usr/src/redhat/BUILD/nesc-1.1.2b
which is wrong.

Fix:


        1) add /opt/msp430/bin to the search path
        2) set the following environment variables
                MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
                TOSROOT=/opt/tinyos-1.x


Bug3 )

When trying to install Blink using "make telosb install"
it generated the command:

msp430-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p 
/opt/tinyos-1.x/tos/lib/Deluge/TOSBoot/build/telosb/main.ihex

MSP430 Bootstrap Loader Version: 2.0
it then printed out the command line options.

        Note that the --telosb option is not supported. Also note that this is 
version 2.0.


Fix:
        install version  1.39-telos-7 from 
/opt/tinyos-1.x/tools/src/mspgcc-pybsl by typing

        mv /opt/msp430/bin/msp430-bsl /opt/msp430/bin/msp430-bsl.old
        cd /opt/tinyos-1.x/tools/src/mspgcc-pybsl
        cp bsl.py /opt/msp430/bin/msp430-bsl
        cp -r serial /opt/msp430/lib/python2.3/site-packages/

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

Reply via email to