Keil Logo

ARMCC: Arm Compiler Output Formats


Information in this article applies to:

  • MDK-ARM Version 2.5
  • MDK-ARM Version 3.0
  • MDK-ARM Version 3.01 and later

QUESTION

A third-party emulator cannot load the output file create by MDK-ARM. The Keil project uses the ARM Compiler toolchain. What is the output file format of the executable image that is generated by this compiler?

ANSWER

The Compiler creates standard ELF/DWARF files for the executable image. These files have a *.AXF file extension. ELF/DWARF files can be directly loaded by all popular emulators and several other third-party utilities.

ARM Compiler 6 generates DWARF 4 (DWARF Debugging Standard Version 4) debug tables with the -g option. The compiler can also generate DWARF 3 or DWARF 2 for backwards compatibility with legacy and third-party tools.

ARM Compiler 5 generates DWARF 3 (DWARF Debugging Standard Version 3) debug tables. The compiler can also generate DWARF 2 for backwards compatibility with legacy and third-party tools.

Use the Fromelf Image Converter utility to create output files of different formats. µVision only loads ELF, AXF or HEX files. µVision does not load binary BIN Files.

For Evaluation Version users: with For MDK-ARM Lite, the assembler and linker create Symbolic Output Format objects which cannot be linked with third-party linker utilities. Fully licensed tools generate standard ELF/DWARF files which may be used with third-party utilities.

For older versions: In MDK-ARM Version 3.00 and Version 2.50, the RealView Compiler creates an encrypted executable image that can be only loaded by the µVision Debugger. This was also the output format of the Evaluation Version. When you have entered a valid license for MDK-ARM Version 3.01 or higher, the RealView Compiler creates standard ELF/DWARF files for the executable image.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, May 7, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.