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

alt_flash_open_dev return 0

Altera_Forum
Honored Contributor II
1,229 Views

Hi all 

 

I want to read and write the 4M flash on DE2. I add a tri-state bridge and connect the CFI to it in the sopc builder. But when I use alt_flash_open_dev to open the flash, it always return 0. Could anyone give me some advise? I use quartusII 9.1 and niosII 9.1. 

thx! 

 

I made a mistake. I check the flash again. It is 1M and the type is 29LV800TE-90PFTN, the datasheet said it compatible with JEDEC standard. But the sopc is CFI standard. Can this be the problem?  

 

ps: When I use the nios flash programmer, it shows no CFI table found. But the data shown below is correct. I set them by the control panel of DE2.
0 Kudos
0 Replies
Reply