Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFlash memory problem
Hello, is it true that I cannot write 1MB of data into flash memory (4M)? I am using Altera DE2 Board. My code is as follow: --- Quote Start --- # include <stdio.h># include <stdlib.h...
Altera_Forum
Honored Contributor
15 years agoThe only explanation I can give you is that the second flash block is locked.
You can read the lock status and possibly unlock it in order to allow erase and write operations. I don't know if the HAl driver supports these operations; if not, you must make it manually with direct IOWR/IORD; it's not difficult, but you must search the required command sequence in the flash device datasheet.