Page 1 of 1

Delay booting

Posted: Mon Dec 03, 2018 9:47 am
by Reiner1210
Hello,

is there a possibility to delay the boot of the ESP32.
Background: With some switching power supplies the rise up time of the power is too long.
So the ESP32 starts booting but does not go in normal operating mode. Wiring the GPIO0 to VCC and GPIO12 to GND helps but is not so very nice. Especially that I need to wire it without a resistor.
If the brownout feature would work this could be also a possibility - but I use WiFi and then it is not working.
Ideal would be a delay in the bootloader so it starts (and reading the strapping pins) after a short delay (~500ms).

Re: Delay booting

Posted: Tue Dec 04, 2018 4:28 am
by ESP_Sprite
Not really. If you have a power supply that ramps up too slowly, we'd advise an external power supervisor / reset chip connected to the EN/CHIP_PU line of the ESP32.

Re: Delay booting

Posted: Tue Dec 04, 2018 4:49 pm
by Reiner1210
@ESP_Sprite Yes this is the normal way :-)
Is it possible to add a delay to bootloader ? - feature ewquest :-)

Reiner

Re: Delay booting

Posted: Tue Dec 04, 2018 6:29 pm
by loboris
Reiner1210 wrote:
Tue Dec 04, 2018 4:49 pm
Is it possible to add a delay to bootloader ? - feature ewquest :-)
You can't do anything before the 2nd stage bootloader starts - untit then the code is executed from ROM.
Reiner1210 wrote:
Mon Dec 03, 2018 9:47 am
If the brownout feature would work this could be also a possibility - but I use WiFi and then it is not working.
Brownout works fine if you use WiFi, and WiFi is not started until you start it in your application.