Forum Discussion

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

Cyclone III configuration scheme

Hi

I'm confuse with Cyclone fpga family and configuration schemes.

In school we have an Altera board with a Cyclone II fpga, I know that the board use an EPC2 configuration device and we use the usb blaster download cable to download configuration data to the FPGA.

Now if I have a board with a Cyclone III fpga and I want to use the usb blaster, what should I use? Active serial? Pasive serial?

I don't understand differences between configuration devices, enhaced configuration devices or serial configuration devices.

Any help will be great, thanks. :)

18 Replies

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

    --- Quote Start ---

    Then, the second scheme (JTAG) is like figure 9-30 ? http://www.altera.com/literature/hb/cyc3/cyc3_ciii51016.pdf

    --- Quote End ---

    Yes, this scheme supports configuration from EPCS, and reprogramming of the EPCS device via JTAG. However, you must take care and read the footnotes - (2) indicates that you need to refer to Table 9–7 on page 9–11 for the MSEL options that can be used with AS mode.

    --- Quote Start ---

    How should I connect MSEL pins? according to table 9-7 all pins to GND is ok?

    --- Quote End ---

    Grounding all MSEL pins is not a valid Active Serial (AS) mode. Re-read the table, and you'll see several options for AS mode. The mode to select depends on the rest of your board design.

    Cheers,

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

    Thank you both for the MSEL pins explanation

    I have one more question about .sof and .pof files, I remember we used .pof file at school, I know .pof is Programmer Object File and .sof SRAM Objet File but, files are indifferent of the configuration scheme used? what is the relationship between files and configuration schemes?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I have one more question about .sof and .pof files, I remember we used .pof file at school, I know .pof is Programmer Object File and .sof SRAM Objet File but, files are indifferent of the configuration scheme used? what is the relationship between files and configuration schemes?

    --- Quote End ---

    .sof is the file you configure the FPGA with via JTAG.

    That same file can be converted to other formats for an external programmer, eg., .rbf format, Jam STAPL format, etc.

    My experience with .pof files is that they are the configuration files used when programming EPC2 configuration EEPROMs, so they are basically .sof files reformated to whatever is required by the EPC2 device.

    Cheers,

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

    ohh ok I understand now, thanks for all your answers they have been very helpful, I'm going to work in my design

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

    Hi again,

    I tested my design and its working!!! :o

    I've only programmed simple things to check I/Os in my board, but it is doing well.

    I want to thank you, all your answers really helped me a lot.

    But I have one more question, when programming, it really takes a while erasing the device (I use an EPCS64), then quickly program and verify (almost 2minutes in total), is this normal?

    The first time I programmed the FPGA almost had an attack due to expected, in college I was used to quickly program (with a EPC2).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I tested my design and its working!!! :o

    --- Quote End ---

    Excellent!

    --- Quote Start ---

    But I have one more question, when programming, it really takes a while erasing the device (I use an EPCS64), then quickly program and verify (almost 2minutes in total), is this normal?

    The first time I programmed the FPGA almost had an attack due to expected, in college I was used to quickly program (with a EPC2).

    --- Quote End ---

    It depends on what tool you are using; some use a chip erase command to erase the flash, while others use sector erase on just the sectors that need to be reprogrammed.

    So how long to these take? Well, lets look at a 128Mbit SPI flash data sheet:

    http://www.micron.com/~/media/documents/products/data%20sheet/nor%20flash/5975m25p128.pdf (http://www.micron.com/%7e/media/documents/products/data%20sheet/nor%20flash/5975m25p128.pdf)

    Bulk erase time = 130 to 250s

    Sector erase time = 1.6 to 3s

    Read the documentation for the various tools, or signal tap the EPCS interface and see what SPI flash command (sector or bulk erase) is being issued.

    Cheers,

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

    Oh ok, thank you for the info.

    I'll keep reading and practising with my board, hopefully someday I'll also answer some questions in the forum :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Oh ok, thank you for the info.

    --- Quote End ---

    You're welcome.

    --- Quote Start ---

    I'll keep reading and practising with my board, hopefully someday I'll also answer some questions in the forum :)

    --- Quote End ---

    Please do!

    Cheers,

    Dave