Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Open Source Intel hex converter.

181 views
Skip to first unread message

R Pradeep Chandran

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
Hi All,
I am looking for an open source, freeware intel hex converter
that can convert raw binary files (not the output files generated by
compilers) to intel hex format. I need to flash some data files. These
files can contain any valid ASCII character. Also the converter need
to output 32 bit addresses so that I can flash data files greater
than 64k.

Thanks in advance,
Have a nice day,
Pradeep
--
R Pradeep Chandran | Tel(Off) : +91-80-8091438
Siemens Information Systems Ltd. | Fax(Off) : +91-80-8521130
#84, Keonics Electronics City, | http://www.sislindia.com/
Bangalore, India |

Grant Edwards

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
In article <39F0038F...@nonexistent.domain>, R Pradeep Chandran wrote:

> I am looking for an open source, freeware intel hex converter
>that can convert raw binary files (not the output files generated by
>compilers) to intel hex format. I need to flash some data files. These
>files can contain any valid ASCII character. Also the converter need
>to output 32 bit addresses so that I can flash data files greater
>than 64k.

The "objcopy" program from the Gnu binutils package can
read/write a whole slew of file formats (including binary,
Intel Hex, Motorola S-records, ELF, COFF, ...).

--
Grant Edwards grante Yow! Hello? Enema
at Bondage? I'm calling
visi.com because I want to be happy,
I guess...

Jonathan Larmour

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
In article <39F0038F...@nonexistent.domain>,
R Pradeep Chandran <unk...@nonexistent.domain> wrote:
>Hi All,

> I am looking for an open source, freeware intel hex converter
>that can convert raw binary files (not the output files generated by
>compilers) to intel hex format. I need to flash some data files. These
>files can contain any valid ASCII character. Also the converter need
>to output 32 bit addresses so that I can flash data files greater
>than 64k.

You want objcopy, from the GNU binary utilities. Get it from
ftp://ftp.gnu.org/gnu/binutils or a mirror, or alternatively
http://sources.redhat.com/binutils or a mirror.

Invoke objcopy as, for example,

objcopy -O ihex file.bin file.ihex

Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault

Eric Smith

unread,
Oct 28, 2000, 2:39:46 PM10/28/00
to
R Pradeep Chandran <unk...@nonexistent.domain> writes:
> I am looking for an open source, freeware intel hex converter
> that can convert raw binary files (not the output files generated by
> compilers) to intel hex format. I need to flash some data files. These
> files can contain any valid ASCII character. Also the converter need
> to output 32 bit addresses so that I can flash data files greater
> than 64k.

Peter Miller's SRecord package is great for things like that:
http://www.canb.auug.org.au/~millerp/srecord.html

(Despite the name, it does many other formats including Intel Hex.)

0 new messages