Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Accessing configuration device for user data

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!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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)