Hi luis,
I have checked AN2295.
I am working with K60 and CW10.2. I have copied the function "JumpToUserApplication" to my proyect in order to jump to an absolut address.
First off all, when i build the code, I get some errors and I eliminate these errors doing this:
asm static void JumpToUserApplication(_SOFT_U32BITS userStartup)
{
/* set up stack pointer */
LDR r13, [r0];
/* jump to application reset vector */
ADD r0,r0,#0x04;
LDR r0, [r0];
BX r0;
}
The problem is that when I pass the address to this function, it branches to a diferent address.
Can you help me?
Thanks and best regards
Hi Luis, I have just seen your response in the other thread. I´m going to test it and will tell you.
Thanks again!!