mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 01:56:03 +00:00
Update cheatsheets
This commit is contained in:
21
st-flash
Normal file
21
st-flash
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# st-flash
|
||||
|
||||
> Flash binary files to STM32 ARM Cortex microcontrollers.
|
||||
> More information: <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`
|
||||
Reference in New Issue
Block a user