For what it’s worth, I just pulled a fresh ESP-WROOM-32 module out of the bag and flashed it with DIY V1 from the web flasher, and it has booted right up with no hardware connected:
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13192
load:0x40080400,len:3028
entry 0x400805e4
E (832) esp_core_dump_flash: No core dumÀ[06]‚…Éѥѥ½¹found!
E (833) esp_core_dump_flash: No core dump partition found!
[ 12][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
”Ã[00][02]@[01]INFO | ??:??:?? 0
//\ E S H T /\ S T / C
INFO | ??:??:?? 0 Booted, wake cause 0 (boot count 1), reset_reason=reset
DEBUG | ??:??:?? 0 Filesystem files (491520/1048576 Bytes):
DEBUG | ??:??:?? 0 /prefs/channels.proto (57 Bytes)
DEBUG | ??:??:?? 0 /prefs/db.proto (325 Bytes)
DEBUG | ??:??:?? 0 /static/.gitkeep (0 Bytes)
DEBUG | ??:??:?? 0 /static/Logo_Black.svg.gz (602 Bytes)
It’s worth noting that the flasher reports this devices chip as ESP32-D0WD-V3
, rather than the ESP32-DOWDQ6-V3
which is claimed on the Amazon page for your boards. Maybe this is responsible for the differences we’re seeing?
Just at a glance, I can’t see any real differences between the board definition for esp32dev and esp32doit-devkit-v1, so I’m not sure using board = esp32dev
would help, but it’s always worth a try.
It might be worth trying to change some of the ESP32 base flags, or, ideally, overriding them in platformio.ini for a new custom variant.
Have you tried using the “erase flash” option in the web-flasher, rather than PlatformIO? I’m not sure it makes a difference, just trying to think of any possible things to prod at, just in case.