Forum Discussion
Cyclone V Configuration Devices
I've got a Terasic Cyclone V GX development board. I removed the EPCQ256 configuration device and am testing two other alternatives (Macronix MX25L257 and Cypress S25FL128). I created a simple project with some LEDs and am using JTAG indirect programming to program the devices (jic file).
In both cases Quartus will program the devices and verify without error, but in neither case will the FPGA configure properly at power up (active serial). nCONFIG = 3.3V CONFIG_DONE = 0V nSTATUS = 2V (?) Any thoughts?40 Replies
- Altera_Forum
Honored Contributor
I assume he meant we should use ECPQXXX of the same size as the Winbond chip. It's not clear why we needed 17.1. Perhaps it generates a slightly different programming file. I'll ask him.
I had trouble downloading 17.1 as well but it finally worked albeit slowly. Probably too many people doing at once for a new rev. - Altera_Forum
Honored Contributor
--- Quote Start --- It's not clear why we needed 17.1. Perhaps it generates a slightly different programming file. I'll ask him. --- Quote End --- I notice 17.1 has an ECPQ128 and an ECPQ128A option. I don't recall if 17.0 and earlier had the "A" version, but maybe that's what is different. - Altera_Forum
Honored Contributor
Apparently 17.1 is the first version supporting the new EPCQA family. The Winbond 128 and 256 Mbit devices seem to be compatible with respective EPCQA chips. It might be that they are also recognized as EPCQ but I didn't yet check.
- Altera_Forum
Honored Contributor
Confirmed, Winbond W25Q128JV works as a EPCQ128A when using Quartus 17.1.
- Altera_Forum
Honored Contributor
--- Quote Start --- Confirmed, Winbond W25Q128JV works as a EPCQ128A when using Quartus 17.1. --- Quote End --- ilkkak, That's a relief to hear. Just to be sure I understand, your board boots now? We're making a board with the exact same Winbond chip (W25Q128JV except smaller WSON 6x5 mm package) in Active Serial x1 mode and it would be nice to know if it will work. We were going to have to switch to a different FPGA vendor if we could not find a FLASH solution. - Altera_Forum
Honored Contributor
If this really works, as corestar imagines, I'm thrilled as well.
- Altera_Forum
Honored Contributor
Yes, with the W25Q128JV it boots and works fine in all respects as far as I can tell with a day's testing. I'm using ASx1 too.
- Altera_Forum
Honored Contributor
--- Quote Start --- Yes, with the W25Q128JV it boots and works fine in all respects as far as I can tell with a day's testing. I'm using ASx1 too. --- Quote End --- Thanks for the info. One less thing to worry about. Hopefully, Intel will simplify this in the future, but this works for now. Seems like their own 3D XPoint memory would be an ideal solution to replace their SRAM based FPGA with something that combines the best of FLASH and SRAM based chips. I'm not knowledgeable enough to know for sure of course, but it seems like it is denser, cheaper and lower power than SRAM and would eliminate the need for external FLASH altogether. - Altera_Forum
Honored Contributor
ilkkak,
We got our board with the W25Q128JV and I'm having trouble. Could you provide more details on how you got it working? I'm trying to follow AP370 but it is not very clear. We set MSEL to 10011 and the schematic is as per Fig 7-9 in the Cyclone V datasheet for "Single device As x1 Mode Configuration". CLKUSR is not connected. I created a JIC file as per AN370, but after a while the config fails with an error that it can't recognize the silicon ID. Note, I can program the FPGA itself fine with the sof used to create the jic. Do I have to create the Serial Flash Loader core in the design? AN370 seems to imply it will use a factory default. https://alteraforum.com/forum/attachment.php?attachmentid=14755&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=14756&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=14757&stc=1 - Altera_Forum
Honored Contributor
Hi corestar,
I have MSEL at 10010, but 10011 should be fine for ASx1, it's the same configuration but with a longer POR delay. CLKUSR is not connected. I don't think you need a Serial Flash Loader core if you don't specifically want to make your own flash loader. In Conversion Setup I have the start address of SOF data set to 0x0, and "Disable EPCS/EPCQ ID check" is enabled in the Advanced Options. Otherwise the conversion setup is the same as yours.