Forum Discussion

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

Trouble with EPCS64

I am working on a custom design using a Stratix II EP2S15 and a EPCS64 as my configuration device.

I am using the Flash Programmer utility to program the EPCS so that it will load my FPGA design and Nios II design on power-up.

The Flash Programmer completes successfully, but when I cycle power the FPGA design runs, but the Nios II design does not.

Any ideas on what steps I may have left out?

4 Replies

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

    Sandyfeet,

    Thank you for the quick response. The link that you sent me definitely sheds some light on what the problem is. However the steps defined do not appear to program the .SOF file into the EPCS device. It seems that it only loads the Nios II design into the EPCS device. Are there steps that it doesn't mention on how to program the .SOF and the new .Flash with offset at the same time?

    Thanks for the help!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I think, the older version of Nios II flash programmer allowed for the programming of FPGA configuration in EPCS memories, but the new versions don't. The new versions allow for only cfi flash memory programming for FPGA configuration data even with an EPCS controller instantiated in the system. I think you'll need to program both separately: Use Quartus II programmer to program the .pof file and use the Nios II flash programmer to program the .elf file. May be someone else can suggest a way to program the .pof file in EPCS memory through Nios II flash programmer, if it exists.

    Cheers,

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

    Can someone else verify what BD_SLS posted. From what I have read the Flash Programmer still supports programming FPGA Configuration from EPCS devices in version 7.1

    Thanks!