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++
12589 Discussions

a problem about the flash test project!

Altera_Forum
Honored Contributor II
851 Views

I construct a system, then I run nios IDE and select flash_tests project , I build it, but the console displays ext_flash_name undeclared, so I find the flash name from sopc! I change the flash name as cfi_flash_0! 

 

but the console display "error :'cfi_flash_0' undelared ( first use in this function)! 

 

why? how do I change the flash name? 

 

thank u!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
212 Views

The name you need is the SOPC_Builder name of your flash capitalised with _NAME on the end. Or /dev/sopc_builder_name_of_flash. This is coverred on page 4-6 of the Nios II Software Developers Handbook.

0 Kudos
Altera_Forum
Honored Contributor II
212 Views

look for the real name in system.h

0 Kudos
Reply