Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi Jen,
I have an EPCS16 connected to Cyclone III. The hardware connection permits both download .sof file via jtag and download .pof file via another connector. The dual port pins are configured initially (pin planner) as: DATA0 - input, DCLK - output, FLASH_nCE-output and ASCO- output. In 'Device and pin options' it is configured 'Active Serial Standard' and ECPS16 configuration device. I changed 'Dual purpose pins' from 'Input tristate' to 'Regular I/O' as is indicated in the documentation. I connected ecps_controller signals directly to io pins: -input Data0 to data0_to_epcs_controller -sdo_from_epcs_controller to output ASCO -sce_from_epcs_controller to output FLASH_nCE -dclk_from_epcs_controller to output DCLK I tried to access EPCS by debugging Memory test program in nios eds and it seems tha fail accesing ECPS with the alt_avalon_spi_command, used for reading the EPCS Singnature and EPCS Identifier which are both zero. But accesing via quartus programmer for dowloading the .pof there is no problem. I don't know if there is anything incompatible with my hardware o if there is anything missing.