[SOLVED] A fatal error occurred: Failed to connect to ESP32

Pesan “A fatal error occurred: Failed to connect to ESP32 …” seperti di bawah ini muncul saat akan upload sketch ke ESP32 DEVKIT V1.

esptool.py v4.5.1

Serial port COM9

Connecting.....................................An error occurred while uploading the sketch

[SOLVED]A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode.

For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

Ada beberapa solusi yang ditawarkan.

Solusi 1 :

Tekan dan tahan tombol Boot saat mulai muncul tulisan Connecting …

Tombol Boot

Solusi 2 :

Repot kalau harus tekan tombol Boot saat upload, maka ada cara lain yaitu memasang Capacitor 10uF . Kutub (+) dihubungkan ke PIN EN , dan Kutub (-) dihubungkan ke GND, seperti gambar di bawah ini:

Capacitor 10uF

2 thoughts on “[SOLVED] A fatal error occurred: Failed to connect to ESP32”

  1. Pingback: Memprogram ESP32 dengan VSCode dan PlatformIO - Stelselmatig

  2. Pingback: Install Board ESP32 pada Arduino IDE - Stelselmatig

Leave a Comment

Your email address will not be published. Required fields are marked *