Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12596 Discussions

Nios2 Crashes when SDRAM is shared

Altera_Forum
Honored Contributor II
1,034 Views

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 II
367 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.
0 Kudos
Altera_Forum
Honored Contributor II
367 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
367 Views

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

0 Kudos
Reply