STM32L462 - Invoking UART bootloader from user program ( without using Boot) pin.
I working on a STM32L462 project, which needs to invoke the bootloader from the user program. I don't have access to the Boot0 pin. I came across two methods of doing the same but not sure which one should i employ for clean transition.
Method 1: - Set the system memory address in a pointer and set the main stack pointer after which invoke the system memory address.
Method 2: Hardware manual says about writing the option bytes of FLASH_OPTR register to ignore the boot pin ( setting nSWBOOT0 to 0) and setting the nBOOT0(0)and nBOOT1(1) option bytes.
How this two methods are different and which one to employ for a clean transition?
