Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- How about using the 4 Mb chip EPCS4 or an equivalent Serial NOR Flash (M25P40), and just leaving the bit stream uncompressed... It will take longer for the FPGA to program, but will still probably be done before your CPU is ready. If you are using true EPCS parts, it's probably cheaper to go to the larger M25P40 device. That way you only have to use the uncompressed bitstream. --- Quote End --- Yes, this is only possibility how to make workaround if there is no description about how is compressed/decompressed bitstream. Thank you for support! I want to be sure that tehere is no documentation about compression. I did a quick test, where EP2C5 is in PS config mode AVR32 is connected to SST25VF032Bvia SPI interface, and NCONFIG,NSTATUS,CONF_DONE SST25VF032B CLK and DOUT is connected parallel to DCLK and DATA0 SST25VF032B has stored image with LSB first in each byte And I did -NCONFIG=0 -sending reading command to SST25VF032B -NCONFIG=1 and wait for NSTATUS=1 -continue in reading of SST25VF032B for size of bitstream -and wait for CONF_DONE -after CONF_DONE (EP2C5 - USER MODE) the SST25VF032B can be used by AVR32 for normal operation. This works too. And no EPCS is needed. It is fast as possible even controlled of MCU (AVR32) - only clock during configuration needed after initiating reading of SST25VF032B. Question: - ALTERA says that both pins DCLK and DATA0 should be connected to VCC or GND in PS configuration when is USER MODE (after CONF_DONE) - I read this ALTERA statement as pins should not be floating and it doesn't matter if pins have 1 or 0. - Does can anything happend to EP2C5 when I toggling its DCLK and DATA0 during USER MODE by external AVR32? (A reason why I need this, that SST25VF032B is connected in parallel with these pins) I did a test it seems nothing happends, but no confirmation by documents.