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 some lights and things. When that is done running - I want it to set the program counter to run out of either RAM or Flash. Anybody know how I can direct the PC to a new address (in c code compiled by SOPC builder into a ROM)??? thanks, John