2.1. Starting the Flash Programmer GUI
2.2. Specifying your Flash Programmer Settings
2.3. Working with Flash Programmer Settings Files
2.4. Setting the Hardware Connection
2.5. Checking System ID and System Timestamp
2.6. Generating Flash Files and Programming Flash Memory
2.7. Document Revision History for Using the Flash Programmer GUI
B.1. Overview
B.2. Start Button Grayed Out in the Flash Programmer GUI
B.3. 'No Nios® II Processors Available' Error
B.4. 'No CFI Table Found' Error
B.5. 'No EPCS Registers Found' Error
B.6. 'System Does Not Have Any Flash Memory' Error
B.7. 'Reading System ID at Address 0x<address>: FAIL' Error
B.8. 'Base Address Not Aligned on Size of Device' Error
B.9. Document Revision History for Troubleshooting
3.1. quartus_pgm --nios2
The quartus_pgm --nios2 utility programs a preformatted file into a specified flash memory. The input is an industry-standard S-record file, normally created by one of the conversion utilities, sof2flash, elf2flash, or bin2flash.
quartus_pgm --nios2 can use any S-record file as an input, provided that the addresses specified in the S-record file represent offsets from the beginning of flash memory. The Nios® II Flash Programmer GUI creates flash programmer files with a .flash extension.
The quartus_pgm --nios2 utility is capable of programming, erasing, or reading from any CF-compatible flash memory or EPCS/EPCQ serial configuration device in the hardware target design.
The quartus_pgm --nios2 command-line syntax is as follows:
quartus_pgm --nios2 [--help] [--cable=<cable name>]
[‑‑device=<device index>] [--instance=<instance>]
[‑‑sidp=<address>] [--id=<id>] [--timestamp=<time>] [‑‑accept-bad-sysid] --base=<address> [--epcs | --epcq | ‑‑onchip] <file> [‑‑go]
Note: Before you can program flash memory on your board, you must configure your FPGA with a flash programmer target design. The design must contains at least the minimum component set specified in the Table: Minimum Component Set for the Flash Programmer Target Design in the Flash Programmer Target Design chapter.