This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MBR Vector Table

I never worked with Cortex M0 before so I wonder how it's possible to jump to correct IRQ handler when I have my own bootloader and application which are using e.g. UART IRQ both.

I understand that Cortex M0 has only fixed vector table at addr. 0x0000 where MBR resides. If I'll use UART IRQ handler in bootloader and also in app so how does MBR Vector Table jump to correct UART IRQ handler? IRQ handler implementation within MBR contains jump to user IRQ handler?

Should I write into some specific RAM addres some specific value which distinguish between app and bootloader? So MBR IRQ handler can provide jump into my IRQ handler with correct offset?

Related