Hello
I'm write my custom bootloader (with TI RTOS) and app (also with TI RTOS). That are 2 separated applications mapped in another address in memory. That works fine. Problemm is with switching between this designs. I found some solution for another processors, but it doesn't work. After jump the application freezes...
I tried this, but unsuccessful:
uint32_t APP_ADDR = 0x10000; HWREG(NVIC_DIS0) = 0xffffffff; HWREG(NVIC_DIS1) = 0xffffffff; HWREG(NVIC_VTABLE) = APP_ADDR; __asm(" ldr r1, [r0]\n" " mov sp, r1\n"); __asm(" ldr r0, [r0, #4]\n" " bx r0\n");