EmbDev.net

Forum: ARM programming with GCC/GNU tools bat HEX file format


Author: Anil Anil (anilibx)
Posted on:
Attached files:

Rate this post
0 useful
not useful
hi ,
how can i  find , which type of hex file ?
for example we use two IDE compilers . how can i find this ide giveing
this type of hex it is?

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 useful
not useful
Anil Anil wrote:
> hi ,
> how can i  find , which type of hex file ?
> for example we use two IDE compilers . how can i find this ide giveing
> this type of hex it is?

What IDE!?

In the GNU toolchain, teh hex file is not generated by an IDE or even
teh compiler. Normally the makefile invokes objcopy to generate whatever
type of output you require.

If you run objcopy (or the target specific variant) with --help, at the
bottom of the text output it will tell you the formats supported. (you
use these with the -O=<bfdname> switch for example.

I got:

d:\winarm\bin\arm-elf-objcopy: supported targets: elf32-littlearm
elf32-bigarm elf32-little elf32-big srec symbolsrec tekhex binary ihex


Clifford

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.