<!-- Thanks for reporting a bug for this project. READ THIS FIRST:
- Provide …as many details as possible. Simply saying "X gives bug" or "X gives error" is not enough!
- Paste logs, configuration sample and code into the backticks (```).
- Read through the template carefully and fill out all missing details.
- Please also search for similar issues in this issue tracker first and read through the ESPHome FAQ.
DO NOT DELETE ANY TEXT from this template! Otherwise the issue may be closed without a comment.
-->
**Operating environment/Installation (Hass.io/Docker/pip/etc.):**
<!--
Please provide details about your environment below this line. -->
Arch Linux, Python 3.8.
**ESP (ESP32/ESP8266, Board/Sonoff):**
<!--
Please provide details about which ESP you're using below.
-->
ESP32
**Affected component:**
<!--
Please add the link to the documentation at https://esphome.io/index.html of the component in question.
-->
https://esphome.io/components/wifi.html ?
**Description of problem:**
ESP32 doesn't start after upgrade.
**Problem-relevant YAML-configuration entries:**
```yaml
wifi:
ssid: !secret ssid
password: !secret wifi_password
```
**Logs (if applicable):**
<!--
Please copy the debug log here. If possible, also connect to the ESP over USB and copy those logs into the backticks.
-->
```
PASTE DEBUG LOG HERE
[19:45:10]Rebooting...
[19:45:10]ets Jun 8 2016 00:22:57
[19:45:10]
[19:45:10]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[19:45:10]configsip: 0, SPIWP:0xee
[19:45:10]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[19:45:10]mode:DIO, clock div:2
[19:45:10]load:0x3fff0018,len:4
[19:45:10]load:0x3fff001c,len:1044
[19:45:10]load:0x40078000,len:8896
[19:45:10]load:0x40080400,len:5828
[19:45:10]entry 0x400806ac
[19:45:10][E][pcf8574:012]: PCF8574 not available under 0x27
[19:45:10][E][component:092]: Component was marked as failed.
[19:45:10][E][component:092]: Component was marked as failed.
[19:45:10][E][component:092]: Component was marked as failed.
[19:45:10][E][component:092]: Component was marked as failed.
[19:45:10][E][component:092]: Component was marked as failed.
[19:45:10]Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1)
[19:45:10]Core 1 register dump:
[19:45:10]PC : 0x4008c366 PS : 0x00060134 A0 : 0x8008b523 A1 : 0x3ffb0970
WARNING Decoded 0x4008c366: vListInsert at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/list.c:188
[19:45:10]A2 : 0x3ffb7ddc A3 : 0x3ffb8074 A4 : 0x00000001 A5 : 0x00000001
[19:45:10]A6 : 0x00060123 A7 : 0x00000000 A8 : 0x3ffb8074 A9 : 0x3ffb8074
[19:45:10]A10 : 0x00000001 A11 : 0x00000001 A12 : 0x00000020 A13 : 0x00000000
[19:45:10]A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000014 EXCCAUSE: 0x00000006
[19:45:10]EXCVADDR: 0x00000000 LBEG : 0x40001609 LEND : 0x4000160d LCOUNT : 0x00000000
[19:45:10]
[19:45:10]Backtrace: 0x4008c366:0x3ffb0970 0x4008b520:0x3ffb0990 0x400897ab:0x3ffb09b0 0x400fde97:0x3ffb09f0 0x400fdf62:0x3ffb0a10 0x40087966:0x3ffb0a30 0x40087e9a:0x3ffb0a50 0x40110565:0x3ffb0ac0 0x4010ee2d:0x3ffb0ae0 0x4010f27b:0x3ffb0b00 0x4010dc05:0x3ffb0b70 0x4010e001:0x3ffb0bc0 0x4010e138:0x3ffb0c40 0x4010d0ce:0x3ffb0ca0 0x4010d735:0x3ffb0ce0 0x4015c9e6:0x3ffb0d00 0x4015cbda:0x3ffb0d50 0x4015cc2d:0x3ffb0d80 0x40110a23:0x3ffb0da0 0x40110b76:0x3ffb0dc0 0x400fc289:0x3ffb0de0 0x400eca58:0x3ffb0e00 0x400df7b5:0x3ffb0f00 0x400df814:0x3ffb0f30 0x400debe8:0x3ffb0f60 0x40173051:0x3ffb0f80 0x40173139:0x3ffb0fa0 0x400e10cd:0x3ffb0fc0 0x400ea9aa:0x3ffb1010 0x400f9333:0x3ffb1fb0 0x400899a5:0x3ffb1fd0
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x4008c366: vListInsert at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/list.c:188
WARNING Decoded 0x4008b520: vTaskPlaceOnEventList at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c:3507
WARNING Decoded 0x400897ab: xQueueGenericReceive at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1996
WARNING Decoded 0x400fde97: esp_ipc_call_and_wait at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/ipc.c:116
WARNING Decoded 0x400fdf62: esp_ipc_call at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/ipc.c:123
WARNING Decoded 0x40087966: spi_flash_disable_interrupts_caches_and_other_cpu at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/cache_utils.c:120
WARNING Decoded 0x40087e9a: spi_flash_guard_start at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/flash_ops.c:162
(inlined by) spi_flash_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/flash_ops.c:508
WARNING Decoded 0x40110565: nvs::nvs_flash_read(unsigned int, void*, unsigned int) at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_ops.cpp:70
WARNING Decoded 0x4010ee2d: nvs::Page::readEntry(unsigned int, nvs::Item&) const at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_page.cpp:849
WARNING Decoded 0x4010f27b: nvs::Page::findItem(unsigned char, nvs::ItemType, char const*, unsigned int&, nvs::Item&, unsigned char, nvs::VerOffset) at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_page.cpp:849
WARNING Decoded 0x4010dc05: nvs::Storage::findItem(unsigned char, nvs::ItemType, char const*, nvs::Page*&, nvs::Item&, unsigned char, nvs::VerOffset) at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_storage.cpp:557
WARNING Decoded 0x4010e001: nvs::Storage::readMultiPageBlob(unsigned char, char const*, void*, unsigned int) at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_storage.cpp:557
WARNING Decoded 0x4010e138: nvs::Storage::readItem(unsigned char, nvs::ItemType, char const*, void*, unsigned int) at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_storage.cpp:557
WARNING Decoded 0x4010d0ce: nvs_get_str_or_blob(unsigned int, nvs::ItemType, char const*, void*, unsigned int*) at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_api.cpp:521
WARNING Decoded 0x4010d735: nvs_get_blob at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_api.cpp:525
WARNING Decoded 0x4015c9e6: nvs_log_init
WARNING Decoded 0x4015cbda: misc_nvs_load
WARNING Decoded 0x4015cc2d: misc_nvs_init
WARNING Decoded 0x40110a23: wifi_init_in_caller_task
WARNING Decoded 0x40110b76: esp_wifi_init_internal
WARNING Decoded 0x400fc289: esp_wifi_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/wifi_init.c:62
WARNING Decoded 0x400eca58: WiFiGenericClass::mode(wifi_mode_t) at /home/username/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.cpp:250
(inlined by) espWiFiStart at /home/username/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.cpp:140
(inlined by) WiFiGenericClass::mode(wifi_mode_t) at /home/username/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.cpp:485
WARNING Decoded 0x400df7b5: esphome::wifi::WiFiComponent::wifi_mode_(esphome::optional<bool>, esphome::optional<bool>) at /home/username/Development/fw-mroom-blinds/src/esphome/components/wifi/wifi_component_esp32.cpp:545
WARNING Decoded 0x400df814: esphome::wifi::WiFiComponent::wifi_sta_pre_setup_() at /home/username/Development/fw-mroom-blinds/src/esphome/components/wifi/wifi_component_esp32.cpp:545
WARNING Decoded 0x400debe8: esphome::wifi::WiFiComponent::setup() at /home/username/Development/fw-mroom-blinds/src/esphome/components/wifi/wifi_component.cpp:138
WARNING Decoded 0x40173051: esphome::Component::call_setup() at /home/username/Development/fw-mroom-blinds/src/esphome/core/component.cpp:63
WARNING Decoded 0x40173139: esphome::Component::call() at /home/username/Development/fw-mroom-blinds/src/esphome/core/component.cpp:82
WARNING Decoded 0x400e10cd: esphome::Application::setup() at /home/username/Development/fw-mroom-blinds/src/esphome/core/application.cpp:37
WARNING Decoded 0x400ea9aa: setup() at /home/username/Development/fw-mroom-blinds/src/main.cpp:2197
WARNING Decoded 0x400f9333: loopTask(void*) at /home/username/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:14
WARNING Decoded 0x400899a5: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
[19:45:11]
[19:45:11]Core 0 register dump:
[19:45:11]PC : 0x40089e66 PS : 0x00060034 A0 : 0x8008a5cd A1 : 0x3ffbbf40
WARNING Decoded 0x40089e66: uxPortCompareSet at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/include/freertos/portmacro.h:285
(inlined by) vPortCPUAcquireMutexIntsDisabledInternal at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.inc.h:86
(inlined by) vPortCPUAcquireMutexIntsDisabled at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.h:98
(inlined by) vPortCPUAcquireMutex at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:394
[19:45:11]A2 : 0x3ffbf3cc A3 : 0xb33fffff A4 : 0x00060023 A5 : 0x003fffff
[19:45:11]A6 : 0x00060021 A7 : 0x00000000 A8 : 0x0000cdcd A9 : 0x0000cdcd
[19:45:11]A10 : 0x0000abab A11 : 0x00060023 A12 : 0x00060021 A13 : 0x3ffbbff0
[19:45:11]A14 : 0x00000003 A15 : 0x00060123 SAR : 0x0000001d EXCCAUSE: 0x00000006
[19:45:11]EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
[19:45:11]
[19:45:11]Backtrace: 0x40089e66:0x3ffbbf40 0x4008a5ca:0x3ffbbf70 0x4008c208:0x3ffbbf90 0x4008c1be:0x3ffba848
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40089e66: uxPortCompareSet at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/include/freertos/portmacro.h:285
(inlined by) vPortCPUAcquireMutexIntsDisabledInternal at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.inc.h:86
(inlined by) vPortCPUAcquireMutexIntsDisabled at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.h:98
(inlined by) vPortCPUAcquireMutex at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:394
WARNING Decoded 0x4008a5ca: vTaskSwitchContext at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c:3507
WARNING Decoded 0x4008c208: _frxt_dispatch at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portasm.S:406
WARNING Decoded 0x4008c1be: _frxt_int_exit at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portasm.S:206
[19:45:11]
[19:45:11]Rebooting...
[19:45:11]ets Jun 8 2016 00:22:57
[19:45:11]
[19:45:11]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[19:45:11]configsip: 0, SPIWP:0xee
[19:45:11]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[19:45:11]mode:DIO, clock div:2
[19:45:11]load:0x3fff0018,len:4
[19:45:11]load:0x3fff001c,len:1044
[19:45:11]load:0x40078000,len:8896
[19:45:11]load:0x40080400,len:5828
[19:45:11]entry 0x400806ac
[19:45:11][E][ota:369]: Boot loop detected. Proceeding to safe mode.
[19:45:12][W][ota:036]: Last Boot was an unhandled reset, will proceed to safe mode in 0 restarts
```
**Additional information and things you've tried:**
Flash erasing doesn't help. There are PCF8574 and other errors because nothing is connected to ESP32. I don't have DHT sensors, so it's not related to https://github.com/esphome/issues/issues/1269.