This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Jumping Between Applications

hey guys i want to implement two separate application programs on the same chip.

Say Application1 is stored in address start_address1 to end_address2 and Application2 is stored in address start_address2 to end_address2.

can i just directly jump to one application to another ? i am used to using this on simpler microcontroller, can i do this in the NRF52 too?

void JumpToApp(void) {

void (*fptr)(void);
fptr = (void (*)(void))APP1_RESET_ADDRESS;
fptr();

}

thanks.

Related