Andy Warner schrieb:
> I am planning to write some python scripts to process
> pre-built msp430 firmware images, to manipulate
> default values in fixed locations in flash and write
> new .txt files out.
[...]
> Alternatively, does anyone know of python code that
> can read/write the TI .txt format ?

msp430-jtag and -bsl and the ihex2titext tools all use this code to read
and write:

http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/python/mspgcc/memory.py?revision=1.4&view=markup

it supports reading ELF, ihex and TI-text and can write ihex and TI-text

the setup.py here http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/python/
allows to install that python module, so that you can simply import
"mspgcc" in your tools :-)

chris

Reply via email to