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.
12383 Discussions

[Nios II] Handle different sizes of SDRAM with the same software

Honored Contributor I



I use the nios ii processor in my application. For the moment, I use it with an 256Mb SYNCHRONOUS DRAM with 12 Row Address Input and 9 Column Address Input.  


My application is evolving and I need a bigger memory. So I selected an 512Mb SYNCHRONOUS DRAM with 13 Row Address Input and 9 Column Address Input.  


I often make software update (with bootloader) of my installed product base and I don't want to deal with two different software.  


I can get the information of which RAM I have but I have not enough size in my EPCS to store two HW and software (to handle different sizes of RAM) + HW and software for the bootloader 


Is it any way to select the RAM size in nios software at the code execution ?  


If is not, have you any idea about my problem ? 


Thanks for your help. 

Sorry for my poor English. 


0 Kudos
0 Replies