Question
I'm writing a bootloader for the STM32L152. I'm trying to understand how I can switch from a code image in Bank 1 to an image in Bank 2 from the bootloader.
Each code image will have an associated bootloader. If the bootloader in the current image runs and decides to change to the image in the other bank (corrupt image, new update, etc) I want to be able to do a reboot and change to the other image. I'd originally thought MEMRMP would be used for this, but after rereading the data sheet it looks like I was mistaken. Can I just update the vector table in RAM and reboot, or am I missing something(s)? Thanks.
Lee
