Forum Discussion

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

How to program EPCQ4ASI8N for an old Cyclone FPGA

Hi,

Is there a way I can program a EPCQ4ASI8N to work with Cyclone I?

I have to keep some products which still use Cyclone I FPGA with EPCS4SI8N.

Due to EPCS4SI8N discontinuation, the EPCQ4ASI8N might be a possible alternative, as advised in PDN1708.

My problem is that the Cyclone 1 was supported until the Quartus 10.1 version, and the support for the EPCQ4ASI8N begins from Quartus 17.1.

I thought that the solution would be just to take de .pof file, generated by Quartus 10.1, and just program the new device EPCQ4ASI8N with the Quartus 17.1 programer, but I got the following message from Quartus 17.1 programer when I tried to change de device to EPCQ4A:

"Device EPCQ4A selected for replacement is incompatible with target device EPCS4 associated with programming file..."

So I don´t know how to generate the .pof in the old Quartus 10.1 since it does not support EPCQ4A yet.

Is there a better way to do that?

13 Replies

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

    Don't you really want to put a .sof file inside a .jic file that is used to program the EPCS device?

    For example, I use this tool:

        $(QUARTUS_BIN)/quartus_cpf -c DESIGN.cof
    

    With this contents of the DESIGN.cof file:

    <?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
    <cof>
        <eprom_name>EPCS4</eprom_name>
        <flash_loader_device>EP2C20</flash_loader_device>
        <output_filename>DESIGN.jic</output_filename>
        <n_pages>1</n_pages>
        <width>1</width>
        <mode>7</mode>
        <sof_data>
            <user_name>Page_0</user_name>
            <page_flags>1</page_flags>
            <bit0>
                <sof_filename>DESIGN.sof</sof_filename>
            </bit0>
        </sof_data>
        <version>4</version>
        <options>
            <map_file>1</map_file>
        </options>
    </cof>
    

    for producing the programming image of the EPCS4 device attached to my CycloneII device.

    You will have to change the EPCS type and the FPGA type to match your board specification.

    I am using Quartus 13.0sp1 as that is the last version to support Cyclone II device (and I believe Cyclone I as well).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi,

    Is there a way I can program a EPCQ4ASI8N to work with Cyclone I?

    I have to keep some products which still use Cyclone I FPGA with EPCS4SI8N.

    Due to EPCS4SI8N discontinuation, the EPCQ4ASI8N might be a possible alternative, as advised in PDN1708.

    My problem is that the Cyclone 1 was supported until the Quartus 10.1 version, and the support for the EPCQ4ASI8N begins from Quartus 17.1.

    I thought that the solution would be just to take de .pof file, generated by Quartus 10.1, and just program the new device EPCQ4ASI8N with the Quartus 17.1 programer, but I got the following message from Quartus 17.1 programer when I tried to change de device to EPCQ4A:

    "Device EPCQ4A selected for replacement is incompatible with target device EPCS4 associated with programming file..."

    So I don´t know how to generate the .pof in the old Quartus 10.1 since it does not support EPCQ4A yet.

    Is there a better way to do that?

    --- Quote End ---

    If you still have Quartus 10.1, you can try two things with the Quartus 10.1:

    1. Use your existing .pof file and program the EPCQ4A using the 10.1 programmer

    2. Generate a new .pof file in the 10.1 programmer for the EPCQ4 flash (without A) and try programming the EPCQ4A device