Eric Decker schrieb:
I recently downloaded the tinyos 2.x XubunTOS live CD and installed it.
... got jtag from the stanford repository. (msp430tools-jtag-lib-tinyos)
... following error:
OSError: MSP430mspgcc: cannot open shared object file: No such file or
directory
the part of the implementation that you posted indicated that they are
using older source code.
The question is how does python find libraries? In particular how does
the line
"MSP430mspgcc = ctypes.cdll.MSP430mspgcc" into a shared object (library).
i had problems with this. later versions of jtag.py use the envirionment
variable LIBMSPGCC_PATH to locate the object
the msp430-jtag executable itself is then a shell script setting that
variable to the installed folder and running the true python tool. maybe
not the best way but it works.
you should be able to build your own tool chain relatively easy by
looking at $(MSPGCC_CVS)/packaging/README-MAINTAINER.txt
the makefile in the same folder should download, build and install the
toolchain with a few (or even a single) commands.
chris