1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 03:55:23 +02:00

stlink: add st-flash page

This commit is contained in:
Daniel Campoverde [alx741] 2016-09-17 23:04:12 -05:00
parent 96289e570d
commit e7ba9d8ba8

15
pages/common/st-flash.md Normal file
View file

@ -0,0 +1,15 @@
# 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`