ARM Technical Support Knowledge Articles

GENERATING BINARY OUTPUT DURING A BUILD

Applies to: RealView Linker

Answer


Information in this article applies to:


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 uVision 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\BIN40\fromelf.exe --bin --output myprog.bin myprog.axf

MORE INFORMATION

Article last edited on: 2012-07-31 08:32:44

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential