This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Accessing ihex file
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'dimax un'" <dimax dot un at gmail dot com>
- Cc: <binutils at sourceware dot org>
- Date: Sun, 10 Sep 2006 14:53:00 +0100
- Subject: 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....