This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: convert source file to hex for arm


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.

Simon

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]