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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Accessing SDRAM on DE2

Altera_Forum
Honored Contributor II
1,165 Views

Hi  

I need to use the SDRAM/SRAM/FLASH. I can use any one the above. I have setup a NIOS II processor with all those peripherals and I have also run a hello_wrld program on the processor. 

 

Now I don't know how to go ahead. i couldn't find any tutorial to do that. Where can I get the library files? Do I have to write a lot of code to do this? Please help me. This is the first time I am working with an embedded processor.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
474 Views

You should check out nios ii hardware development tutorial (http://www.altera.com/literature/tt/tt_nios2_hardware_tutorial.pdf). 

Page 29 describes simple software development, although I would recommend following the whole tutorial if you've never done this before. 

After completing this tutorial, you can take a look at creating multiprocessor nios ii systems tutorial (http://www.altera.com/literature/tt/tt_nios2_multiprocessor_tutorial.pdf), which uses SDRAM for a multiprocessor system. 

You can simply ignore the multiprocessor aspect of it, and focus on getting only one processor to run. 

 

Good luck! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
Altera_Forum
Honored Contributor II
474 Views

 

--- Quote Start ---  

originally posted by napster@Jan 15 2007, 03:46 PM 

hi  

  i need to use the sdram/sram/flash. i can use any one the above. i have setup a nios ii processor with all those peripherals and i have also run a hello_wrld program on the processor. 

   

  now i don&#39;t know how to go ahead. i couldn&#39;t find any tutorial to do that. where can i get the library files? do i have to write a lot of code to do this? please help me. this is the first time i am working with an embedded processor. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20597) 

--- quote end ---  

 

--- Quote End ---  

 

 

 

 

 

Dear Napster, 

I am also very very new to embedded stuff. Can you please send me your complete project source code & docs at my id addy3177@yahoo.com

The one which uses hello world program. 

Secondly, If you have used sdram successfully, send that as i require similar work for my project. 

Thanks in advance 

 

regards, 

aditya
0 Kudos
Altera_Forum
Honored Contributor II
474 Views

Altera has some tutorials to help people get started using the DE2 Boards. Located on their university program website. (http://www.altera.com/education/univ/materials/manual/unv-lab-manual.html

 

And specifically there is a tutorial for using the SDRAM: 

sdram tutorial verilog (http://www.altera.com/education/univ/materials/manual/labs/tut_de2_sdram_verilog.pdf

or 

sdram tutorial vhdl (http://www.altera.com/education/univ/materials/manual/labs/tut_de2_sdram_vhdl.pdf

 

- Blair
0 Kudos
Reply