Forum Discussion
MT25QL128 Not Available in ALTASMI_PARALLEL Configuration Device List
Hi everyone,
I'm working on a design with Cyclone FPGA(s) in a master/slave (active/passive) configuration, using a Micron MT25QL128 flash device for FPGA configuration storage.
While trying to instantiate the ALTASMI_PARALLEL IP, I noticed that the configuration device list only contains devices such as:
- EPCS16/64/128
- EPCQ16/32/64/128/256/512
I cannot find MT25QL128 in the list.
I have the following questions:
- What is the recommended configuration device selection in ALTASMI_PARALLEL when using a Micron MT25QL128?
- Is selecting EPCQ128 the correct approach since both devices are 128 Mbit?
- Are there any known compatibility issues between ALTASMI_PARALLEL and MT25QL128 regarding Read ID, status register access, sector erase, or page programming?
- When converting a SOF to a JIC file in Quartus, i can see in that list as configuration device for an MT25QL128 flash.
For reference:
- FPGA family: Cyclone IV E
- Flash device: Micron MT25QL128
- Configuration method: Active Serial
- Application: Master/Slave FPGA system with configuration stored in external flash
Any guidance or experience with this setup would be greatly appreciated.
Thanks!
8 Replies
- umut_arrow
Occasional Contributor
Hi,
I believe the right choice for Micron MT25QL128 is EPCQ-A configuration (EPCQ128A).The reason ASMI Parallel IP only lists EPCS/EPCQ, but Convert Programming File tool lists MT25Q, this is most likely because they're separate tools. Nonetheless, the tool with target the flash device correctly in Active Serial programming.
In terms of the known issues, I can see a couple when I searched the Forums and the Knowledge Base, but all of them seem to be fixed with an older version of Quartus.
https://community.altera.com/kb/knowledge-base/how-do-i-enable-microns-mt25q-device-support-in-replacement-to-end-of-life-eol-e/345149
- FvM
Super Contributor
Hi,
In ASMI II User Guide, Altera is suggesting to use Generic Serial Flash Interface IP for third party flash devices. Personally I prefer ASMI for its simple low level interface that fits best my communication interface. I can confirm that MT25QU512 works with ASMI in EPCQ512 configuration. I guess that MT25QL128 will work with EPCQ128 settings as well, but I didn't test. I'm using Winbond flash that's fully compatible with EPCQ128, both for ASMI IP and .jic generation.
Regards Frank
- SharmaUmesh278
New Contributor
Thanks, umut_arrow and FvM , for the helpful information and references. I'll proceed with the EPCQ128/EPCQ128A setting and verify MT25QL128 compatibility in my design. Much appreciated!
- FakhrulA_altera
Regular Contributor
Hello SharmaUmesh278,
Thank you for the update. Could you please share the latest status of your MT25QL128 validation using the EPCQ128/EPCQ128A setting?If the design is working as expected, please confirm so we can close this case. Otherwise, please let us know the issue encountered.
Best regards,
Fakhrul
- SharmaUmesh278
New Contributor
Dear FakhrulA_altera,
I am still working on it ( Since i was on vacation) . I will let you know here once it is complete.
Thanks and best regards,
Umesh
- FakhrulA_altera
Regular Contributor
Hi SharmaUmesh278,
Any updates?
Regards,
Fakhrul
- SharmaUmesh278
New Contributor
Hi umut_arrow , FakhrulA_altera ,
Sorry for the late reply.
I have now verified that the MT25QL128 works with the EPCQ128/EPCQ128A setting in the ALTASMI_PARALLEL IP, and I am able to read the configuration data successfully.
At the moment, I am still validating the complete configuration sequence in my Cyclone IV master and 10 LP slave (active/passive) FPGA setup. I have observed that the nSTATUS signal behaves as expected, but I am still investigating some aspects of the passive-device configuration flow. In particular, I am not yet seeing the expected behavior on signals such as nCONFIG, CONF_DONE, and the related configuration handshaking signals from the slave FPGA.
Based on the Active Serial configuration waveform and the configuration chapter for Active/Passive Cyclone FPGA configuration ( 13. Configuring Cyclone FPGAs) , I am checking whether the observed behavior is expected or whether there are additional timing or sequencing requirements that need to be considered.
Overall, the MT25QL128 appears to be compatible with the EPCQ128/EPCQ128A setting. However, I would appreciate any guidance regarding Passive Serial (PS) configuration of the slave device. Is there any reference VHDL code, example design, or Intel/Altera IP available for implementing the Passive Serial configuration sequence between the master and slave FPGAs?
Thanks and regards,
Umesh
- FakhrulA_altera
Regular Contributor
Hi Umesh,
Thank you for confirming that MT25QL128 works with the EPCQ128/EPCQ128A setting.
For AS multi-device configuration, no separate VHDL or IP is normally required. Set the master to AS mode and the slave to PS mode, with nCONFIG, nSTATUS, and CONF_DONE shared, and route DATA[0] and DCLK to the slave as described in the Cyclone 10 LP handbook. Please note that nCONFIG is an input, not a handshake output from the slave.
Please also verify the DCLK timing: start DCLK only after nSTATUS is high, and provide at least two additional falling DCLK edges after CONF_DONE rises. If necessary, enable a post-chain bitstream padding byte.If the issue remains, please share one waveform showing nCONFIG, nSTATUS, CONF_DONE, DCLK, and DATA[0], together with the exact FPGA part numbers and Quartus version.
Best regards,
Fakhrul