Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:esptool [2017/03/10 03:54] – [Install] darron | tools:esptool [2023/10/15 13:33] (current) – [Install] darron | ||
---|---|---|---|
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 |
- | cd esptool | + | rehash |
- | apt-get install | + | pip3 install |
- | python setup.py | + | |
</ | </ | ||
+ | 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)/ | ||
+ | |||
+ | < | ||
+ | esptool.py version | ||
+ | esptool.py v4.6.2 | ||
+ | 4.6.2 | ||
+ | </ | ||
=== Wiring === | === Wiring === | ||
Line 29: | Line 45: | ||
Use resistors for protection against mis-wiring. | Use resistors for protection against mis-wiring. | ||
- | === Example usage === | + | === Usage === |
+ | |||
+ | Older example | ||
< | < | ||
- | $ esptool.py -p / | + | esptool.py -p / |
esptool.py v2.0-beta2 | esptool.py v2.0-beta2 | ||
Connecting.... | Connecting.... | ||
Line 42: | Line 61: | ||
</ | </ | ||
+ | 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... | ||
+ | </ |