stlink: add st-flash page
This commit is contained in:
15
pages/common/st-flash.md
Normal file
15
pages/common/st-flash.md
Normal 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`
|
Reference in New Issue
Block a user