HI, Does this do what you need,
http://srecord.sourceforge.net/ I assume you have one of those formats, can change addressed (move), fill, check sum, merge etc. Regards, Peter Jansen ----- Original Message ---- > From: Alex Orange <[email protected]> > To: GCC for MSP430 - http://mspgcc.sf.net <[email protected]> > Sent: Thursday, 21 May, 2009 1:53:06 PM > Subject: Re: [Mspgcc-users] TI executable .txt file format. > > 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 wrote: > > On Wed, May 20, 2009 at 9:20 PM, Alex Orange 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 > > > > ------------------------------------------------------------------------------ > 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 Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
