Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

EPCS selection in Nios-IDE

Altera_Forum
Honored Contributor II
1,337 Views

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
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
434 Views

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 ---  

0 Kudos
Altera_Forum
Honored Contributor II
434 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
434 Views

Dear Mr. Atluri 

 

Starting the flash programmer is basic knowledge for a Nios user. You should read Altera manuals abut the subject and try some examples with the demo board. 

 

We can help you to avoid bugs and with less basic issues, but you should please get to the basics by yourself. 

 

Regards, 

Iztok Jeras 

 

P.S.: 

http://www.altera.com/literature/ug/ug_nio..._programmer.pdf (http://www.altera.com/literature/ug/ug_nios2_flash_programmer.pdf)
0 Kudos
Reply