Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFPGA cyclone4 and EPCS16
I am mew to this field.
I am using cyclone 4 FPGA.I want to configure automatically when power up.So i found AS mode with EPCS16 and JTAG.As give on handbook ,i need maximum around 9 MB RAM.So i am using EPCS16.Is it right approch ?12 Replies
- Altera_Forum
Honored Contributor
You should review Cyclone IV handbook's Figure 8-6 in-system programming of serial configuration devices, Figure 8-22 combining jtag and as configuration schemes and Figure 8-23 programming serial configuration devices in-system using the jtag interface to learn about the different AS configuration options.
- Altera_Forum
Honored Contributor
Hello,
I did my connection EPCS16 and FPGA and 5*2 connector. I did nt use TDI,TDO,TCK,TMS, which is for JTAG... I dont understand as i am using JTAG interface and why i dont need this pin connection.I dont have clear picture of serial configuration with 5*2 connector..I found this on EPCS16 data sheet figure 3.2...Please clarify http://www.altera.com/literature/hb/cfg/cyc_c51014.pdf thanks... - Altera_Forum
Honored Contributor
--- Quote Start --- Hi Kevin, I know there are 3rd party 8Mb devices, but never tried one. I never did, because Altera checks device ID before programming and I supposed that the 8 Mb ID (0x13) wouldn't be supported. But it is, if I read your post. Could you confirm this? Or did you use a different way to program your device? Thanks, Ton --- Quote End --- The 8 Mbit part I have used successfully is the Numonyx M25P80. When I first starting using it, I was able to simply create a JIC file with the device set to EPCS4 to program it without any trouble. However, after upgrading to a newer version of Quaruts (I don't remember which exact version at the moment), this method would fail complaining about the wrong ID (even when you check the ignore ID option). I then found I could convert the JIC file to a JAM file and was able to remove the ID check from the JAM file. During the initial debugging of all this, I also successfully used an aardvark (http://www.totalphase.com/products/aardvark_i2cspi/) (USB to I2C/SPI adapater) to program the flash. I also tried an Atmel 8 Mbit part, but the Cyclone III refused to configure from it. - Altera_Forum
Honored Contributor
I´ve not used any C4 part, so I don´t know about AP programming mode.
For AS (but maybe also for AP): For programming your flash device via JTAG, you have to convert your sof-file to a jic-file (file -> convert programming file). In the programmer, select the jic-file and your flash device can be programmed by JTAG. After programming switch power off and on and your FPGA configuration will be loaded from flash. Good luck, Ton - Altera_Forum
Honored Contributor
Hello friend ,
I am again here... I m confused somewhat...Actuall i want to load my configuration in EPROM via JTAG interface.And When power up , EPROM configure my Cyclone4. But as i found two schem AS and AP... AP-In the AP configuration scheme, Cyclone IV E devices are configured using commodity 16-bit parallel flash memory...AS also support flas memory... So i dont understand. and How can i make JTAG->configuration device ->Cyclone 4 interface... Thank you again.... - Altera_Forum
Honored Contributor
--- Quote Start --- EPCS8 may not exist, but I have had sucsess using an 8 Mbit 3rd party serial flash. --- Quote End --- Hi Kevin, I know there are 3rd party 8Mb devices, but never tried one. I never did, because Altera checks device ID before programming and I supposed that the 8 Mb ID (0x13) wouldn't be supported. But it is, if I read your post. Could you confirm this? Or did you use a different way to program your device? Thanks, Ton - Altera_Forum
Honored Contributor
--- Quote Start --- EPCS8 does not exist. It is EPCS1, 4 , 16, 64 or 128. --- Quote End --- EPCS8 may not exist, but I have had sucsess using an 8 Mbit 3rd party serial flash. - Altera_Forum
Honored Contributor
Note that if you have any plans to perform field updates of your FPGA configuration you may wish to select an EPCS device that has enough space to support two images.
Jake - Altera_Forum
Honored Contributor
EPCS8 does not exist.
It is EPCS1, 4 , 16, 64 or 128. Cheers, Ton - Altera_Forum
Honored Contributor
Maybe.
An EP4C40's configuration stream is over 9Mbit uncompressed. Therefore, an EPCS8 (8 Mbit) is not enough. However, the FPGA supports compressed configuration streams. Depending on the design, compression may allow the configuration to fit in an EPCS8.