Page 1 of 1

ESP32 update to 20220809 - does not boot any more

Posted: 15 Aug 2022, 17:05
by _Cyber_
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:

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

Posted: 15 Aug 2022, 17:26
by Ath
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.

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

Posted: 15 Aug 2022, 21:56
by TD-er
Yep, we're working hard on this one as it may lead to some nasty issues (as in hard to reproduce)

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

Posted: 18 Aug 2022, 10:54
by _Cyber_
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. :-)