Forum Discussion
Altera_Forum
Honored Contributor
21 years agoprogramatically set the PC
Hello, I have a system with a 1s10 and Nios II with an exception address pointing to an internal Boot Monitor ROM. I have built (in SOPC builder) into the Boot ROM a .c file which turns on som...
Altera_Forum
Honored Contributor
21 years agoI presume you are setting the reset vector before generating your software. If you have modified your hardware more recently than your software then this may be your problem.
You can debug your boot loader (with the 1.1 kit) by setting up a launch configuration for the project and selecting the "reset target and attach to program at reset vector" option. You should then be able to step into your code. You will need a processor with hardware breakpoints if you want to insert breakpoints or step over anything.