(I'm working with a STM32F042)
I know that the user application is able to call the internal bootloader (the one in ROM). According to AN2606, the procedure consits in the following steps :
- Disable all peripheral clocks
- Disable used PLL
- Disable interrupts
- Clear pending interrupts
I do not see any peripheral reconfiguration in doing that. So I'm wondering if it's possible to configure the USART peripheral in IRDA protocol mode, then do all the steps above and finally jump to the internal bootloader ?
I know that USARTx is configured in 8-bits, even parity and 1 Stop bit after the boot mode entry. But since no RESET has been done, is there any chance that the IRDA configuration remains active ?
Thanks for your answer !