Tool/software:
Hi there, I am working on bootloader project and currently I have to shift the interrupt vector table and jump to application. I am using driverlib library function only and not device support. Could you please give me the steps so that i can shift the interrupt vector table and jump to my application. Currently my jump to App function is given below.
void JumpToApp(void) {
DINT;
Interrupt_disablePIE();
// Clear all interrupts
IER = 0x0000;
IFR = 0x0000;
// Copy application PIE vectors from flash to RAM
EALLOW;
memcpy((void *)&PieVectTable, (void *)0x86000, 256);
EDIS;
asm(" MOVW SP, #0x800");
// Jump to application entry point
asm(" LB #0x88000");
}
it shows post cinit() error after executing the jump function and the IVT is also not shifted. For further clarifications I can give my application code and its linker file as well. Thank you.