Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
790 Views

CFI flash 512Mbit access

Hi, 

 

I want to test the flash memory (Intel 512P30) on my board with the NIOSII. 

 

In Qsys, I instantiated a "Generic Tri-State Controller" with the "Intel 256P30" preset, I increased the address to 26 bits and the CMacro.SIZE to 67108864u. 

I can read/write the flash memory but only the first 256Mbit... It's the same with the NIOS Flash Programmer, it only see a 256Mbit memory from the CFI table... 

Is it because there are 2 dies in one chip, each die don't know there is another die in the chip? In Qsys, do I have to instantiate 2x 256Mbit flash, with different base address, instead of 1x512Mbit? 

I think the missing address bit will be "flash0_select_n" and the new nChipEnable will be "flash0_select_n AND flash1_select_n". 

 

Thanks for you help.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
79 Views

According to the flash memory datasheet, you select either die with the A25 address line. 

Then you probably have a problem with byte / word addressing
Reply