Accessing ihex file

dimax un dimax.un@gmail.com
Sat Sep 9 13:19:00 GMT 2006


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 9/9/06, Dave Korn <dave.korn@artimi.com> wrote:
> 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....
>
>



More information about the Binutils mailing list