Hi,My boot can't jump to APP, please help me.
APP_IMAGE_START = 0x20000;
Here's the address of the APP:
khumphriMandarDeactivated userdhavalRHinnenjimtrudeau
Hi,
Could you try the code below?
void bootup_application(uint32_t appEntry, uint32_t appStack)
{
S32_SCB->VTOR = APP_IMAGE_START;
// SP
__asm__("msr msp, r0");
__asm__("msr psp, r0");
// PC
__asm__("mov pc, r1");
}
bootup_application(*((uint32_t*)APP_IMAGE_START), *((uint32_t*)(APP_IMAGE_START + 4)));
Regards,
Daniel