Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12469 Discussions

Running program from flash memory on Nios II

Honored Contributor 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?
0 Kudos
1 Reply
Honored Contributor II

Did you find any solutions to this?