Page 1 of 1

ESP32 Wrover Cannot Flash Firmware Need Help

Posted: Mon Apr 26, 2021 3:47 pm
by Chong83
i trying do a custom Wrover Board But Cannot Burn in the Firmware
This is my Schematic
Schematic_tttttttttt_2021-04-26.png
Schematic_tttttttttt_2021-04-26.png (111.89 KiB) Viewed 3086 times
i try connect by Arduino-IDE or Putty Serial
i press Reset / EN show

Code: Select all

EN / RST
rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57
Long Press Boot Then RST Show

Code: Select all

BOOT
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
But when i try Flash The Firmware

Code: Select all

C:\Users\Nexxc\Desktop\20210124_full\windows>bin\esptool.exe --chip esp32 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode qout --flash_freq 80m --flash_size detect 0xe000 ..\firmware\boot_app0.bin 0x1000 ..\firmware\bootloader_dio_80m.bin 0x10000 ..\firmware\firmware.bin 0x8000 ..\firmware\partitions16.bin
esptool.py v2.6-beta1
Found 1 serial ports
Serial port COM8
Connecting........_____....._____....._____....._____....._____....._____....._____
COM8 failed to connect: Failed to connect to ESP32: Timed out waiting for packet header

A fatal error occurred: All of the 1 available serial ports could not connect to a Espressif device.

C:\Users\abcv\Desktop\20210124_full\windows>pause
Press any key to continue . . .
Please Help :(

Re: ESP32 Wrover Cannot Flash Firmware Need Help

Posted: Tue Apr 27, 2021 6:40 am
by Vader_Mester
I don't see any issue with the schematic at first glance, only that D0 should have a Pull-Up?
If you look at https://dl.espressif.com/dl/schematics/ ... _SCH-2.pdf, bottom right corner of the PDF, you can see that every signal on the SD-Card connector have pull-ups, even data lines as well.

What do you use to power the system? Are you using your USB port on your PC? This may not be enough, unstable power supply can cause an insane amount of problems with these modules, as they can destabilize the reset line.
Looking at the message during flashing, this can be the case.
I suggest, to use an externally powered USB hub and a good quality cable to connect it, otherwise it will not work.

I think, that what happened is, that a flashing actually started, but didn't complete because the ESP was reset. If you fix your power issue you shall be good.