This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thanks. I'm thinking to use objcopy as a reference code. I need to write application to send ihex file in via GPRS to the target for FW update. But I do not want to send it as ASCII Hex as receiving part is not capable to parse it. So I'll have to convert it into binary buffer.
On 09 September 2006 13:16, dimax un wrote:
> Hello. > What methods should I use to access intel HEX file? As far as I could > understand libbfd may do it but I'm not sure. Can you please clear it > for me?
Yes, and you can use the 'ihex' target with any of the binutils, e.g.
objcopy -O ihex -j .text foo.o foo.ihex
will extract the .text section from object file foo.o and write it in ihex format to foo.ihex.
cheers, DaveK -- Can't think of a witty .sigline today....
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |