I am trying to flash two application in flash (nano bootloader and one application). Bootloader starts from 0x0 to 0x8000. and my application starts from 0x20000 to 0x40000. But i cant jump from bootloader to my application. I have change application IVT to 0x20000 (SCB->VTOR = 0x20000) and start memory location to 0x20000. while flashing both bootloader and application the jump is not working.
In my bootloader
SCB->VTOR = 0x00020000 & 0x1FFFFF80;
Anything i am doing wrong.