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]

RE: Accessing ihex file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]