To troubleshoot this error, you can try the following steps:
Make sure that the USB drivers for your ESP32 are installed correctly. You can download the drivers from the ESP32 website.
Check that the ESP32 is in flashing/uploading mode. This is usually done by pressing and holding the BOOT button while connecting the ESP32 to your computer.
Check the baud rate for the serial port. The baud rate should be set to 115200bps. You can change the baud rate in the Arduino IDE's Tools menu.
But problem come from internal board
During upload program for ESP32
And get message error - A fatal error occurred Failed to connect to ESP32 Wrong boot
Simple solution 1
During upload wait compile program finish
After Ardunio ready to upload the program to ESP.
Will show dot connection
Press BOOT Button about 1-3 seconds
Why ESP32 A fatal error occurred during upload
Problem from board, connection internal power may be drop.
Simple solution 2
Add Capacitor, small between
With a capacity of 10 - 100uf and a voltage above 5V DC
Test 33uf 16V, make all solve problem with Rainmaker and Google Assistant
Before add capacitor
Even all program successfully uploaded
Next problem WIFI in Rainmaker, Add Device cant detect WIFI SSID.
This resolves undetected Bluetooth and WIFI connections
After being given a 33uf capacitor.
The ESP32 bluetooth connection works normally, and the WIFI connection is immediately detected
Idea
randomnerdtuto...
26 авг 2024