Nios® II Flash Programmer User Guide

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

3.3.3. elf2flash Command-Line Examples

  • Converts myapp.elf to an S-record file named myapp.flash, intended for a CFI flash memory based at 0x0. Includes a boot copier (from boot_loader_cfi.srec), which is required in this example because --base and --reset are equal.
    elf2flash --base=0x0 --reset=0x0 --boot=boot_loader_cfi.srec \ --input=myapp.elf --output=myapp.flash
  • Converts myapp.elf to an S-record file named myapp.flash, intended for an EPCS device. The S-record output starts at the first address unused by standard.flash.
    elf2flash --epcs --after=standard.flash --input=myapp.elf \ --output=myapp.flash

Did you find the information on this page useful?

Characters remaining:

Feedback Message