Waiting for download

bluebirdsoftware
Posts: 7
Joined: Wed Oct 27, 2021 6:38 am

Waiting for download

Postby bluebirdsoftware » Tue Apr 26, 2022 8:04 am

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

username
Posts: 535
Joined: Thu May 03, 2018 1:18 pm

Re: Waiting for download

Postby username » Wed Apr 27, 2022 2:17 am

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.

bluebirdsoftware
Posts: 7
Joined: Wed Oct 27, 2021 6:38 am

Re: Waiting for download

Postby bluebirdsoftware » 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.

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: Waiting for download

Postby chegewara » Thu Apr 28, 2022 7:33 am

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

bluebirdsoftware
Posts: 7
Joined: Wed Oct 27, 2021 6:38 am

Re: Waiting for download

Postby bluebirdsoftware » Thu Apr 28, 2022 7:52 am

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

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: Waiting for download

Postby chegewara » Thu Apr 28, 2022 8:06 am

Yeap. As you can see here it is 0x33 now.
It looks like soldering issue or less likely faulty chip.

bluebirdsoftware
Posts: 7
Joined: Wed Oct 27, 2021 6:38 am

Re: Waiting for download

Postby bluebirdsoftware » Thu Apr 28, 2022 8:53 am

Okay, thank you. I will check if my other PCB's don't have this behaviour

username
Posts: 535
Joined: Thu May 03, 2018 1:18 pm

Re: Waiting for download

Postby username » Thu Apr 28, 2022 12:06 pm

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 ?

bluebirdsoftware
Posts: 7
Joined: Wed Oct 27, 2021 6:38 am

Re: Waiting for download

Postby bluebirdsoftware » Fri Apr 29, 2022 7:20 am

That is the only one i don't have. It could cause this problem?

username
Posts: 535
Joined: Thu May 03, 2018 1:18 pm

Re: Waiting for download

Postby username » Fri Apr 29, 2022 11:52 am

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.

Who is online

Users browsing this forum: Google [Bot] and 85 guests