ESP32 update to 20220809 - does not boot any more

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
_Cyber_
Normal user
Posts: 113
Joined: 20 Oct 2019, 09:46

ESP32 update to 20220809 - does not boot any more

#1 Post by _Cyber_ » 15 Aug 2022, 17:05

after update from 20220616 to 20220809 my ESP32 did not boot any more.

on serial it stucks with the following lines:

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x13 (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:1
load:0x3fff0010,len:4
load:0x3fff0014,len:812
load:0x40078000,len:0
load:0x40078000,len:10164
entry 0x400789f8
I used ESP_Easy_mega_20220809_normal_ESP32_4M316k.bin (and had before ESP_Easy_mega_20220616_normal_ESP32_4M316k.bin) and updated with the web gui, as I did already with several versions before.

after flashing with ESP32 tool ESP_Easy_mega_20220809_normal_ESP32_4M316k.factory.bin the unit works again (with the config still in place).

the boot looks now like this:

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (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:DOUT, clock div:2
load:0x3fff0030,len:184
load:0x40078000,len:12616
load:0x40080400,len:2916
entry 0x400805c4
▒U36 : Info   :
I had this behavior on two ESP32 - on both the same.

all ESP8266 updates worked well. so maybe the ESP32 build is a bit special. :shock:

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32 update to 20220809 - does not boot any more

#2 Post by Ath » 15 Aug 2022, 17:26

It seems that the latest Espressif IDF builds are more sensitive to the flash mode used. The flash mode was DIO and clock div:1, as your log shows, and after re-flashing with the bootloader included, it switched to DOUT and clock div:2.

There is a discussion, and a few PR's, going on on Github to solve that.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP32 update to 20220809 - does not boot any more

#3 Post by TD-er » 15 Aug 2022, 21:56

Yep, we're working hard on this one as it may lead to some nasty issues (as in hard to reproduce)

_Cyber_
Normal user
Posts: 113
Joined: 20 Oct 2019, 09:46

Re: ESP32 update to 20220809 - does not boot any more

#4 Post by _Cyber_ » 18 Aug 2022, 10:54

thank you both for your hard work.

this is the time where I am glad I did not solder the ESP32 directly, instead used a legged one and soldered sockets for it. :-)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 26 guests