Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Running program from flash memory on Nios II

I am trying to run a program from flash.

When the OS encounters an exception, control is transferred to the exception handler, located in RAM. However the instruction set for the Nios II only allows for address jumps 26 bits in length.

When the exception handler finishes it tries to return control to the program, but cannot due to the jump limit. It falls short and executes nonsense.

Has anyone experienced a similar problem? If so, has anyone found a solution?

1 Reply