1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-09 05:45:24 +02:00
tldr/pages/common/st-flash.md
2025-04-25 05:54:18 +03:00

16 lines
390 B
Markdown

# st-flash
> Flash binary files to STM32 ARM Cortex microcontrollers.
> More information: <https://manned.org/st-flash>.
- 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`