Altera_Forum
Honored Contributor
11 years agoTrouble Compiling SocKit DDR3 Example Code
I have been trying to get to the bottom of an issue for the last few days and have just figured out where the problem:
I have a project which uses the provided reference assignments and implements a NIOS II processor using the DDR3 RAM attached. The processor runs fine, until you get round to using the DDR3 RAM, at which point it falls over (restart, corrupted output in the nios console etc.). Originally I thought it was something to do with timings, or pin settings - but apparently its not hardware. So the SocKit development board comes with some supporting projects showing how to use some of the system, so I went to those to check where I went wrong. I ran both the RTL and NIOS II examples using the FPGA RAM - both worked fine (running from precompiled bitstreams and NIOS binaries). Hardware is not damaged :D Next I recompiled the RTL demo from the Quartus project provided, again it worked. Yay. Next I recompiled the NIOS example from the Quartus project provided, then went into eclipse created a new project (memtest) with BSP using the sopcinfo file. Run it and it fails. BUT if I use my bitstream with the example NIOS binary it works. I also tried importing the project inside the example project folder - again it doesn't work. Any ideas because I am losing my will to live over this! Why cant examples just work...