I was forced to use ESP32-wroom32E with 16MB of flash memory. Marking MGN16. It is determined as Chip is ESP32-D0WD-V3 (revision v3.1)
I can’t load the firmware. Gives an error:
"Configuring flash size…
Flash will be erased from 0x00001000 to 0x00005fff…
Flash will be erased from 0x00008000 to 0x00008fff…
Flash will be erased from 0x0000e000 to 0x0000ffff…
Flash will be erased from 0x00010000 to 0x00049fff…
Compressed 18976 bytes to 13112…
Writing at 0x00001000… (100%)
Wrote 18976 bytes (13112 compressed) at 0x00001000 in 1.2 seconds
(effective 122.4 kbit/s)…
File md5: 224940b8480ec8964796f539431ad155
Flash md5: 2ae8816b0a2b7d139d366233caddbf0c
MD5 of 0xFF is 493bd26c0fa7040762e2dc6644f8f64b
A fatal error occurred: MD5 of file does not match data in flash!
*** [upload] Error 2"
The platformio.ini file has not changed from the working project to ESP32-wroom32D
YES!!! Changing the cable did not lead to the desired result.
Uploading .pio\build\esp32-wroom-32e\firmware.bin
esptool.py v4.5.1
Serial port COM3
Connecting…
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse,
Coding Scheme None
Crystal is 40MHz
MAC: 88:13:bf:36:8d:44
Stub is already running. No upload is necessary.
Configuring flash size…
Flash will be erased from 0x00001000 to 0x00005fff…
Flash will be erased from 0x00008000 to 0x00008fff…
Flash will be erased from 0x0000e000 to 0x0000ffff…
Flash will be erased from 0x00010000 to 0x00049fff…
Compressed 18976 bytes to 13112…
Writing at 0x00001000… (100 %)
Wrote 18976 bytes (13112 compressed) at 0x00001000 in 1.2 seconds
(effective 122.9 kbit/s)…
File md5: 224940b8480ec8964796f539431ad155
Flash md5: 2ae8816b0a2b7d139d366233caddbf0c
MD5 of 0xFF is 493bd26c0fa7040762e2dc6644f8f64b
A fatal error occurred: MD5 of file does not match data in flash!
*** [upload] Error 2
python3 esptool.py --chip esp32 -p COM3 chip_id - does not work. Paths are written correctly everywhere.
You should be able to run esptool.py without problems.
It helps to identify the chip_id to see if everything is correct with your board. If there are any erros they should be detected by esptool.py
(Except the errors only happen in PlatformIO IDE and not in the ArduinoIDE - another thing you could try)
Espressif’s Flash Download Tool (Windows) provide the same info via chipInfoDump page: