Forum Discussion
Altera_Forum
Honored Contributor
11 years agoRunning NIOS program from external SDRAM
Hi, How would one create or modify a linker script to get a Nios program to run from external SDRAM rather on on-chip RAM? I have created a Qsys system with a NIOS and SDRAM controller. The...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- How do I point the reset address to the EPCS address? There is no option in Qsys. --- Quote End --- You have to set it in Nios component properties --- Quote Start --- Will the standard bootloader copy the code to the on-chip RAM or the external SDRAM? Must I modify it to tell it somehow? --- Quote End --- IIRC this is automatic, unless you have several code sections distributed across different memory devices. If you configure the linker options to place all code sections in sdram (or sram, or whatever), you don't have to worry about.