Forum Discussion
Hi Pushpa,
Thanks for contacted us.
By referring to this,
https://community.intel.com/t5/Programmable-Devices/NAND-flash-programming-model/td-p/120597
Can you help me to get the status of alt_nand_flash_init, alt_nand_flash_page_write, and alt_nand_flash_page_read?
Thanks
Regard
Aliff
- Pushpa4 years ago
New Contributor
Hello Aliff,
alt_nand_flash_init status code is ALT_E_SUCCESS
alt_nand_flash_page_write status code is also ALT_E_SUCCESS
alt_nand_flash_page_read status returns 0xFFFFFFFF
read operation is failing.
How to access the command, address and data registers of NAND flash as we do in case of other interfaces like QSPI flash, i can directly send read write commands to the device and it works also.
Where as in case of NAND flash, cyclone V datasheet does not explain much about accessing command, data and address registers. datasheet just explains what commands to send for particular operation but how to access those registers, so that we can do read write operation directly using the register addresses.gard
Please guide.
Regards
Pushpa