Altera_Forum
Honored Contributor
10 years agoNIOS with 2Gb SDRAM
Hi all,
I have come across some problems using NIOS in my project. here is the background: I have a 2Gb DDR2 for the NIOS to run on. I have build the Qsys and connected all components. but when I tried to assign the address, I got the "instruction master only support 28 bit address" warning. because if I assign 0x00000000 ~ 0x0fffffff to the SDRAM controller, then I have to assign 0x10000000 to the JTAG_debug_module; if I assign 0x00000000 to the JTAG_debug_module, then I have to assign 0x10000000 ~ 0x1fffffff to the SDRAM controller. Either way I still got the warning. so, I have add a "direct window bridge" between the instruction master and the SDRAM controller: http://www.alteraforum.com/forum/attachment.php?attachmentid=10920&stc=1 and the address: http://www.alteraforum.com/forum/attachment.php?attachmentid=10921&stc=1 the direct window bridge module I was downloaded from the Alterawiki. I have modify the TCL file, setting the module as a memory device. and then I modify the linker section settings in the BSP setting to separate the data and instruction: http://www.alteraforum.com/forum/attachment.php?attachmentid=10922&stc=1 after all I tried to run my code. I can successfully download the NIOS software, but it looks like the code is not running at all. I can not even debug with the code. I am not sure I have done everything correctly or I have missed something important. I am looking forwards to your suggestions, thanks a lot! Best Regards Daniel