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. In the case of bsl, it's in 1.x/tools/src/mspgcc-
pybsl. Just be sure to check that when you reinstall it, it's the one
that the make system is calling (it's possible to get into a situation
where you install the 1.x version, but in a different place so the make
system continues to call the 2.x one).

>   I also found that the SerialForwarder stopped working after the
> upgrade. Anyone has the same experience?

How did it stop working?

Phil


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

Reply via email to