diff --git a/pages/common/st-flash.md b/pages/common/st-flash.md index 268bd16ca..957bb8930 100644 --- a/pages/common/st-flash.md +++ b/pages/common/st-flash.md @@ -2,13 +2,13 @@ > Flash binary files to STM32 ARM Cortex microcontrollers. -- Read 4096 bytes of the firmware: +- Read 4096 bytes from the device starting from 0x8000000: -`st-flash read {{firmware.bin}} 0x8000000 4096` +`st-flash read {{firmware}}.bin {{0x8000000}} {{4096}}` -- Write firmware to device: +- Write firmware to device starting from 0x8000000: -`st-flash write {{firmware.bin}} 0x8000000` +`st-flash write {{firmware}}.bin {{0x8000000}}` - Erase firmware from device: