Altera_Forum
Honored Contributor
12 years agoCyclone V Active Serial configuration with Spansion S25FL serial flash
We have built a board with a Cyclone V FPGA on it and are trying to configure the FPGA via the active serial programming method using
the Spansion serial nor S25FL256SAGNFI001. The FPGA part number is 5CEFA7U19I7N. We are able to write FPGA configuration data to the flash and read it back successfully, but then when we turn off power to the FPGA and then apply power back, the FPGA will not program from the serial flash. Our MSEL pin settings are set correctly for active serial at 3.3V. We can observe the SPI clock and data toggling from the FPGA to the serial flash as the FPGA is trying to configure itself. But for some reason the configuration fails. Is there something that could be cause the flash chip to not be compatible with Cyclone V? Here's the contents of my nios2-flash-override file: [EPCS-010219]# Spansion S25FL256SAGNFI001 sector_size = 262144 sector_count = 128 I don't know if it is correct. I have tried setting the configuration scheme in Quartus (under device and pin options) as both active serial x1 and active serial x4 and neither of them seem to work correctly. Also when I try and use the nios2-flash-programmer it fails to verify the configuration bit-stream after writing it to flash. I have attached the relevant snippet from my schematic. Any ideas on what might be going wrong? Thanks! https://www.alteraforum.com/forum/attachment.php?attachmentid=7344