David Brown schrieb:
However, I can't run the python programs (msp430-downloader.py and
msp430-jtag.py) using the USB interface.  I can get some contact - for
example, I can do a reset or an erase, but reading and writing memory
fails with "invalid parameter(s)" errors.

i can now say it _was_ a known problem :-) i've committed a fix in the CVS. (Buffer size for MSP430_Identify has to be >= 80 ...)

I've made a couple of minor changes to msp430-downloader.py, which I think
could be worth putting in the official version.  They are so small that it
is probably as easy for a maintainer to cut-and-paste rather than using
patch:

In the list of file types (line 26), the box is a little more user-friendly
if we use:

        typeList=[('Binaries (*.hex, *.elf, *.a43)', '*.hex;*.elf;*.a43'),
'hex', 'elf', 'a43', '*']

done

I also replaced the confirmation box with a choice of interface, supporting
USB on windows:
[code cut]

implemented, tough slightly different.

This might need to be optional when running on Linux (until there is support
for the USB tools on Linux).

the downlaoder does not yet run on linux as there is no EasyDialogs implementation. (one should write a EasyDialgs compatible wrapper around zenity, or dialog+xdialog, ..)

chris

Reply via email to