1. 程式人生 > >ARM Compiler v5.06 for µVision fromelf User Guide

ARM Compiler v5.06 for µVision fromelf User Guide

一、Fromelf

ARM image conversion utility:fromelf

二、fromelf execution modes

format:formelf 【option】--output= output_file  input_file

option:

1、--bin

Produces plain binary output, one file for each load region. You can split the output from this option into multiple files with the --widthxbanks option

2、--i32

Produces Intel Hex-32 format output. It generates one output file for each load region in the image.

You can specify the base address of the output with the --base option.

such as:fromelf --i32 --output=outfile.hex  infile.axf

3、--i32combined

Produces Intel Hex-32 format output. It generates one output file for an image containing multiple load regions.

You can specify the base address of the output with the --base option.

such as:fromelf --i32combined --base=0x1000  --output=outfile2.hex   infile2.axf

4、--m32

Produces Motorola 32-bit format (32-bit S-records) output. It generates one output file for each load region in the image.

You can specify the base address of the output with the --base

option.

such as:fromelf --m32 --output=outfile.hex infile.axf

5、--m32combined

Produces Motorola 32-bit format (32-bit S-records) output. It generates one output file for an image containing multiple load regions.

You can specify the base address of the output with the --base option.

such as:fromelf --m32combined --base=0x1000 --output=outfile2.bin infile2.axf

6、--text

Prints image information in text format. You can decode an ELF image or ELF object file using this option.

7、--vhx

Produces Byte oriented (Verilog Memory Model) hexadecimal format output.

以上只是摘自於《Arm Development Tools》,想要進一步瞭解引數的用法和更深層次的用法,可以點選keil->help->uvision help即可檢視。