Forum Discussion
Altera_Forum
Honored Contributor
16 years agoMEMORY TEST program usage
Hi guys, I need to test DDR on my board. I've created SOPC builder project with Nios and 2 memories - on-chip and DDR controller. Both reset and exceptions point to on_chip. Altera provides ...
Altera_Forum
Honored Contributor
16 years agoYou should put the .text section in on_chip. If you put it in the DDR, you will overwrite the application when it tests the memory. The strange symbols could come from the fact that you don't have enough memory for the application. Try to use the small drivers/c library and turn on the optimizations, and/or increase the on_chip memory size.
To be sure that you test the DDR and not any other memory, you just need to write the correct address when the application asks for it.