1. Kit Features
2. Getting Started
3. Software Installation
4. Development Board Setup
5. Board Update Portal
6. Board Test System
7. Document Revision History for the Cyclone® V GT FPGA Development Kit User Guide
A. Programming the Flash Memory Device
B. Safety and Regulatory Compliance Information
A.3. Creating Flash Files Using the Nios® II EDS
If you have an FPGA design developed using the Quartus® Prime software, and software developed using the Nios® II EDS, follow these instructions:
- On the Windows Start menu, click All Programs > Altera > Altera > Nios II EDS > Altera > Nios II Command Shell.
- In the Nios® II command shell, navigate to the directory where your design files reside and type the following Nios® II EDS commands:
- For Quartus® Prime .sof files:
sof2flash --input=<yourfile>_hw.sof --output=<yourfile>_hw.flash --offset=0xC80000 --pfl --optionbit=0x00018000 --programmingmode=FPP
- For Nios® II .elf files:
elf2flash --base=0x00000000 --end=0x0FFFFFFF --reset=0x3540000 --input=<yourfile>_sw.elf --output=<yourfile>_sw.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec
- For Quartus® Prime .sof files:
The resulting .flash files are ready for flash device programming.
The Board Update Portal standard .flash format conventionally uses either <filename>_hw.flash for hardware design files or <filename>_sw.flash for software design files.