Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20705 Discussions

Accessing configuration device for user data

Altera_Forum
Honored Contributor II
928 Views

Hello, please advise where I can read about it. I need, after successful configuration of the CIII device from EPCS64, to use the same chip for user data storage. I think saw some information about it, but can not find it now. Is there any standard library/IP to use? How to use? 

Thank you!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
212 Views

The HAL driver provides the required functions for erasing/reading/writing EPCS memory. You only must pay attention not to corrupt the fpga configuration image.

0 Kudos
Altera_Forum
Honored Contributor II
212 Views

Assignments - Device - Device & pin options - Dual-purpose pins. There you need to allow using DCLK, Data[0], ASDO & nCSO as regular IO. Now you can use these pins in your code. Next step is to implement simple driver to read data from EPCS (AFAIK, EPCS64 is pin & interface compatible with M25P64, you can find M25PXX flash controller core on opencores.org)

0 Kudos
Reply