Skip to content

Commit 2bb6b58

Browse files
author
committed
Deployed 895c74b with MkDocs version: 1.6.1
1 parent e2f4bb2 commit 2bb6b58

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

basics/install-binary/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,25 +2732,25 @@ <h3 id="flashing-method-2-esptool">Flashing method 2: esptool</h3>
27322732
<ul>
27332733
<li>First of all, please follow the steps to install esptool.py <a href="https://github.com/espressif/esptool">here</a>.</li>
27342734
<li>Download the latest <a href="https://github.com/Aircoookie/WLED/releases">release binary</a> file!</li>
2735-
<li>Make sure only one ESP device/microcontroller is connected to your computer! Otherwise you could accidentally overwrite the wrong one. If you know the serial port, you can also add the <code>-port COM3</code> attribute after <code>write_flash</code></li>
2735+
<li>Make sure only one ESP device/microcontroller is connected to your computer! Otherwise you could accidentally overwrite the wrong one. If you know the serial port, you can also add the <code>--port COM3</code> attribute before <code>write_flash</code></li>
27362736
<li>Execute this command:</li>
27372737
</ul>
27382738
<h4 id="esp8266">ESP8266</h4>
2739-
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>write_flash<span class="w"> </span>0x0<span class="w"> </span>./WLED_XXX.bin
2739+
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>write-flash<span class="w"> </span>0x0<span class="w"> </span>./WLED_XXX.bin
27402740
</code></pre></div>
27412741
<h4 id="esp32">ESP32</h4>
27422742
<p>Firstly, flash the version 4 bootloader file, which you can find <a href="https://github.com/Aircoookie/WLED/releases/download/v0.13.1/esp32_bootloader_v4.bin">here</a>.<br />
27432743
This step only has to be done once, to update afterwards the bootloader does not have to be re-installed.</p>
2744-
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>write_flash<span class="w"> </span>0x0<span class="w"> </span>./esp32_bootloader_v4.bin
2744+
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>write-flash<span class="w"> </span>0x0<span class="w"> </span>./esp32_bootloader_v4.bin
27452745
</code></pre></div>
27462746
<p>Now you can flash the actual firmware binary. Keep in mind the bootloader needs to have a flash offset of 0, but the firmware 0x10000.</p>
2747-
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>write_flash<span class="w"> </span>0x10000<span class="w"> </span>./WLED_XXX.bin<span class="w"> </span>
2747+
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>write-flash<span class="w"> </span>0x10000<span class="w"> </span>./WLED_XXX.bin<span class="w"> </span>
27482748
</code></pre></div>
27492749
<p>When esptool.py says <code>Connecting...</code>, some ESP32 boards require you to hold the boot button (to the right of the USB port) for a few seconds </p>
27502750
<ul>
27512751
<li>If you experience issues, run this command before trying <code>write_flash</code> again (Note: this will erase all settings stored on the ESP!)</li>
27522752
</ul>
2753-
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>erase_flash
2753+
<div class="highlight"><pre><span></span><code>esptool.py<span class="w"> </span>erase-flash
27542754
</code></pre></div>
27552755
<p>If you have a MagicHome controller, here is a <a href="https://www.youtube.com/watch?v=qgBAU39v07k">good video tutorial</a> on how to flash it.</p>
27562756
<h3 id="esp8266-flashing-method-3-esp-home-flasher-tool">ESP8266 Flashing method 3: <a href="https://github.com/esphome/esphome-flasher/releases">ESP Home Flasher</a> tool</h3>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)