st-flash
Flash binary files to STM32 ARM Cortex microcontrollers.
- 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
![Изображение Выучи 10 хороших привычек для работы в UNIX от IBM](/static/img/promo/10-useful-habits.a185ad7bc985.png)