Behoben: ESP32 A fatal error occurred: ESP32 ROM does not support function erase_flash.
English
Deutsch
Problem
Beim Ausführen von esptool erase_flash erhältst du eine Fehlermeldung wie:
esptool_erase_flash_error.txt
esptool.py v2.8
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 41.01MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: 7c:9e:bd:f4:60:e0
Enabling default SPI flash mode...
Erasing flash (this may take a while)...
A fatal error occurred: ESP32 ROM does not support function erase_flash.Lösung
Du verwendest wahrscheinlich eine veraltete Version von esptool. Verwende das esptool von GitHub:
clone_esptool.sh
git clone https://github.com/espressif/esptool.gitund führe es aus mit
erase_flash.sh
cd esptool
python3 esptool.py erase_flashCheck out similar posts by category:
Electronics, ESP8266/ESP32
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow