提交 49f525c9 编写于 作者: P pedro.minatel

Added Python is missing on the troubleshooting section

上级 7a7bd37e
...@@ -12,31 +12,57 @@ Here are some of the most common issues around the ESP32 development using Ardui ...@@ -12,31 +12,57 @@ Here are some of the most common issues around the ESP32 development using Ardui
Installing Installing
---------- ----------
Here are the common issues during the installation.
Building Building
-------- --------
Missing Python: "python": executable file not found in $PATH
************************************************************
You are trying to build your sketch using Ubuntu and this message appears:
.. code-block:: bash
"exec: "python": executable file not found in $PATH
Error compiling for board ESP32 Dev Module"
Solution
^^^^^^^^
To avoid this error, you can install the ``python-is-python3`` package to create the symbolic links.
.. code-block:: bash
sudo apt install python-is-python3
If you are not using Ubuntu, you can check if you have the Python correctly installed or the presence of the symbolic links/environment variables.
Flashing Flashing
-------- --------
Why is my board not flashing/uploading when I try to upload my sketch? Why is my board not flashing/uploading when I try to upload my sketch?
********************************************************************** **********************************************************************
If you are trying to upload a new sketch and your board isn't responding, there are some possible reasons.
To be able to upload the sketch via serial interface, the ESP32 must be in the download mode. The download mode allows you to upload the sketch over the serial port and to get into it, you need to keep the **GPIO0** in LOW while a resetting (**EN** pin) cycle. To be able to upload the sketch via serial interface, the ESP32 must be in the download mode. The download mode allows you to upload the sketch over the serial port and to get into it, you need to keep the **GPIO0** in LOW while a resetting (**EN** pin) cycle.
If you are trying to upload a new sketch and your board is not responding, there are some possible reasons.
Possible fatal error message from the Arduino IDE: Possible fatal error message from the Arduino IDE:
*A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header* *A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header*
Solution
^^^^^^^^
Here are some steps that you can try to: Here are some steps that you can try to:
* Check your USB cable and try a new one. * Check your USB cable and try a new one.
* Change the USB port. * Change the USB port.
* Check your power supply. * Check your power supply.
* In some instances, you must keep **GPIO0** LOW during the uploading process via serial interface. * In some instances, you must keep **GPIO0** LOW during the uploading process via the serial interface.
* Hold-down the **“BOOT”** button in your ESP32 board while uploading/flashing. * Hold down the **“BOOT”** button in your ESP32 board while uploading/flashing.
In some development boards, you can try adding the reset delay circuit, as decribed in the *Power-on Sequence* section on the `ESP32 Hardware Design Guidelines <https://www.espressif.com/sites/default/files/documentation/esp32_hardware_design_guidelines_en.pdf>`_ in order to get into the download mode automatically. In some development boards, you can try adding the reset delay circuit, as described in the *Power-on Sequence* section on the `ESP32 Hardware Design Guidelines <https://www.espressif.com/sites/default/files/documentation/esp32_hardware_design_guidelines_en.pdf>`_ in order to get into the download mode automatically.
Hardware Hardware
-------- --------
...@@ -44,7 +70,10 @@ Hardware ...@@ -44,7 +70,10 @@ Hardware
Why is my computer not detecting my board? Why is my computer not detecting my board?
************************************************** **************************************************
If your board is not detected after connecting into the USB, you can try to: If your board is not being detected after connecting to the USB, you can try to:
Solution
^^^^^^^^
* Check if the USB driver is missing. - `USB Driver Download Link <https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers>`_ * Check if the USB driver is missing. - `USB Driver Download Link <https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers>`_
* Check your USB cable and try a new one. * Check your USB cable and try a new one.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册