Oh, I guess I've never done anything w/ release code before. You are
right, what you get is a .txt file. I have apparently been misreading
that as the TI hex format, which it is not. Anyhow, a somewhat
convoluted but workable way would be to objcopy from elf32-msp430 to
ihex, and then use ihex2titext to convert from the intel hex format to
the TI text format. I believe that is what you're trying to do. Also
if you're interested in python code, there is pyBSL and pyJTAG which
can read TI-Text format
http://mspgcc.sourceforge.net/manual/x1607.html#pybsl, which I infer
means that they can read it ;).

On Wed, May 20, 2009 at 7:32 PM, Andy Warner <[email protected]> wrote:
> On Wed, May 20, 2009 at 9:20 PM, Alex Orange <[email protected]> wrote:
>> I believe the mspgcc format is elf. Additionally, I think mspgcc can
>> output to the TI formats like a43 and such. I have not heard of the
>> "TI .txt file format", so I think you'll probably need to be more
>> specific as to what you mean.
>
> I meant the .txt file format generated by most of the non-gcc
> tools, and groked by all the programmers that I use. Unfortunately
> the firmware I need to massage is not generated by mspgcc.
>
> This is sort of a hybrid mspgcc - non-gcc tool question, I
> suppose. The philosophy of what I'm trying to do is pure
> gcc/*nix, but the starting file format is not a msp-gcc native
> one (at least that I can identify so far.)
>
> The format is as follows:
>
> @xxxx
> yy yy yy yy yy
> yy yy yy yy yy
> ..
>
> Where xxxx is a starting address, and yy yy yy ... are
> contiguous bytes starting at that location.
>
> It's a pretty simple format, I'm just making a final check that
> I'm not re-inventing a wheel before I dive into coding a parser/
> generator in python.
> --
> Andy
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

Reply via email to