| |||
| Home > Programming Flash with RealView Debugger > 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 nameThe board name assigned to the BOARD= setting
in the board-level ASCII MEthod file.
If you do not specify this option, is
assumed to be an entry name[FLASH=DEFAULT] in the
ASCII MEthod file.
axf-fileThe name of the ELF/DWARF (.axf)
image containing the Flash programming routines.
FME-filenameThe generated Flash MEthod file name. The default
is .axf-file.fme
-pIndicates PC-relative routines.
-s addrThe 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.
-rThe routine is already in ROM, so get the information only.
-dIndicates debug. Therefore, dump information on the header that is created.
AME-fileThe 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: