Appendix A: Programming Flash Memory A–3
CFI Flash Memory
May 2013 Altera Corporation Cyclone V SoC Development Kit
User Guide
7. Double-click the graphic of the flash device in the device chain pane to display the
Device’s Properties dialog box.
8. Select the flash image .pof file generated from the Quartus II Convert
Programming Files dialog box. The default file name is output_file.pof.
9. After the flash image .pof is attached in the Quartus II Programmer, turn on
Page_1 and Option Bits. (Page_0 is reserved for the GSRD factory design.)
10. Click Start.
11. After the flash writing process has completed, power cycle the board and look for
the MAX CONF DONE LED to turn ON if the writing process is successful.
12. Altera recommends that you return to the Max V System Controller factory design
after completing the flash writing. To do so, program the Max V with <install
dir>\kits\cycloneVSX_5csxfc6df31es_soc\factory_recovery\max<version>.pof.
For more information, refer to “Restoring the MAX V CPLD to the Factory
Settings” on page 4–6.
f For more information on programming flash memory, refer to Parallel Flash Loader
Megafunction User Guide and Using FPGA-Based Parallel Flash Loader with the
Quartus II Software.
Converting .sof Files to a .pof
To generate a flash programming file, you must open the Quartus II software and
convert the .sof files to .pof.
To convert the files, follow these steps:
1. On the File menu, click Convert Programming Files.
2. For Programming file type, specify Programmer Object File (.pof) and name the
file.
3. For Configuration device, select CFI_512Mb for this kit's CFI device.
4. To add the configuration data, under Input files to convert, select SOF Data.
5. Click Add File and browse to the .sof files you want to add.
If you want to store the data from other .sof files in a different page, click Add SOF
page. Add the .sof files to the new page.
6. Select SOF Data and click Properties to set the page number and name.
7. Under Address mode for selected pages, choose the User Hardware 1 offset as
listed in the memory map in Appendix Table A–1 as 0x006E.0000.
Restoring the CFI Flash Device to the Factory Defaults
To program the factory image to the flash device in the Quartus II Programmer, do the
following steps:
1. On the To ols menu in the Quartus II software, click Programmer.
2. In the Programmer window, click Auto-Detect.