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

Running program from flash memory on Nios II

Altera_Forum
Honored Contributor II
1,079 Views

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
Altera_Forum
Honored Contributor II
355 Views

Did you find any solutions to this?

0 Kudos
Reply