Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNios2 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, Nemesys3 Replies
- Altera_Forum
Honored Contributor
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
The Avalon MM Master Writer is an implementation of the Avalon MM template from Altera.
- Altera_Forum
Honored Contributor
I figured I was writing in outside the SDRAM address map. Now it works properly.