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

Nios2 Crashes when SDRAM is shared

Hi, 

 

I'm sharing my SDRAM between a Nios2 processor and a Avalon MM Master Writer that is performing write operation on the SDRAM. 

 

The Nios2 processor is working fine until I perform a write operation which causes the processor to stop working (no more instruction seems to be performed any more). 

 

How can I make it work ? 

 

Thanks, 

Nemesys
0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
25 Views

At a guess your Avalon master is buggy - maybe not detecting the end of the write (or something) and locking the other masters out of the SDRAM. 

signaltap might be informative.
Altera_Forum
Honored Contributor I
25 Views

The Avalon MM Master Writer is an implementation of the Avalon MM template from Altera.

Altera_Forum
Honored Contributor I
25 Views

I figured I was writing in outside the SDRAM address map. Now it works properly.

Reply