Delay booting

Reiner1210
Posts: 39
Joined: Tue Mar 20, 2018 6:28 pm

Delay booting

Postby Reiner1210 » Mon Dec 03, 2018 9:47 am

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).

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

Re: Delay booting

Postby ESP_Sprite » Tue Dec 04, 2018 4:28 am

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.

Reiner1210
Posts: 39
Joined: Tue Mar 20, 2018 6:28 pm

Re: Delay booting

Postby Reiner1210 » Tue Dec 04, 2018 4:49 pm

@ESP_Sprite Yes this is the normal way :-)
Is it possible to add a delay to bootloader ? - feature ewquest :-)

Reiner

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Delay booting

Postby loboris » Tue Dec 04, 2018 6:29 pm

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.

Who is online

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