Forum Discussion
Altera_Forum
Honored Contributor
11 years agoProblem in migrating design from Quartus 9.0 (SOPC) to 13.1 (Qsys)
Hi there, I installed Quartus 13.1 (update 4) on a new Windows 8.1 PC and I'm trying to migrate some old designs created with Quartus 9.0 sp2 and SOPC builder. I had no problem in converting the...
Altera_Forum
Honored Contributor
11 years agoAs I recall, and I may be hazy here, but I think you need to link in a debugging library and initialize it early in your code. I don't remember the details, but it should be in the Nios software documentation. If I recall correctly, the debug stub needs an exception handler defined that executes when a breakpoint is hit. I think the init routine fills in the breakpoint handler address in the vectors.
Alternately, you could undefine NIOS2_HAS_DEBUG_STUB and it won't call the function that crashes.