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.
12748 Discussions

Can't open CFI Flash from NIOS

Altera_Forum
Honored Contributor II
1,313 Views

Hi, 

 

I use Numonix PF48F2000 Flash as configuration device in Active parallel mode, but also need to access it from the application. The configuration part works just fine, however access to the Flash through the API (alt_flash_open_dev ) fails. I have no problems reading/writing to EPCS device with the same functions.  

 

My configuration: Cyclone III, Quartus 9SP2. 

 

Thank you.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
569 Views

I think you must check the altera_avalon_cfi_flash_table.c file and other altera_avalon_cfi_flash*.* files located in \altera\90sp2\nios2eds\... and in \altera\90sp2\ip\...  

Probably there is no CFI entry for your device and you simply need to add it. 

You can build the syslib in debug mode and step into alt_flash_open_dev() in order to find the exact point where the function fails. 

 

Regards  

Cris
0 Kudos
Altera_Forum
Honored Contributor II
569 Views

Thanks Cris, it's exactly the case. Will have to make my Flash recognizable.

0 Kudos
Reply