Converting .sof files to a .pof, Programming altera cplds and flash memory – Altera Stratix V Advanced Systems User Manual

Page 38

Advertising
background image

A–2

Appendix A: Programming the Flash Memory Device

Converting .sof Files to a .pof

Stratix V Advanced Systems Development Kit

February 2013

Altera Corporation

User Guide

Converting .sof Files to a .pof

To generate a programming file with different compression features, you must
convert the .sof files to a .pof. To convert the .sof files to a .pof, follow these steps:

1. On the File menu of the Quartus II Programmer, click Convert Programming

Files

.

f

For more information, refer to the

Quartus II Programmer

chapter in

volume 3 of the Quartus II Handbook.

2. For Programming file type, specify Programmer Object File (.pof) and name of

the file.

3. For Configuration device, select CFI_1Gb.

4. For Mode, select Fast Passive Parallel x8.

5. To add the configuration data, under Input files to convert, select SOF Data.

6. 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. You can use Sof Data Page_0 to configure

FPGA1 and Sof Data Page_1 to configure FPGA2. From the factory, your board
will have contents written to flash memory in Page_0.

7. Select SOF Data and click Properties to set the page number and name. Under

Address mode for selected pages

, select Block with the following address ranges:

For Page_0, the Start Address is 0x0020000. The End Address is 0x209FFFF.

For Page_1, the Start Address is 0x20A0000. The End Address is 0x40FFFFF.

Table A–1 on page A–1

shows the complete CFI flash memory mapping.

8. Click OK.

9. Click Options to specify the start address to store the option bits. The start address

for this kit is 0x018000. This start address must be identical to the address you
specify when creating the PFL megafunction. Ensure that the option bits sector
does not overlap with the configuration data pages and that the start address
resides on an 8-KB boundary.

10. Click Generate to create the .pof.

Once you have the necessary .pof files, you can use the MAX V based PFL to
reprogram the flash memory.

Programming Altera CPLDs and Flash Memory

Using the Quartus II Programmer, you can program Altera CPLDs and flash memory
device, allowing you to program, verify, erase, blank-check, or examine the
configuration data page, the user data page, and the option bits sector separately,
provided the CPLD contains the PFL megafunction.

Advertising