Forum Discussion
MT25Q512 Programming Issue When Connected to Cyclone 10CX150Y
Hello friends,
I am trying to program an MT25Q512 QSPI Flash memory that is connected to an Altera Cyclone 10CX150Y FPGA through QSPI CS, CLK, DQ0, DQ1, DQ2, and DQ3.
The Flash memory can be programmed successfully when it is standalone. However, programming fails when it is connected to the FPGA.
During programming, I hold:
- nCE High
- nCONFIG Low
Could you please confirm whether this should force the FPGA QSPI pins into a high-impedance state?
Please advise whether any additional FPGA pin control, board-level isolation, or specific programming sequence is required in order to program the MT25Q512 externally while it remains connected to the FPGA.
Best regards
1 Reply
- FakhrulA_altera
Regular Contributor
Hello,
Yes. For the Cyclone 10 GX, holding nCONFIG low and nCE high should reset the FPGA and tri-state its AS/QSPI configuration pins. This is the normal condition for external flash programming, so additional FPGA pin control or board isolation is not normally required.
Please verify the following:- Assert nCONFIG low and nCE high before any programmer activity, and keep them in that state until programming and verification are complete.
- Confirm the FPGA and MT25Q512 I/O voltages are compatible and that no other device is driving CS, CLK, or DQ0–DQ3.
- If Quartus/PFL is used, enable “Set flash bus pins to tri-state when not in use” and select the correct Micron MT25Q512 configuration.
- Probe the signals at the FPGA pins to confirm that the FPGA QSPI pins are high-impedance during programming.
If the failure remains, please provide the schematic around the QSPI interface, the exact MT25Q512 ordering code, programmer/software version, and waveforms for nCONFIG, nCE, CS, CLK, and DQ0–DQ3. This will allow us to distinguish a sequencing issue from board-level loading or flash-configuration incompatibility.
Regards,
Fakhrul