Altera_Forum
Honored Contributor
18 years agoEP1C3T100C8N FPGA configuration problem
Hi everybody,
In my design I use an EP1C3T100C8N cyclone which gets configured from an EPCS1 serial device. EPCS1 is programmed from an external microcontroller that gets the data stream from a PC which reads an .hex file (generated with quartus II). The configuration device seems to be correctly programmed because during verification, every byte of data reads OK. But the FPGA cannot configure from the device. It is toggling DCLK, I can see what seems to be the first 128 bytes of configuration data going out at DATA pin (of EPCS1 device), but after that, the cycle repeats indefinitely. CONF_DONE never goes high but nSTATUS is toggling which probably means an error is detected... I have this particular thing in my system: FPGA's nCE pin is driven from the microcontroller and nCONFIG is not(nCE). (a 74HC04 inverts nCE pin, so I only need one I/O at µC side). So whenever FPGA should be started, the µC puts a '0' on nCE, the same time nCONFIG goes high, which should start the FPGA configuration process. This means the delay between nCE is '0' and nCONFIG goes high is only the propagation delay through the HC04 gate. (a few ns...) Can you help me find out what is wrong with my system?? Thank you very much Whitebird