espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.76k stars 7.3k forks source link

ESP32 Not working after soft reset "E (151) psram: PSRAM ID read error: 0xffffffff" (IDFGH-6674) #8306

Open tosspornchai opened 2 years ago

tosspornchai commented 2 years ago

I use ESP32 wroom32. I use "Smart Connect " for connect wifi and use mqtt to send or receive command to reset my esp. after reset my program is not working and report "E (151) psram: PSRAM ID read error: 0xffffffff"

ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x17 (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:0x3fff0030,len:1240 load:0x40078000,len:13012 load:0x40080400,len:3648 entry 0x400805f8 E (151) psram: PSRAM ID read error: 0xffffffff

negativekelvin commented 2 years ago

ESP32 wroom32 does not have psram so you should either disable it in menuconfig or enable SPIRAM_IGNORE_NOTFOUND

https://github.com/espressif/esp-idf/blob/23a03a3bdbaab1fe0ba427dcfcc82ef391cc06f4/components/esp32/Kconfig#L68-L75

https://github.com/espressif/esp-idf/blob/1c82e6eac7c7ba7a5053a7afe0e9bc0a17bd60c7/components/esp_hw_support/Kconfig.spiram.common#L17-L25