Page 1 of 1

Can't flash ESP32_WROVER-B. "flash_id" reports "Flash size unknown".

Posted: Thu Jul 18, 2019 11:45 am
by tipo1000
Hi,

We bought ESP32-WROVER-B module from Mouser. Mouser #: 356-ESP32-WROB(16MB).

We can't get the module flashed.
Flashing gets stucked to 6%. See below.
esptool.py can't recognize the flash memory. See below.
Does this verify the module is broken? Or what can be the issue?


C:\>esptool.py --port com15 write_flash 0x20000 firmware_04_190703.bin
esptool.py v2.6
Serial port com15
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme
None
MAC: 24:6f:28:4a:dd:70
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting
to 4MB
Compressed 847248 bytes to 522527...
Writing at 0x00024000... (6 %)
A fatal error occurred: Timed out waiting for packet header

C:\>esptool.py -p com15 flash_id
esptool.py v2.6
Serial port com15
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme
None
MAC: 24:6f:28:4a:dd:70
Uploading stub...
Running stub...
Stub running...
Manufacturer: 00
Device: 0000
Detected flash size: Unknown
Hard resetting via RTS pin...

Thanks,
Tipo

Re: Can't flash ESP32_WROVER-B. "flash_id" reports "Flash size unknown".

Posted: Thu Jul 18, 2019 3:54 pm
by WiFive
Did you connect anything to gpio 6-12? What is the output of 'make monitor'?