Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

system console, external memory, multiple masters

Hi guys

Im fairly new here.

Im working with a cyclone V GX board and have used qsys to add a memory controller in my nios code to control some lpddr memory on the eval board.

Im using system console to write some values to the memory, but i notice that system console finds 2 masters: the memory and the nios.

I can use system console to write to the memory using the valid address values that qsys assigned, but i need to use the master assigned to the memory (not nios).

My problem is that i need nios to access what i write to external memory. In my nios code, i try read that same valid address that points to my lpddr memory, but its not the same as what i wrote with system console.

I was under the impression that the "avalon memory master" would take care of letting nios see that memory.

Am i missing something in my qsys system? Im trying to learn everything at once :)

Can you guys help me understand what i need to do?

I can post code/screenshots if needed

thanks!!!!

47 Replies