Forum Discussion

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

Linker Script : Nios II + DDR3 and On-Chip RAM

Hi,

I want to read/write DDR3 using Nios II. In my Qsys system, I have included Nios II, JTAG UART, On-Chip RAM and DDR3 Controller. I am using On-Chip RAM as my program RAM (connected to Instruction Master and Data Master) and DDR3 RAM as Data RAM(connected to Data Master only). I tried to run simple "Hello World" program using Nios. It runs properly when I set 'On-Chip RAM' in linker script (in all the places : .bss, .heap, .stack, .rodata, .rwdata, .text) tab of bsp editor.

Now I want to write into (and read from) my Data RAM (DDR3). What changes do I have to make in linker script for that?

i am using cyclone v gx development board.
No RepliesBe the first to reply