You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/troubleshooting.rst
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,15 +197,7 @@ A serial exception error occurred
197
197
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
198
198
199
199
``esptool.py`` uses the `pySerial <https://pyserial.readthedocs.io/en/latest/>`_ Python module for accessing the serial port.
200
-
If pySerial cannot operate normally, it raises an error and terminates. Some of the most common pySerial error causes are:
201
-
202
-
.. list::
203
-
204
-
* You don't have permission to access the port.
205
-
* The port is being already used by other software.
206
-
* The port doesn't exist.
207
-
* The device gets unexpectedly disconnected.
208
-
* The necessary serial port drivers are not installed or are faulty.
200
+
If pySerial cannot operate normally, it raises an error and terminates.
209
201
210
202
An example of a pySerial error:
211
203
@@ -214,3 +206,15 @@ An example of a pySerial error:
214
206
A serial exception error occurred: read failed: [Errno 6] Device not configured
215
207
216
208
Errors originating from pySerial are, therefore, not a problem with ``esptool.py``, but are usually caused by a problem with hardware or drivers.
209
+
210
+
Some of the most common pySerial error causes are:
211
+
212
+
.. list::
213
+
214
+
* The port is being already used by other software.
215
+
* The port doesn't exist.
216
+
* The device gets unexpectedly disconnected.
217
+
* The necessary serial port drivers are not installed or are faulty.
218
+
* You don't have permission to access the port.
219
+
220
+
On Linux, read and write access the serial port over USB is necessary. You can add your user to the ``dialout`` or ``uucp`` group to grant access to the serial port. See `Adding user to dialout or uucp on Linux <https://docs.espressif.com/projects/esp-idf/en/stable/get-started/establish-serial-connection.html#adding-user-to-dialout-or-uucp-on-linux>`_.
0 commit comments