On 12/6/05, Philip Levis <[EMAIL PROTECTED]> wrote: > On Mon, 2005-12-05 at 14:13 -0600, Dongyan Chen wrote: > > Dear all, > > > > When switching back to Tinyos-1.x tree, I changed the environment > > variables as instructed in > > http://www.tinyos.net/dist-2.0.0/tinyos-2.0.0pre2/doc/html/upgrade-tinyos.html. > > While my programs compile, I can't upload them to TMote. The following > > is the error: > > > > $ make tmote reinstall > > cp build/telosb/main.ihex build/telosb/main.ihex.out > > found mote on COM5 (using bsl,auto) > > installing telosb bootloader using bsl > > msp430-bsl --telosb -c 4 -r -e -I -p > > /opt/tinyos-1.x/tos/../beta/Deluge/Deluge/T > > OSBoot/build/telosb/main.ihex > > MSP430 Bootstrap Loader Version: 2.0 > > > > USAGE: /opt/msp430/bin/msp430-bsl [options] [file] > > Version: 2.0 > > > > If "-" is specified as file the data is read from the stdinput. > > A file ending with ".txt" is considered to be in TI-Text format, > > '.a43' and '.hex' as IntelHex and all other filenames are > > considered as ELF files. > > > > General options: > > -h, --help Show this help screen. > > ... > > > > I believe it's coz the msp430-bsl has been upgraded by T2 and the > > options are changed. I can get by this with changing the environment > > variables back to 2.0 version and do a make tmote reinstall, which > > works. However, is there any cleverer way to do this? > > The 2.x install process replaces a few elements of the toolchain. E.g., > ncc has been moved out of the nesC compiler and into TinyOS (as it's > what has some TinyOS-specific options). > > So switching back to 1.x require that you replace those changed tools > with the 1.x versions.
Actually the 2.x tools are supposed to work with 1.x. This just happens to be a case where that isn't true... (i.e., needs fixing). David Gay _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
