Nios® II Flash Programmer User Guide

ID 683118
Date 11/06/2017
Public
Document Table of Contents

3.3.1.2. CFI Parameters

Table 11.  CFI Parameters
Name Required Description
--base=<addr> Required. The base address of the flash memory component. elf2flash uses this parameter with --end and --reset to determine whether the system requires a boot copier.
--end=<addr> Required. The end address of the flash memory component. elf2flash uses this parameter with --base and --reset to determine whether the system requires a boot copier.
--reset=<addr> Required. The processor reset address, which is specified in Platform Designer. elf2flash uses this parameter with --base and --end to determine whether the system requires a boot copier.
--boot=<file> Required under the following conditions:
  • The processor's reset address falls within the address range of the flash memory being programmed.
  • The executable code is linked to a memory location outside of the flash memory being programmed.
Specifies the boot copier object code file. Ignored if the boot copier is not required. If elf2flash determines that a boot copier is required, but the --boot parameter is absent, elf2flash displays an error message. The boot copier resides at < Nios® II EDS install path> /components/Intel FPGA_nios2/boot_loader_cfi.srec.