esp:esp32:esp-idf:flashing
Differences
This shows you the differences between two versions of the page.
| esp:esp32:esp-idf:flashing [2020/04/13 11:49] – created oscar | esp:esp32:esp-idf:flashing [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Flashing ====== | ||
| - | ===== Normal operation ===== | ||
| - | esptool.py resets ESP32 automatically by asserting DTR and RTS control lines of the USB to serial converter chip, i.e. CP210x. The DTR and RTS control lines are in turn connected to GPIO0 and CHIP_PU (EN) pins of ESP32, thus changes in the voltage levels of DTR and RTS will boot ESP32 into Firmware Download mode. As an example, check the schematic for the ESP32 DevKitC development board. | ||
| - | |||
| - | ===== Problems ===== | ||
| - | If you run the given command and see errors such as __**“Failed to connect”**__, | ||
| - | |||
| - | In general, you should have no problems with the official esp-idf development boards. However, esptool.py is not able to reset your hardware automatically in the following cases: | ||
| - | * Your hardware does not have the DTR and RTS lines connected to GPIO0 and CIHP_PU | ||
| - | * The DTR and RTS lines are configured differently | ||
| - | * There are no such serial control lines at all | ||
| - | Depending on the kind of hardware you have, it may also be possible to manually put your ESP32 board into Firmware Download mode (reset). | ||
| - | |||
| - | ===== Enter Flash Manually ===== | ||
| - | For development boards produced by Espressif, this information can be found in the respective getting started guides or user guides. For example, to manually reset an esp-idf development board, hold down the Boot button (GPIO0) and press the EN button (CHIP_PU). | ||
| - | For other types of hardware, try pulling GPIO0 down. | ||
| - | |||
esp/esp32/esp-idf/flashing.1586778541.txt.gz · Last modified: (external edit)
