Hi NXP team,
I am using S32K144 controller in our project.
I am facing some problems with " jump to application from boot loader".
my application may starts from 0xA000 or 0x9000 address as per our requirement.
FSL_SCB->VTOR = (uint32_t)&__VECTOR_TABLE; //don't want to relocate vector table
__attribute__((section (".App_codearea"))) void Application(void)
b = 10;
.App_codearea section starts from 0x0000A000;
If I run the above code , then it goes to default isr, it is not jumping to application.
if I use asm("bl 0x0000A000") it is jumping to the application address.
if I load the PC with 0x8000 address also , it jumps to application and goes to default ISR.
why above code is not jumping to application?
Problem 2 :
could you please tell me how to load the other registers with pointer value?
//how to load the register with pointer value (passed as input argument to this function)
asm("ldr r1, ptr"); ????