FOTA using UART bluetooth
I am using an STM32F302CB MCU, I intend to program my device remotely via a mobile app connected with the embedded system through a BT( UART connected).
What I understood:-
1.) The ST bootloader can be used to flash the MCU by sending some commands to UART.
2.) Use my own bootloader for the same.
Questions:-
1.) Can I use the internal bootloader to have multiple version of firmware i.e. the existing firmware does not gets overwritten? If yes, how?
2.) If I download the firmware update to a separate flash location using my existing application and then reset from software to start the bootloader, what is the procedure then to update the firmware so that the MCU starts from the new firmware update?
3.) What exactly does it mean to writing a bootloader that can do this task for me? Is it a normal program that goes along with my main application?
4.) In any case, do I need to make changes in my linker file and the vector table?
Thanks and Regards
