Preparing Design Files For Flash Programming; Creating Flash Files Using The Nios Ii Eds - Intel Cyclone V GT FPGA Development Kit User Manual

Table of Contents

Advertisement

A. Programming the Flash Memory Device
792833 | 2024.02.21
Intel recommends that you do not overwrite the factory hardware and factory
software images unless you are an expert with the Intel tools. If you unintentionally
overwrite the factory hardware or factory software image, refer to Restoring the Flash
Device to the Factory Settings.
A.2. Preparing Design Files for Flash Programming
The following sections use the following file types:
Nios II Flash Programmer File (
Executable and Linking Format File (
SRAM Object File (
S-Record File (
You can obtain designs containing prepared
Development Kit page of the Intel website. You can also create
own custom design.
The Nios II EDS
compiled
Nios II EDS
software design to
For more information about Nios II EDS software tools and practices, refer to the
Embedded Software Developer Center page of the Intel website.
Related Information
Cyclone V GT FPGA Development Kit
Embedded Software Developer Center
A.3. Creating Flash Files Using the Nios II EDS
If you have an FPGA design developed using the Intel Quartus Prime software, and
software developed using the Nios II EDS, follow these instructions:
1. On the Windows Start menu, click All Programs > Altera> Nios II EDS > Nios
II Command Shell.
2. In the Nios II command shell, navigate to the directory where your design files
reside and type the following Nios II EDS commands:
For Intel Quartus Prime
For Nios II
The resulting
Send Feedback
)
.sof
)
.srec
command line utility converts your Intel Quartus Prime-
sof2flash
into the
.sof
.flash
command line utility converts your compiled and linked
elf2flash
.
.flash
sof2flash --input=<yourfile>_hw.sof --output=<yourfile>_hw.flash --
offset=0xC80000
--pfl --optionbit=0x00018000 --programmingmode=FPP
files:
.elf
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
files are ready for flash device programming.
.flash
)
.flash
)
.elf
files from the Cyclone V GT FPGA
.flash
format necessary for the flash device. Similarly, the
files:
.sof
®
Cyclone
files from your
.flash
V GT FPGA Development Kit User Guide
.elf
43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Cyclone V GT FPGA Development Kit and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dk-dev-5cgtd9n-b5cgtfd9e5f35c7n

Table of Contents