Forum Discussion

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

EPCS selection in Nios-IDE

Hi Folks,

In the original version of a project, my system was based around the EPCS64, as I planned to have both the FPGA image and the Nios-II Application stored in the one device.

I have now moved the application to be stored in external flash, and want to move to an EPCS4.

I have changed all the settings in Quartus to target .POF output for an EPCS4, and re-complied the design. I have even built up a simple Hello world test project from scratch.

However, every time I run the Flash Programmer with the EPCS4 board attached, Flash Programmer fails. Lookng back through the various commands that have been run, there is a command line with a --EPCS64 reference.

If I connect up my old board with the EPCS64 fitted, all is well.

How do I set the Nios-IDE so that it knows to target an EPCS4?

Regards,

David

3 Replies

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

    Dear Sir,

    I am New to this Cyclone 2 FPGA testing.

    We have develoed our hardware board with Cyclone II FPGA>

    we have EPCS4 for Serial Flash Purpose.

    Can u guide me how can i test that EPCS4 controller.

    How can i load my Hardware Image and Elf files to that Controller.

    I want to run my total application in that EPCS4 Controller.

    Thanking u

    Regds

    ATLURI

    --- Quote Start ---

    originally posted by devans@Nov 10 2006, 11:46 AM

    hi folks,

    in the original version of a project, my system was based around the epcs64, as i planned to have both the fpga image and the nios-ii application stored in the one device.

    i have now moved the application to be stored in external flash, and want to move to an epcs4.

    i have changed all the settings in quartus to target .pof output for an epcs4, and re-complied the design. i have even built up a simple hello world test project from scratch.

    however, every time i run the flash programmer with the epcs4 board attached, flash programmer fails. lookng back through the various commands that have been run, there is a command line with a --epcs64 reference.

    if i connect up my old board with the epcs64 fitted, all is well.

    how do i set the nios-ide so that it knows to target an epcs4?

    regards,

    david

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19367)

    --- quote end ---

    --- Quote End ---

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

    Nios IDE only reads the .ptf file created by SOPC builder, check the file and SOPC builder for "64". EPCS64 may be the name you have given to your EPCS chip in the board description file.

    Which FPGA device are you using EPCS4 may be too small to contain the hardware image.

    You may create the flash programming script .sh by yourself, just edit the one created by the IDE and run it in the Nios II Command Shell (Cygwin). I you do not know what the parameters mean, find and read the manual or run the executables in the shell with a -h option for help.

    IzI