Accessing ihex file

Dave Korn dave.korn@artimi.com
Sun Sep 10 13:53:00 GMT 2006


On 09 September 2006 14:19, dimax un wrote:

> 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.

  Binary?  You want binary format then:

  objcopy -I ihex -O binary foo.ihex foo.bin

will read foo.ihex and convert it to binary.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Binutils mailing list