[ECOS] convert source file to hex for arm

Simon Kallweit simon.kallweit@intefo.ch
Fri Nov 21 12:25:00 GMT 2008

abhishek srivastava wrote:
> cud any one tell me how to convert my souce file into hex file so that it could be moved onto my target h/w i.e. LPC 2148 ARM7TDMI-S
> source file wud be in what extension ??

Read the binutils manpage, more specifically the manpage of the 
"objcopy" utility. Use the version of your cross toolchain, e.g. 
arm-eabi-objcopy or arm-elf-objcopy.
Something like

arm-eabi-objcopy -O ihex [infile] [outfile]

should do.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list