How to flash .bin to STM32 using st-flash
You can use st-flash
like this to flash a firmware file to the STM32:
st-flash write build/firmware.bin 0x8000000
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow