Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tools:esptool [2023/10/14 18:39]
darron [Install]
tools:esptool [2023/10/14 19:01]
darron [Usage]
Line 1: Line 1:
 ==== ESPTool ==== ==== ESPTool ====
 <wrap right> <wrap right>
-{{:tools:esptool.jpg?200}}+{{:tools:esptool.jpg?100}}
 </wrap> </wrap>
  
Line 9: Line 9:
  
 <code> <code>
-git clone https://github.com/espressif/esptool +sudo apt-get install python3-serial python3-pip python3-dev 
-cd esptool +sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.bak 
-apt-get install python3-serial python3-setuptools +rehash 
-python setup.py install+pip3 install esptool
 </code> </code>
  
 +Add $(HOME)/.local/bin to PATH
 +
 +<code>
 +esptool.py version
 +esptool.py v4.6.2
 +4.6.2
 +</code>
 === Wiring === === Wiring ===
  
Line 34: Line 41:
  
 === Usage === === Usage ===
 +
 +Older example
 +
 <code> <code>
-esptool.py -p /dev/ttyUSB0 read_mac+esptool.py -p /dev/ttyUSB0 read_mac
 esptool.py v2.0-beta2 esptool.py v2.0-beta2
 Connecting.... Connecting....
Line 46: Line 56:
 </code> </code>
  
 +Newer example
 +
 +<code>
 +esptool.py -p /dev/ttyUSB0 read_mac
 +esptool.py v4.6.2
 +Serial port /dev/ttyUSB0
 +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:01:94:b1:1b:ea
 +Uploading stub...
 +Running stub...
 +Stub running...
 +MAC: 60:01:94:b1:1b:ea
 +Hard resetting via RTS pin...
 +</code>