Kelly Murray wrote:
I've been digging around the jtag/ directory,
but I'm not getting too far. Docs are not much.
in theory, you should be able to run "make" in the jtag dir, which
should build all the libs.
there is a "make install" in the "python" dir.
all you have to make sure manualy is that libMSP430mspgcc.so, libHIL.so
are somewhre where they can be found (typicaly /usr/local/lib) and
either ctypes has to be installed (probably comes prepackaged for you
distro) or you can copy _parjtag.so to the same dir as msp430-jtag is
(/usr/local/msp430/bin is the default as it is for the other mspgcc tools)
there are readmes in the "jtag" and "python" dirs that should explain at
least a little bit.
What I'd like to do is write a simple C program that
will write some bits into the Info area.
Looking at the parjtag.c python lib, it seems I should
be able to write a similiar more simple program that
makes a few calls to MSP430_xxxx.
yes, if you like to write apps in C, you can do that. but consider that
not calling the MSP430_xxx function is th work, its getting the data
from the disk, error handling, flexility for different use cases, ...
i like C for many apps, but not for entire applications on the PC. i'm
also using the python modules for scripts like saving calibration values
from the flash and reprogramming with a new version. and once if they
are installed, the end user shouldn't care about in which language the
tools are written ;-)
chris