ESP32 not booting until reset button pressed

ESP_Sprite
Posts: 9583
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 not booting until reset button pressed

Postby ESP_Sprite » Tue Aug 29, 2023 12:43 am

rcoznd wrote:
Mon Aug 28, 2023 10:00 pm
I'm having a similar issue than the other folks. This is the circuit of my custom board:
Remove C10.

keithhnelson20
Posts: 1
Joined: Tue Oct 17, 2023 10:18 pm

Re: ESP32 not booting until reset button pressed

Postby keithhnelson20 » Tue Oct 17, 2023 10:35 pm

Hi. I am having the same issue.

I am certain its a sleep issue, because my esp32 tried to 'execute the next program step it was in the middle of when the power went off, once usb power restored.' i.e' when the power comes back on.
The ESP32 can to a Zero-Volt Suspend and use .006 milliwatts or something insanely low, Smile at it and that's enough for hours' lol.

Therefore,
After Power-Failure, your voltage controller circuitry, needs to flash the Reset pin,
or,
like mine, the ESP32 will try and 'carry on from where it left off'
I will get back on how I did this shortly.

djixon
Posts: 113
Joined: Sun Oct 01, 2023 7:48 pm

Re: ESP32 not booting until reset button pressed

Postby djixon » Thu Oct 19, 2023 6:13 am

@rcoznd Your schematic is wrong. If the board is really made as design on that schematic it wont work properly. Collector of Q2 doesn't have a PLUS, ever. Also signal named as 0, on that schematic, is connected only to your switch but it should be connected to IO0 too. But even if that connection exists, Q2 can not work like that. You have to exchange collector and emitter pins on Q2 for proper operation of Q2.

ESP_Sprite
Posts: 9583
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 not booting until reset button pressed

Postby ESP_Sprite » Thu Oct 19, 2023 12:18 pm

djixon wrote:
Thu Oct 19, 2023 6:13 am
@rcoznd Your schematic is wrong. If the board is really made as design on that schematic it wont work properly. Collector of Q2 doesn't have a PLUS, ever. Also signal named as 0, on that schematic, is connected only to your switch but it should be connected to IO0 too. But even if that connection exists, Q2 can not work like that. You have to exchange collector and emitter pins on Q2 for proper operation of Q2.
That's actually the 'standard' auto-reset circuit as implemented on about five bazillion devboards; it's a bit weird but it works fine. Also, that schematic looks like it has the '0' net connected to IO0. Q2 specifically will pull IO0 (which has an internal pullup) low when DTR=0 and RTS=1.

djixon
Posts: 113
Joined: Sun Oct 01, 2023 7:48 pm

Re: ESP32 not booting until reset button pressed

Postby djixon » Sun Oct 22, 2023 12:29 pm

Ah I see, there is an internal pull-up on IO0 which is always there (not need to be turned on by software) which provides PLUS on collector of Q2, that's why that transistor can work properly.

Ron_Nachshon
Posts: 1
Joined: Fri Feb 02, 2024 3:52 pm

Re: ESP32 not booting until reset button pressed

Postby Ron_Nachshon » Fri Feb 02, 2024 3:54 pm

This problem is solved by removing the capacitance on io0.
Good luck.

ChrisAlfred
Posts: 19
Joined: Tue Mar 23, 2021 6:22 am

Re: ESP32 not booting until reset button pressed

Postby ChrisAlfred » Mon Feb 05, 2024 3:38 am

We have found that FTDI serial cables work, but CP210x cables do NOT work.
It has to do with the timing of control signals and the problem with the Q1,Q2 design I highlighted above.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 93 guests