Forum Discussion

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

a problem about the flash test project!

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!

2 Replies

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

    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.