mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
387 B
387 B
st-flash
Flash binary files to STM32 ARM Cortex microcontrollers. Homepage: https://github.com/texane/stlink.
- Read 4096 bytes from the device starting from 0x8000000:
st-flash read {{firmware}}.bin {{0x8000000}} {{4096}}
- Write firmware to device starting from 0x8000000:
st-flash write {{firmware}}.bin {{0x8000000}}
- Erase firmware from device:
st-flash erase