Other Parts Discussed in Thread: UNIFLASH, EK-TM4C1294XL
Hi All,
I have implemented an logic which writes successfully to the TM4C ROM at 0x80000 with length ~69632 bytes, which I verified by reading the TM4C ROM with Uniflash tool.
But when I do jump with below statements the control is not transferring to the particular address.
// Set the vector table to the beginning of the app in flash.
HWREG(NVIC_VTABLE) = 0x80000;
// Load the stack pointer from the application's vector table.
__asm(" ldr r1, [r0]\n"
" mov sp, r1");
// Load the initial PC from the application's vector table and branch to
// the application's entry point.
__asm(" ldr r0, [r0, #4]\n"
" bx r0\n");
Kindly suggest that I am missing out anything.
Thanks & Regards,
Yasar Arafath