I’m using the Arduino IDE and am trying to program a SparkFun ESP32 MicroMod board! I have a very simple sketch but I cannot upload it, as I get a warning that
Failed to communicate with the flash chip, read/write operations will fail.
Try checking the chip connections or removing any other hardware connected to IOs.
Does anybody have any tips for me? I can’t figure out my next steps, and I searched everywhere but didn’t find anything. The IDE can see the ESP32 board, so I’m really confused. :?
For completeness, I have two cards installed in the Function Zero (environmental) and Function One (Ethernet) slots on the main board; should I try removing them?
Thanks for any advice!
----------CUT HERE----------
Sketch uses 228333 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21976 bytes (6%) of dynamic memory, leaving 305704 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting…
Chip is ESP32-D0WDQ6-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:8f:7a:38
Uploading stub…
Running stub…
Stub running…
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
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 0x00047fff…
Compressed 18960 bytes to 13073…
A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed uploading: uploading error: exit status 2