Converting .sof to .pof, Quad spi flash memory – Altera Arria V SoC User Manual

Page 43

Advertising
background image

Appendix A: Programming Flash Memory

A–3

Quad SPI Flash Memory

June 2014

Altera Corporation

Arria V SoC Development Kit

User Guide

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\arriaVST_5astfd5kf40es_soc\factory_recovery\max<version>.pof. For
more information, refer to

“Restoring the MAX V CPLD to the Factory Settings”

on page 3–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 to .pof

To generate a flash programming file, you must use the Quartus II software and
convert .sof files to .pof files.

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

.

Quad SPI Flash Memory

Programming Quad SPI Flash using the Quartus II Programmer

Although the quad SPI flash is not programmed by factory default, you can program
this device using quartus_hps.exe that resides in the quartus/bin directory. To use
this tool, open a command window and change directories to your 13.0 or later
installation (e.g. c:\altera\13.1\quartus\bin). To program an entire file to quad SPI
flash starting at address 0 type:

quartus_hps.exe -c <programming cable index> -o P <flash_boot_image.bin>

For help and more options, type quartus_hps.exe --help

Advertising