Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow 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...
Altera_Forum
Honored Contributor
17 years agoHi !
Thank you for your help ! I've just tried your code and it works ! The flash details are good I think : - Offset = 0 -> I don't know what that means - region_size = 524,288 -> It's good - numbre_of_blocks = 8 -> good too - block_size = 65536 -> good and : num_epcs_regs = 1 -> I don't know what that means I'm going to try to use the functions you've mentionned. I need to translate a small part of an old code given to me by a teacher. He has used a component called "ASMI". I have read on internet that it's quite close to EPCS. Do you know how to translate functions like this one : int nr_asmi_read_buffer (unsigned long address, int length, unsigned char *data); // This declaration is in escalibur.h Thanks again for your useful help !