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++
Announcements
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.
12366 Discussions

How to initialize external SRAM from Eclipse?

Altera_Forum
Honored Contributor I
773 Views

Hi all! I have an embedded system with a Nios processor (with its dedicated on-chip mem) and an external, off-chip 32MB SDRAM (only for data). The system is working fine and I can both read and write from/to the external memory. Now I need to load the contents of the memory with binary data corresponding to color images that I need to process. 

 

So, how can I initialize the contents of the external SDRAM? I read in the web that it could be done in Eclipse using the Nios debug module, but I am clueless about how to actually do it. 

 

I have tried searching for information but in most of the cases they deal with onchip memory initialization of external memory initialization for simulation. 

 

Thanks in advance for any clues! 

 

Regards, 

 

Jorge.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
58 Views

Oh, I forgot to say that I am accessing the external SDRAM by means of an Avalon Bus-mapped controller.

Reply