Altera_Forum
Honored Contributor
15 years agoWrite/Read EPCS4 with NIOSII
I'm a newbie. I want to read and write on my EPCS4 connected directly to a Cyclone3.
I included in my SOPC Builder: - CPU - On chip memory (RAM) - EPCS serial flash controller The first problem I encountered is: Pin dclk -> DCLK Pin sce -> FLASH_nCE Pin sdo -> DATA1_ASDO Pin data0 -> DATA0 ok but the pin MISO ->????? how I connect the FPGA pin? I do not connect it. I will try to write and read a bit on the EPCS, I read a lot of discussions but I could not get my software. I followed those who should be included and defined as follows: # include "system.h"# include "sys / alt_flash.h"# include "altera_avalon_epcs_flash_controller.h"# define ALT_USE_EPCS_FLASH Could you be so kind as to suggest a simple listing that will enable me to write and read a bit on EPCS. Then I hope to be able to continue alone.