Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

How to initialize external SRAM from Eclipse?

Altera_Forum
Honored Contributor II
1,027 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 II
311 Views

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

0 Kudos
Reply