Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tools:esptool [2015/01/29 12:47] darron [Install] |
tools:esptool [2023/10/15 13:33] darron [Install] |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== ESPTool ==== | ==== ESPTool ==== | ||
+ | <wrap right> | ||
+ | {{: | ||
+ | </ | ||
This tool is used to install firmware onto [[: | This tool is used to install firmware onto [[: | ||
=== Install === | === Install === | ||
+ | |||
< | < | ||
- | git clone https:// | + | sudo apt-get install python3-serial python3-pip python3-dev |
- | cd esptool | + | rehash |
- | python setup.py | + | pip3 install |
</ | </ | ||
- | == Wiring == | + | If there are complaints from python3, the you may need to |
+ | do something similar to the following and try the above again | ||
+ | < | ||
+ | sudo mv / | ||
+ | </ | ||
+ | |||
+ | Add $(HOME)/ | ||
< | < | ||
- | 3V3 UART | + | esptool.py version |
- | ======== | + | esptool.py v4.6.2 |
- | 3V3 ---------- VDD | + | 4.6.2 |
- | 3V3 -- 10K --- CHIP_EN | + | </ |
- | GND ---------- GND | + | === Wiring |
- | RX -- 390R -- U0TXD | + | < |
- | TX -- 390R -- U0RXD | + | 3V3 UART |
+ | ======== | ||
+ | 3V3 ---------- VDD 8 21 | ||
+ | 3V3 -- 10K --- CHIP_EN | ||
+ | GND ---------- GND 1 65 | ||
+ | 87 | ||
+ | RX -- 390R -- U0TXD 2 | ||
+ | TX -- 390R -- U0RXD 7 | ||
- | RTS -- 390R -- EXT_RSTB | + | RTS -- 390R -- EXT_RSTB |
- | DTR -- 390R -- GPIO0 | + | DTR -- 390R -- GPIO0 5 |
</ | </ | ||
Use resistors for protection against mis-wiring. | Use resistors for protection against mis-wiring. | ||
+ | === Usage === | ||
+ | |||
+ | Older example | ||
+ | |||
+ | < | ||
+ | esptool.py -p / | ||
+ | esptool.py v2.0-beta2 | ||
+ | Connecting.... | ||
+ | Detecting chip type... ESP8266 | ||
+ | Uploading stub... | ||
+ | Running stub... | ||
+ | Stub running... | ||
+ | MAC: 18: | ||
+ | Hard resetting... | ||
+ | </ | ||
+ | |||
+ | Newer example | ||
+ | |||
+ | < | ||
+ | esptool.py -p / | ||
+ | esptool.py v4.6.2 | ||
+ | Serial port / | ||
+ | Connecting.... | ||
+ | Detecting chip type... Unsupported detection protocol, switching and trying again... | ||
+ | Connecting.... | ||
+ | Detecting chip type... ESP8266 | ||
+ | Chip is ESP8285N08 | ||
+ | Features: WiFi, Embedded Flash | ||
+ | Crystal is 26MHz | ||
+ | MAC: 60: | ||
+ | Uploading stub... | ||
+ | Running stub... | ||
+ | Stub running... | ||
+ | MAC: 60: | ||
+ | Hard resetting via RTS pin... | ||
+ | </ |