Re-Reading your instructions and comparing to stm32flash helper, I was wondering why you have specified "-f" command that forces binary parsing instead the auto-discovery between binary and hex format.
In particular, this was deceiving while flashing the original firmware by Wemos because it is in hex format
https://github.com/wemos/Motor_Shield_Firmware In folder: /MDK-ARM/tb6612/tb6612.hex
Re-Reading your instructions and comparing to stm32flash helper, I was wondering why you have specified "-f" command that forces binary parsing instead the auto-discovery between binary and hex format.
In particular, this was deceiving while flashing the original firmware by Wemos because it is in hex format
https://github.com/wemos/Motor_Shield_Firmware In folder: /MDK-ARM/tb6612/tb6612.hex