diff --git a/docs/en/flash.md b/docs/en/flash.md index c54e7f91..c1c6e95b 100644 --- a/docs/en/flash.md +++ b/docs/en/flash.md @@ -15,7 +15,10 @@ Supported platforms: OS X, Linux, Windows, anything that runs Python Run the following command to flash an *aggregated* binary as is produced for example by the [cloud build service](build.md#cloud-build-service) or the [Docker image](build.md#docker-image). -`esptool.py --port write_flash 0x00000 .bin` +`esptool.py --port write_flash -fm -fs 0x00000 .bin` + +- `mode` is `qio` for 512 kByte modules and `dio` for 4 MByte modules (`qio` might work as well, YMMV). +- `size` is given in bits. Specify `4m` for 512 kByte and `32m` for 4 MByte. ## NodeMCU Flasher > A firmware Flash tool for NodeMCU...We are working on next version and will use QT framework. It will be cross platform and open-source. @@ -54,7 +57,7 @@ Download a recent SDK release, e.g. [esp_iot_sdk_v1.4.0_15_09_18.zip](http://bbs For [esptool](https://github.com/themadinventor/esptool) you specify another file to download at the command line. ``` -esptool.py write_flash 0x00000 .bin 0x7c000 esp_init_data_default.bin +esptool.py write_flash 0x00000 .bin 0x7c000 esp_init_data_default.bin ``` !!! note "Note:"