Forum Discussion
Altera_Forum
Honored Contributor
13 years agoWriting to EPCS device from Serial Flash Loader & SPI IP core
I have a working hardware design whith Cyclone IVe. Inside the FPGA we have an SPI peripheral which reads and writes from/to any standard SPI bus. This IP core has been validated in dozens of o...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Thanks!! This seems to be working now :) --- Quote End --- Hi, i have to do similiar thing in my fpga (Cyclone IV E). I.E. i've made a SPI MASTER module in VHDL and now i want to use it to write to EPCS4 the configuration file (.sof). I try to explain better: now i program the fpga by using usb jtag cable and .jic file from quartus tool. what i want: .sof file ---> microcontroller ---> FPGA(SPI) ----> EPCS4 I hope this is clear. micro is connetted to fpga by 16 I/O ports and not to epcs. The goal of the micro is to fill FPGA registers with binary format sof file. The only way to write the epcs is with the dedicated pins of fpga (Dclk, CS, ASDI, DATA). I don't know where to start... :cry: Could you help me? Could you explain me what kind of modules i have to implement? How could pass the sof file to epcs4 by SPI in binary format? Thanks a lot.