Hi,
I have problem while jumping to another application (address) in flash code region.
I placed first app at 0x00000000 address and the second at 0x00002800 what I want to do is just to jump from first addess to second and execute the second app. Both applications are without softdevice.
When I execute this code with start_addr = 0x00002800, first program start over again. Why not the socond one?
__asm void deinit_system(uint32_t start_addr)
{
LDR R2, [R0] ; Get App MSP.
MSR MSP, R2 ; Set the main stack pointer to the applications MSP.
LDR R3, [R0, #0x00000004] ; Get application reset vector address.
BX R3 ; No return - stack code is now activated only through SVC and plain interrupts.
ALIGN
}