Flashing STM device from other STM using USART internal bootloader protocol.
Hi,
I do have two STM32H563 devices connected together via UART. I would like to use one as a ‘programmer/flasher’ and the other as a ‘target’. On the ‘target’ MCU I would like to use an already in-built bootloader available over USART1. The only problem is the programming/flashing implementation on the ‘programming’ MCU. Is there any example code available somewhere that contains such an implementation? I can see that there is this code publicly available:
https://github.com/STMicroelectronics/stm32-mw-openbl
...but it only contains implementation of the bootloader protocol for the target device, not the programming/flashing one.
I am trying to evaluate the effort needed to make such an implementation to happen. I would like to avoid writing my own bootloader with my own custom protocol (although at the moment this seems like an easier option to be honest).
Kind regards
