Flash Erase completed but without effect
Posted: Thu Feb 09, 2023 9:04 am
Hello fellow programmers, when I tried to upload a new programm to my ESP32 WROOM DA-Module via Arduino-IDE I did receive following error:
Found a possible solution: erasing the ESP's Flash via esptool.
So I installed esptool tried many different commands like
All of them detected the boards and seems to work as they give me following like code in response:
Even though it seems to worked the Error when trying to write the flash keeps the same.
Furthermore the programm that was on the flash before the erase is still there. So there was no real erase.
I also tried an online version: https://espressif.github.io/esptool-js/
It's interesting that erasing the flash is that fast - most videos I saw had a time about 2 seconds. Maybe a part of the problem.
I'm using a Windows 10 64x PC and a ESP32 Wroom-Da-Module. Please tell me if you need something in addition to these information, I'm not very experienced in things like these
Code: Select all
Error while writing flash: MD5 of file does not match data in flash!
So I installed esptool tried many different commands like
Code: Select all
python -m esptool --chip esp32 erase_flash
Code: Select all
Connecting.........
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c0:49:ef:cd:bd:b8
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 0.0s
Hard resetting via RTS pin...
Furthermore the programm that was on the flash before the erase is still there. So there was no real erase.
I also tried an online version: https://espressif.github.io/esptool-js/
It's interesting that erasing the flash is that fast - most videos I saw had a time about 2 seconds. Maybe a part of the problem.
I'm using a Windows 10 64x PC and a ESP32 Wroom-Da-Module. Please tell me if you need something in addition to these information, I'm not very experienced in things like these