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 the device".so i used IORD()/IOWR(),and found Flash could be read/writen correctly,but EPCS couldn't be read/writen.Why?is anybody help me?
12 Replies
- Altera_Forum
Honored Contributor
if your target board is a customer board,first you'd add your board to the SOPC system.
- Altera_Forum
Honored Contributor
Try building the Nios project and using the "memtest" program. Part of the memtest program can also test the EPCS. If Nios can see the EPCS device then it should be able to access it.