I am designing a boot loader for MKE02z64VLD2 microcontroller in Kinetis Design Studio. I have configured the Flash Memory area as per the AN 4775 documentation (IIC Boot Loader Design on the Kinetis E series). In this document, in page number 9, I found this.
So I implemented the same for my boot loader.
This is how my memory map looks like.
But when I flashed this into my board using J link debugger, This message popped up. Semihosting process monitor job failed, Java.lang.IllegalThreadStateException .
After this failed flash job, I tried to debug a simple LED blink code, but it didn't get executed. It threw me these errors.
When I inquired about my issues to experts in this field, they said I have not configure Vector Table properly, they said
Your vector table for the bootloader (at 0x00000000) is different from the application vector table. You need to set the VTOR to point to the application vector table.