From e7ba9d8ba85e9f720fc263f3d81c2196e1491c75 Mon Sep 17 00:00:00 2001 From: "Daniel Campoverde [alx741]" Date: Sat, 17 Sep 2016 23:04:12 -0500 Subject: [PATCH] stlink: add st-flash page --- pages/common/st-flash.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/st-flash.md diff --git a/pages/common/st-flash.md b/pages/common/st-flash.md new file mode 100644 index 0000000000..268bd16cad --- /dev/null +++ b/pages/common/st-flash.md @@ -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`