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`