Micropyhton Method to program an STM32 connected
Posted: Thu Dec 02, 2021 4:39 pm
I have a PCB with an STM32H7 that runs micropyhton, there is a second STM32 on the PCB and I would like to be able to program from the H7 processor running MP. I have access to the second STM32 over the native UART bootloader and the SWD pins.
In Linux for example I use a tool called stm32flash that programs an STM32 over UART + BOOT+RST using the factory ROM bootloader of the STM32.
Does anybody know if there is a solution for this in Micropython? The options are native STM bootloader over UART or some kind of bit-bashing on the SWD pins.
In Linux for example I use a tool called stm32flash that programs an STM32 over UART + BOOT+RST using the factory ROM bootloader of the STM32.
Does anybody know if there is a solution for this in Micropython? The options are native STM bootloader over UART or some kind of bit-bashing on the SWD pins.