Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFlash Memory
Hello. I am using Altera DE2 Board with Flash (1Mb). I want to know how to store data into and read data from flash memory. For example, I want to store 1-10 into the flash. Then, I will read the num...
Altera_Forum
Honored Contributor
15 years agowhy need rv when write data?
This is not mandatory, but recommended to check if data has been written correctlywhere is the data when we read it from the flash? like i want to print out the data.
??? What's the problem? The buf array contains your data. Maybe this way is clearer: int buf[10]; alt_flash_read(pFlashDevice, addr, buf, 10);Remark: remove epcs_ from the previous post. I copied and pasted from a project using epcs instead of parallel flash and forgot to change function names.