EmbDev.net

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


von Anil A. (anilibx)


Attached files:

Rate this post
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?

von Clifford S. (clifford)


Rate this post
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.