Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi Raz,
In this case, you need to use altasmi_parallel megafunction to write into the EPCS from your FPGA in user mode. The correct file format to be written into the EPCS is RPD file. You need to generate RPD file using QII conversion tool- Convert Programming File. However, the default RPD file also overwrite the whole EPCS memory with unused memory set to '1'. You only need the portion of the RPD file that consists the configuration data. Therefore, you need to use external binary tool to crop away the unused data and sustain the useful configuration data within the RPD, namely modified-RPD. With this, you only begin to write the rpd file into the EPCS at memory location 0x0. In fact, you also can sector protect the EPCS memory using the altasmi_parallel megafunction. See details in the User Guide. altasmi_parallel: http://www.altera.com/literature/ug/mfug_asmi.pdf Please make sure the relevant inputs into the altasmi_parallel block are correct and hopefully you can get it done well. Please try to write simple data into the EPCS and read it out to confirm the altasmi_parallel megafunction is working well now before you proceed to write the entire configuration data into the EPCS for reconfiguration purpose. I hope this help out pretty well. Regards, KT