Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Quartus 9.1 SP1 POF file generation

Hi All,

Has any one tried creating a POF file for the following setting using Quartus 9.1 SP1.

Devices: EP2AGX125EF29C6ES

CFI flash size: 512 MB

Mode: Fast passive parallel.

I am able to generate a POF file using the COF shown below only with 9.0 SP2.


<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<cof>
    <eprom_name>CFI_512MB</eprom_name>
    <output_filename>test.pof</output_filename>
    <n_pages>2</n_pages>
    <width>1</width>
    <mode>6</mode>
    <sof_data>
        <start_address>00640000</start_address>
        <end_address>00C4A78F</end_address>
        <user_name>Page_1</user_name>
        <page_flags>2</page_flags>
        <bit0>
            <sof_filename>test.sof</sof_filename>
        </bit0>
    </sof_data>
    <sof_data>
        <start_address>00020000</start_address>
        <end_address>0062A78F</end_address>
        <user_name>Page_0</user_name>
        <page_flags>1</page_flags>
        <bit0>
            <sof_filename>test.sof</sof_filename>
        </bit0>
    </sof_data>
    <version>4</version>
    <options>
        <map_file>1</map_file>
        <option_start_address>18000</option_start_address>
    </options>
</cof>
The above COF code is from Altera arria II gx development kit. I tried the same with 9.1 and 9.1 SP1, but both versions could not generate a POF file. The error is "Size of files(s) in CFI_512MB exceeds memory capacity". Am I doing some thing wrong?

Thanks,

Kumaran

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There is a good idea to download programing file into EPCS(or CFI) via JTAG in Quartus II. In QII, file->Convert Programming Files.., Convert sof into jjc, then it works.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I guess you mean JIC. Quartus can create JIC file only for EPCS devices and my design has CFI flash. Thanks for your help.

    Kumaran
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In QII, file->Convert Programming Files.., Convert sof into pof, then it works.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It works in 9.1 SP1. I had to change the end address in the COF file to 0x0062A795 for page 0 and 0x00C4A795 for page 1.

    Thanks for your help and time.

    Kumaran