Peripheral and settings after changing program execution
Hi All,
I have implemented a bootloader on STM32L152RC device. The bootloader is located on 0x8000000 flash address and checks if a new version of firmware is available. If not, it jumps to the flash address 0x8004000, so the previous version of firmware will run.
My question is: What happens to the registers that have been initialized in the bootloader program? For example, I use SPI3 and GPIOB in the bootloader. Should I reinitialize them after jumping to the new program address?
Thanks in advance.