C:\Espressif\utils>esptool.exe write_flash -h
usage: esptool write_flash [-h] [--flash_freq {40m,26m,20m,80m}]
[--flash_mode {qio,qout,dio,dout}]
[--flash_size {4m,2m,8m,16m,32m}]
addr_filename [addr_filename ...]
positional arguments:
addr_filename Address and binary file to write there, separated by
space
optional arguments:
-h, --help show this help message and exit
--flash_freq {40m,26m,20m,80m}, -ff {40m,26m,20m,80m}
SPI Flash frequency
--flash_mode {qio,qout,dio,dout}, -fm {qio,qout,dio,dout}
SPI Flash mode
--flash_size {4m,2m,8m,16m,32m}, -fs {4m,2m,8m,16m,32m}
SPI Flash size in Mbit