Forum Discussion
AMass
New Contributor
4 months agoTrying to reach an EPCQ128A thought Cyclone V dedicated pins, after FPGA loaded in FPPx32
Hello. Considering the configuration in the table below. FPGA/HPS 5CSXFC6D6F31I7 EPCQ EPCQ128A MSEL 0b01010 (FPPx32) GSFI CSR addr 0xC0010000 Configuration HPS boot fr...
FakhrulA_altera
Regular Contributor
4 months agoHi AMass,
From my understanding, yes, you can keep MSEL at FPPx32 and access the EPCQ128A in user mode, but not via the HPS GSFI on the AS‑dedicated pins. Those pins aren’t driven by GSFI, which is why RDID returns 0xFF.
Recommended approach:
- Keep MSEL=0b01010 (FPPx32).
- Instantiate the ASMI Parallel II IP in the FPGA and expose it to HPS via H2F/H2F‑Lite to read/write the EPCQ.
- Enable user‑mode access to the AS interface in Quartus (Device and Pin Options).
- Ensure only one master drives the flash; keep WP# and HOLD# high.
If you prefer to use GSFI, the flash must be routed to regular FPGA I/O (or use the HPS QSPI controller).
Regards,
Fakhrul
- AMass3 months ago
New Contributor
Hello.
We will try this solution using this ASMI Parallel II IP soon.
Thanks for your reply.
- JohnT_Altera3 months ago
Regular Contributor
Hi,
It is not possible. you will need to have the FPGA booted as AS mode in order for you to access the EPCQ in user mode. If you are booting the FPGA in FPPx32 mode then you will not able to access the EPCQ through AS dedicated pin.