Hi, I have two hex files loaded in 0x00000000 (app A) and 0x00004000 (app B)
I am using the following code to jump to app B.
((void (*)(void))0x00004000)();
Before it was working but now i rewrote app B using ARTX and now it doesn't jump to app B. If i using following code in the app A's startup.s then it jumps:
Reset_Handler: LDR R0,=0x00003f00 LDR R1,=ISPMARK CMP R0,R1 LDRNE PC,APP_B ;0x00004000
how can i make a jump from C code? What am i missing?