Forum Discussion
Altera_Forum
Honored Contributor
18 years agoHelp:Cann't read or write EPCS in Nios II,why?
my system includes Flash,EPCS,etc,and has a EPCS controller.i want to read and write the EPCS in the nios.i tried to open the device using "alt_flash_open_dev()",but it's alway wrong--"can not open t...
Altera_Forum
Honored Contributor
18 years agothanks ,and i found it's short of a header file called "sys/alt_flash_dev()".firstly i think we should initialize the device, in my nios program, there's an initializing sentence (javascript:showjdsw('jd_t','j_'))-"alt_sys_init()", if i did not include the header file-sys/alt_flash_dev(), there is a warning. and the device(epcs & ext_flash) can not be opend. i don't know why.