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
tools:esptool [2023/10/14 18:58]
darron [Install]
tools:esptool [2023/10/15 13:33] (current)
darron [Install]
Line 10: Line 10:
 <code> <code>
 sudo apt-get install python3-serial python3-pip python3-dev sudo apt-get install python3-serial python3-pip python3-dev
-sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.bak 
 rehash rehash
 pip3 install esptool pip3 install esptool
 +</code>
 +
 +If there are complaints from python3, the you may need to
 +do something similar to the following and try the above again
 +<code>
 +sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.bak
 </code> </code>
  
Line 41: Line 46:
  
 === 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 53: Line 61:
 </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>