Forum Discussion
Altera_Forum
Honored Contributor
16 years agoLook at your compilation report under:
Fitter -> Resource Section -> RAM Summary You should get a table that lists each RAM block in the design. One of the columns indicates which MIF (or HEX) files is being used to initialize the memory. Verify that it is correct for your onchip memory. You can also look at "Analysis & Synthesis" -> RAM Summary and see what it's showing for the MIF file. Another thing to try is attaching to the existing target with the NIOS debugger rather than downloading the code and executing. Then, if the CPU is running, the debugger will just hook up to it at it's present location. You set this option in the run configuration dialog for your project in the IDE. We've seen various situations when for one reason or another, the code will run when download it but hang when you try to boot from it and run. Jake