Загрузка...

ESP32 error rst 0x1 poweron reset boot 0x13 spi fast flash boot

Understanding the Problem: ESP32 Freezes and "Poweron Reset" Error
Sometimes Arduino IDE not clean. Even we enable Erase Firmware before.

When you try to upload a program to your ESP32 using the Arduino IDE and it repeatedly freezes, often displaying an error like "rst:0x1 (poweron_reset, boot:0x13 (SPI Fast Flash Boot)" in the serial monitor, it usually indicates an issue with the device's firmware or how it's booting up.

Even a simple "Reset" button press might not resolve it, as the ESP32 might be stuck in a state that prevents proper operation. This often happens if the current firmware is corrupted or incompatible with your new upload, or if there are issues with the flash memory.

Solution: Re-flashing ESP Firmware to Default or with ESPHome web/
A highly effective solution for this kind of ESP32 freeze is to re-flash the ESP's firmware to a default state. This process essentially "wipes" any problematic firmware and installs a clean, working version, often resolving underlying issues that cause freezing. We'll use the ESPHome web interface for this, as it provides a user-friendly way to flash the device.

When using an ESP32 with different firmware, and then switching to a program in the Arduino IDE, the error "ESP32 error rst 0x1 poweron reset boot 0x13 spi fast flash boot" appears. The cause is that the firmware isn't clean, which makes the ESP32 board stop. Even after resetting, the "ESP32 error rst 0x1 poweron reset boot 0x13 spi fast flash boot" error persists, meaning the ESP32 board stops working.

To fix the "ESP32 error rst 0x1 poweron reset boot 0x13 spi fast flash boot" error, flash the firmware to default. I use the technique of getting firmware from ESPHome. This web-based installer leaves OTA (Over-The-Air) features enabled, but you don't need to fill in the Wi-Fi SSID. Let the ESP32 board, which was flashed with ESPHome, error out and loop while searching for OTA. Then, try using the Arduino IDE to upload your program. So far, the simple technique above is quite easy.

While the best technique involves using the Flash Tool program to re-flash the ESP32 to its default firmware, the problem is that to upload the default firmware, you have to download it and fill in a table. If the "ESP32 error rst 0x1 poweron reset boot 0x13 spi fast flash boot" error can be fixed with ESPHome, why bother installing the ESP Flash Tool?

00:14 Install program with Arduino IDE without problem
00:22 Some times stuck on ESP32,

Step-by-Step Guide:
00:41 Prepare your ESP32 for ESPHome Flashing:
Connect your ESP32 board to your computer using a data-capable USB cable. Ensure it's not just a charging cable.
Open your web browser and navigate to the ESPHome web interface.
Select Your ESP Board and Connect:
Within the ESPHome interface, select the 'ESP Board' option.
00:46 Click 'Connect'
And then choose the correct USB port corresponding to your ESP32.
Initiate "PREPARE FOR FIRST USE":

Once connected, you will see an option to "PREPARE FOR FIRST USE". Select this. This action will erase the existing firmware and install a clean, basic ESPHome firmware. You don't need to configure a Wi-Fi connection during this initial preparation.

01:23 Close ESPHome and Open Arduino IDE
After the flashing process is complete (it may take a few moments), close the ESPHome web interface.
Now, open your Arduino IDE program.
01:36 Upload Your Program
The serial port on your ESP32 should now be trying to connect, possibly indicating "OTA" (Over-The-Air) mode, which is normal after a fresh flash.

Proceed to upload your desired program from the Arduino IDE to your ESP32 as you normally would.
Confirming Success and Further Troubleshooting

01:50 After successfully
Uploading your program, your ESP32 should now be working normally.
This method, leveraging the "ESPHome Flashing Firmware" technique, is often sufficient to resolve common freezing issues.

Advanced Troubleshooting: FLASH_DOWNLOAD_TOOL
If your ESP32 is still freezing or stuck after trying the ESPHome method, you might need a more advanced tool: the FLASH_DOWNLOAD_TOOL provided by Espressif (the makers of ESP32).

Видео ESP32 error rst 0x1 poweron reset boot 0x13 spi fast flash boot канала Obengplus com
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять