Keil™, An ARM® Company

Technical Support

ARMLINK: GENERATING BINARY OUTPUT DURING A BUILD


Information in this article applies to:

  • RealView Linker All Versions

QUESTION

How can I convert my ARM program to binary format during the build process?

ANSWER

The RealView ARM toolchain includes a utility called FROMELF.EXE. You can use this program to extract a binary file from the ELF absolute object file for your project. Configure your µVision project to generate the binary automatically as follows:

  1. Go to Options — Output
  2. Check "Run User Program #1", under "After Make"
  3. Enter the following in the User Program 1 path (where "myprog" is the project's "Name of Executable")
C:\Keil\ARM\BIN30\fromelf.exe --bin --output myprog.bin myprog.axf

MORE INFORMATION

  • Refer to Using fromelf in the RealView Linker and Utilities Guide.

Last Reviewed: Tuesday, August 05, 2008


Did this article provide the answer you needed?
 
Yes
No
Not Sure