Entering into system Bootloader mode with IWDG?
Good electronical morning to everyone.
Context:
I find myself needing to enter stm32´s system bootloader during runtime on command.
I asigned a GPIO with a simple RC circuit to pull the BOOT0 pin high.
The system reset is done by IWDG exception, i just stop feeding the watchdog and reaches its countdown.
Question:
I dont like my solution, i dont want to wait an undetermined ammount of time for the iwdg to reach its countdown.
I remember from my time in uni ( with LPC1768 mcu) you could feed the wrong key to the watchdog inmediatly forcing the wdg exception (kicking the watchdog).
Can this be done with HAL in stm32?
Another solution would be to jump to the system bootloader flash address but i am afraid of all the timers and things i need to manually deactivate .... is it worth it?
thanks !
