Forum Discussion
Cyclone IV GX (EP4CGX30CF23C7) Flash Issue
Hi Fakhrul,
Thanks for the response.
We captured the configuration signals on both the scope and logic analyzer (nCONFIG, nSTATUS, CONF_DONE, DCLK, and INIT_DONE). The measured waveforms on the new part (MX25V1606F) appear identical to those on the original part (MX25L1606E):
1.nSTATUS asserts high after nCONFIG goes high, followed by DCLK toggling at ~16.91 MHz.
2.CONF_DONE remains low throughout the capture window.
3.INIT_DONE goes high after configuration.
Could you please help review the attached captures and confirm whether the configuration sequence and timing look normal, or if you see any potential issue here?
Best regards,
Ronzhou
Hi Ronzhou,
Thank you for the scope and logic analyzer captures.
From the captures, configuration starts but does not complete:
- nSTATUS goes high after nCONFIG, and DCLK runs at about 16.9 MHz, which is within the 20 MHz maximum for the slow internal oscillator.
- INIT_DONE goes low shortly after DCLK starts. Per the Cyclone IV handbook, this happens after the INIT_DONE option bit in the first data frame is received, so the FPGA is reading the start of the image from the flash.
- CONF_DONE stays low the whole time.
- nCONFIG then goes low, and nSTATUS and DCLK follow. nSTATUS did not go low first, so the captures do not show the FPGA flagging a configuration error. INIT_DONE then goes high because nCONFIG is low, not because initialization completed.
Could you please confirm the following?
- In the 40 ms/div capture, was nCONFIG pulled low manually, or by a circuit on the board (MCU, reset supervisor, or watchdog)?
- What is the .rbf file size, and is bitstream compression enabled?
- With nCONFIG held high, please capture for at least 1.5 s and check whether CONF_DONE goes high.
- Which flash part was used for each capture?
Regards,
Fakhrul