Altera_Forum
Honored Contributor
11 years agoEPCS access fail
Hi there
I'm having trouble accessing the EPCS from withing NIOS. When running the following code: void OpenEpcsFlash() { fd_f = alt_flash_open_dev(EPCS_FLASH_CONTROLLER_NAME); alt_printf("EPCS pointer: %x\r\n",fd_f); } fd_f always returns a NULL pointer. I've enabled small_device_drivers and the small_c_library, but I've included the ALT_USE_EPCS_FLASH# define. If I run the exact same code on the DE0_Nano_SOPC demo project, included in the Altera DE0 Nano board, the software works. Is it possibly a setup problem in my Qsys system? I'm using Quartus 13.1.0. Thanks in advance Jean