4.6.6. Flash Memory
Flash
The Stratix® 10 MX FPGA development kit supports one 2 Gb CFI-compatible NOR-type device (P/N: MT25Qu02GCBB3E12) for non-volatile storage of FPGA configuration data, board information, test application data and user code space. This device is controlled by the FPGA’s SDM.
| Board Reference | Schematic Signal Name | FPGA Pin Number | I/O Standard | Description |
|---|---|---|---|---|
| D3 | AS_DATA0 | BH41 | 1.8V | Data |
| D2 | AS_DATA1 | BG42 | 1.8V | Data |
| C4 | AS_DATA2 | BF42 | 1.8V | Data |
| D4 | AS_DATA3 | BC40 | 1.8V | Data |
| B2 | AS_CLK | AT37 | 1.8V | Clock from FPGA |
| C2 | AS_CS0_MSEL0 | AR37 | 1.8V | Chip Select signal |
Flash Programming
You can use the Quartus® Prime Programmer to program the flash with your Programmer Object File (.pof).
Ensure the following conditions are met before you proceed
- The Quartus® Prime Programmer and the Intel® FPGA Download Cable II driver are installed on the host computer.
- If you are using an external JTAG programmer, ensure the Intel® FPGA Download Cable II is connected to the board through the 10-pin female connector. Verify that the Intel® FPGA Download Cable II LED for proper connection to the host computer through a micro-USB cable.
- Power to the board is on, and no other applications that use the JTAG chain are running.
- The design running in the FPGA does not drive the FM bus.
Execute the steps below to program the Flash Memory
- Start the Quartus® Prime Programmer.
- Click Auto Detect to display the devices in the JTAG chain.
- Select the flash attached to the Stratix® 10 MX FPGA and then click Change File and select the path to the desired .pof. If the flash is not detected, configure the FPGA with any configuration image which does not drive the flash signals and then go to step 2.
- Turn on the Program/Configure option for the added file.
- Click Start to program the selected file to flash. Programming is complete when the progress bar reaches 100%. If flash programming fails, change the TCK frequency to a lower frequency (16 MHz or 6 MHz). Run the command below in the Nios® II command shell. jtag --setparam <cable> JtagClock <frequency><Units>. For example: jtagconfig --setparam 1 JtagClock 16M and then go to Step 4.
Attention: Using the Quartus® Prime Programmer to program a device on the board causes other JTAG- based applications such as the Board Test System and the Power Monitor to lose their connection to the board. Restart those applications after programming is complete.