Forum Discussion
Altera_Forum
Honored Contributor
13 years agoWriting/Reading into/from EPCS Flash Device
I am sorry for starting a new thread for this when there are some old threads of me and other in the same topics. I am not getting a response for those as yet. I am greatful to the forum as i have so...
Altera_Forum
Honored Contributor
13 years agoThe epcs is quite simple to access with the standard APIs.
Reading flash data is straightforward. For writes, the only point you must make sure is that the location you want to write to is blank. Otherwise you'll need to erase the whole block/sector: infact, like any other flash memory you can program single bytes but you can't erase them the same way. Then try repeating your test after you added a block erase before writing the first data. In the first post you talked about EPCS16 device and said it has 32 sectors of 24 bits each; this is not true EPCS16 indeed has 32 sector, but they are 64kBytes each.