diff options
author | finefoot <33361833+finefoot@users.noreply.github.com> | 2021-06-28 23:36:01 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-07-07 21:15:58 +1000 |
commit | e10a044d7cdd0aad4c21f1d3cfca03b4a48de8bb (patch) | |
tree | 5d606786f2aafffe760ad3f858da87fa6604a56e /docs/esp8266/tutorial | |
parent | cd506d6220d322a80d634fcb00d35d7d1aa11989 (diff) | |
download | micropython-e10a044d7cdd0aad4c21f1d3cfca03b4a48de8bb.tar.gz micropython-e10a044d7cdd0aad4c21f1d3cfca03b4a48de8bb.zip |
docs/esp8266/tutorial: Change flash mode from dio to dout.
For some boards, even -fm dio is too fast and they require -fm dout. This
commit links to the esptool wiki about available flash modes and changes
dio to dout.
Diffstat (limited to 'docs/esp8266/tutorial')
-rw-r--r-- | docs/esp8266/tutorial/intro.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/esp8266/tutorial/intro.rst b/docs/esp8266/tutorial/intro.rst index bbf0457fff..a5deb3532f 100644 --- a/docs/esp8266/tutorial/intro.rst +++ b/docs/esp8266/tutorial/intro.rst @@ -109,10 +109,12 @@ PC. You may also need to reduce the baudrate if you get errors when flashing that you have. For some boards with a particular FlashROM configuration (e.g. some variants of -a NodeMCU board) you may need to use the following command to deploy -the firmware (note the ``-fm dio`` option):: +a NodeMCU board) you may need to manually set a compatible +`SPI Flash Mode <https://github.com/espressif/esptool/wiki/SPI-Flash-Modes>`_. +You'd usually pick the fastest option that is compatible with your device, but +the ``-fm dout`` option (the slowest option) should have the best compatibility:: - esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dio 0 esp8266-20170108-v1.8.7.bin + esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dout 0 esp8266-20170108-v1.8.7.bin If the above commands run without error then MicroPython should be installed on your board! |