Flash binary files to STM32 ARM Cortex microcontrollers. More information: https://github.com/texane/stlink.
st-flash read firmware.bin 0x8000000 4096
st-flash write firmware.bin 0x8000000
st-flash erase