Hello Team,
Currently I'm working in bootloader development activity for S32K116. I've referred the SDK of Unified bootloader Demo source .The App entrypoint is 0x0000F204.When the pc jump to app from boot ,it was stucked at defaultISR. also I`ve disabled watchdog.
So, could someone help me in fixing the issue with proper solution. thanks
Hi @liangliu,
This is probably a fault exception.
Add this function into the bootloader.
void HardFault_Handler(void)
{
while(1){}
}
Before the jump, can you read the flash memory of the application code?
How is the VTOR of the application alligned?
Regards,
Daniel
Hi,@danielmartynek,
I read the flash memory before the jump
this is APP ISR table
The following is the FBL interrupt vector table.
The following is the FBL VTOR Offset.
Hi @liangliu,
I understand that the reset routine of the application is at 0xF610.
Can you open the memory in the disassembly window and to check if the routine is there before the jump?
Regards,
Daniel