Page 1 of 1

Waiting for download

Posted: Tue Apr 26, 2022 8:04 am
by bluebirdsoftware
Hello,

I have built my own PCB for an ESP32 WROVER.
The PCB also has a reset button (from this url: https://www.espressif.com/sites/default ... eet_en.pdf)

But once in a few times (say 1 in 10 / 1 in 15 times) it doesn't restart but comes in the "waiting for download" mode.

I have connected GPIO_0 with a 10K resistor to 3.3v
What can be the problem?

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x0 (DOWNLOAD_BOOT(UART0/UART1/SDIO_FEI_FEO_V2))
waiting for download

Re: Waiting for download

Posted: Wed Apr 27, 2022 2:17 am
by username
Make sure you have a 0.1uf cap from EN to GND, and GPIO0 to GND. along with at least a 10k pullup to 3.3v for each pin.

Re: Waiting for download

Posted: Thu Apr 28, 2022 7:30 am
by bluebirdsoftware
I already have a 10K resistor between IO0 and 3.3v, a 10K resistor between EN and 3.3v and a 0.1uF capacitor between EN and GND.
It still sometimes boots into "download" mode.

Re: Waiting for download

Posted: Thu Apr 28, 2022 7:33 am
by chegewara
To me it looks like hardware (soldering) issue. Looks at this log:
boot:0x0
It means all strapping pins are connected to GND. Unless it is what you need in your design.

PS how this line looks like when it works normally

Re: Waiting for download

Posted: Thu Apr 28, 2022 7:52 am
by bluebirdsoftware
The ESP32 Wrover is soldered by JLCPCB (so i hope they know how to solder).

This is my normal boot:

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x33 (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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8

Re: Waiting for download

Posted: Thu Apr 28, 2022 8:06 am
by chegewara
Yeap. As you can see here it is 0x33 now.
It looks like soldering issue or less likely faulty chip.

Re: Waiting for download

Posted: Thu Apr 28, 2022 8:53 am
by bluebirdsoftware
Okay, thank you. I will check if my other PCB's don't have this behaviour

Re: Waiting for download

Posted: Thu Apr 28, 2022 12:06 pm
by username
bluebirdsoftware wrote:
Thu Apr 28, 2022 7:30 am
I already have a 10K resistor between IO0 and 3.3v, a 10K resistor between EN and 3.3v and a 0.1uF capacitor between EN and GND.
It still sometimes boots into "download" mode.
What about the 0.1uf cap on IO0 to GND ?

Re: Waiting for download

Posted: Fri Apr 29, 2022 7:20 am
by bluebirdsoftware
That is the only one i don't have. It could cause this problem?

Re: Waiting for download

Posted: Fri Apr 29, 2022 11:52 am
by username
bluebirdsoftware wrote:
Fri Apr 29, 2022 7:20 am
That is the only one i don't have. It could cause this problem?
I have found when I run into this issue on several other ESP32 kits/boards adding the cap to EN & IO0 solved the problem.
It can't hurt to just add it and try.