Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

5.2.3.1. Intel FPGA Serial Flash Controller (EPCQ) Overview

The Intel FPGA Serial Flash Controller allows Nios® II processor systems to access EPCS/ EPCQ flash memories, which support standard or quad I/O mode. The Nios® II processor SBT supports the Nios® II booting from the Intel FPGA Serial Flash Controller. In addition, a Nios® II hardware abstraction layer (HAL) driver is available for the Intel FPGA Serial Flash Controller that allows an application to read, write, or erase flash.

The Nios® II processor supports the following two boot options using EPCQ flash:
  • Nios® II processor application executes in place from EPCQ flash
  • Nios® II processor application is copied from EPCQ flash to RAM using a boot copier
Table 33.  Summary of Nios II Processor Boot Options Using EPCQ Flash
Boot Option Application Code Stored Location Application Run-time Location Method
Nios® II processor application execute-in-place from EPCQ flash EPCQ flash EPCQ flash (XIP) + OCRAM/ External RAM (for writable data sections) Using alt_load () function
Nios® II processor application copied from EPCQ flash to RAM using boot copier EPCQ flash OCRAM/ External RAM Using Memcpy-based boot copier