Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

How to write in EPCS

Hello,

I am a newbie with Nios II. I'm doing a robotic project with a Cyclone and an EPCS4 flash memory.

I've added an EPCS controller in my SOPC Builder system.

I has to read/write some information in EPCS flash memory. I've tried to use the "epcs_command.h" header, but it doesn't work.

My software program stay blocked for example on this line :

device_id = epcs_read_device_id(epcs_flash_controller_0_base);

This is the same thing for the other functions from this header.

I read a lot of post on this forum, but I don't find any satisfying answer.

Would you help me please ?

If you don't use epcs_command.h, what functions and headers are you used to use ?

Thanks a lot.

mig

11 Replies