This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Stopping and Starting an Interrupt Routine

I have an application that runs from FLASH and downloads a second application into RAM, and then jumps into the RAM program. The FLASH application has an interrupt function that is defined as:

void Function1(void) interrupt T0INT=32 using rbank2
{
.... code
}

The RAM program has an interrupt function that is defined as:

void Function2(void) interrupt TOINT=32 using rbank2
{
.... code
}

However, when the RAM application starts the FLASH interrupt function remains running. How can I stop the FLASH interrupt function and force the RAM interrupt function to start once the RAM application has been loaded?

0