6.3. pakflash utility command syntax

The pakflash utility packs an Flash MEthod file for RealView Debugger to use when programming Flash.

The command syntax is:

pakflash [ -f name ] axf-file.axf -o FME-filename.fme [ -p ] [ -s addr ] [ -r ] [ -d ] [AME-file.ame]

where:

-f name

The board name assigned to the BOARD= setting in the board-level ASCII MEthod file.

If you do not specify this option, name is assumed to be an entry [FLASH=DEFAULT] in the ASCII MEthod file.

axf-file

The name of the ELF/DWARF (.axf) image containing the Flash programming routines.

FME-filename

The generated Flash MEthod file name. The default is axf-file.fme.

-p

Indicates PC-relative routines.

-s addr

The start address. This also implies -p.

This option overrides reloc.start_addr= setting in the board-level AME file, and the --ro_base linker option.

-r

The routine is already in ROM, so get the information only.

-d

Indicates debug. Therefore, dump information on the header that is created.

AME-file

The ASCII MEthod file.

If you do not specify an ASCII MEthod file, the method file name is assumed to be the same as the .axf file name, but with the .ame extension.

See also:

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0182K
Non-Confidential