Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

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

Honored Contributor II



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.
0 Kudos
0 Replies