Forum Discussion
Altera_Forum
Honored Contributor
8 years agoNios II read/write to DDR3 using external DDR3 controller
Hello, I have a simple Qsys SoC consisting of Nios II, on-chip memory, 2 Avalon MM masters and 1 AXI slave. I have connected the Nios II to each Avalon MM master (one for read and one for...
Altera_Forum
Honored Contributor
8 years agoI have tried this, I used the following simple code in Eclipse to get Nios II to write to DDR3
int *mem = (int *)MERLIN_MASTER_AGENT_1_BASE; *mem = 0xdeadbeef I generated a .hex file and put it on the OCRAM. However, the write to DDR3 doesn't happen. When I read the DDR3 contents in software, the word I programmed Nios II to write is not present.