Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
900 Views

Accessing EPCS Controller through an avalon MM-Bridge

Hi, 

 

I'm working on a project with 3 NIOS and i'm trying to implement a boot from EPCS for each of those NIOS. 

 

I have one "Top Level" Qsys with 3 subsystem QSYS containing Nios CPU.  

My EPCS Flash Controller is located in this Top Level Qsys and each Nios is connected to this controller through an avalon MM Bridge. 

Data and instruction Port are connected on this bridge but i can't access to EPCS with nios2-flash-controller. I get the no EPCS register found error. 

 

Do anyone know if EPCS Flash Controller must be connected directly to Data And Instruction Port of a NIOS Cpu or if i'm missing something?  

 

PS: At start up only one NIOS is working, 2 remaining NIOS are in reset state 

 

Thanks for your help !
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
29 Views

You have to ensure that only one of the nios is accessing the epcs at any one time. 

(that may, or may not, be related the to problem you are seeing)
Altera_Forum
Honored Contributor I
29 Views

Hi, 

 

I worked on it and I forgot to connect jtag_module_reset to the epcs_controller. Now EPCS is detected succesfully ! 

 

Thanks for your help
Reply