Altera_Forum
Honored Contributor
16 years agoNIOS SOPC Flash Memory Interface (CFI)
I am trying to read the Query values from a CFI compliant flash device, a PC28F128P30b85.
I have implemented a NIOS SOPC solution with a tri-state bridge module and cfi-flash module. The cfi-flash module is configured for Intel256P30 so has 23 address bits and 16 data bits. When I access the Query bytes using IORD_8DIRECT(CFI_FLASH_BASE, i) I only get the even bytes returned. I.e. only "Q" and "Y", The same happens using IORD_16DIRECT(CFI_FLASH_BASE, i). What must I change to ensure that I am addressing the device correctly? Any ideas or sample code very welcome!