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 …

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:

Pingback: Memprogram ESP32 dengan VSCode dan PlatformIO - Stelselmatig
Pingback: Install Board ESP32 pada Arduino IDE - Stelselmatig