tldr/pages/common/st-flash.md
Daniel Campoverde [alx741] e7ba9d8ba8 stlink: add st-flash page
2016-09-17 23:04:12 -05:00

279 B

st-flash

Flash binary files to STM32 ARM Cortex microcontrollers.

  • Read 4096 bytes of the firmware:

st-flash read {{firmware.bin}} 0x8000000 4096

  • Write firmware to device:

st-flash write {{firmware.bin}} 0x8000000

  • Erase firmware from device:

st-flash erase