psram: PSRAM ID read error: 0x00ffffff
Posted: Tue Nov 08, 2022 6:46 am
我们有个项目使用了esp32s3+es8388音频芯片,由于音频解码需要占用的内存比较大,想着用flash当一部分ram用,但是遇到了如标题所示的问题,搜寻了一番,没有找到什么解决方案,看看论坛里有没有人遇到过或者有思路的。
具体参数如下:
使用的esp32型号: esp32-s3
外挂flash,型号: GD25Q256DYIG
menuconfig:
error msg:
具体参数如下:
使用的esp32型号: esp32-s3
外挂flash,型号: GD25Q256DYIG
menuconfig:
Code: Select all
CONFIG_ESPTOOLPY_FLASHSIZE_32MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="32MB"
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
#
# SPI RAM config
#
CONFIG_SPIRAM_MODE_QUAD=y
# CONFIG_SPIRAM_MODE_OCT is not set
CONFIG_SPIRAM_TYPE_AUTO=y
# CONFIG_SPIRAM_TYPE_ESPPSRAM16 is not set
# CONFIG_SPIRAM_TYPE_ESPPSRAM32 is not set
# CONFIG_SPIRAM_TYPE_ESPPSRAM64 is not set
CONFIG_SPIRAM_SIZE=-1
error msg:
Code: Select all
I (24) boot: ESP-IDF v4.4.2-388-g755ce1077d 2nd stage bootloader
I (24) boot: compile time 14:33:55
I (24) boot: chip revision: 0
I (27) boot.esp32s3: Boot SPI Speed : 80MHz
I (32) boot.esp32s3: SPI Mode : DIO
I (37) boot.esp32s3: SPI Flash Size : 32MB
I (41) boot: Enabling RNG early entropy source...
I (47) boot: Partition Table:
I (50) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (65) boot: 1 phy_init RF data 01 01 0000d000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00300000
I (80) boot: 3 storage Unknown data 01 82 00320000 00100000
I (88) boot: End of partition table
I (92) esp_image: segment 0: paddr=00010020 vaddr=3c080020 size=219d8h (137688) map
I (125) esp_image: segment 1: paddr=00031a00 vaddr=3fc95eb0 size=02a3ch ( 10812) load
I (127) esp_image: segment 2: paddr=00034444 vaddr=40374000 size=0bbd4h ( 48084) load
I (141) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=7baa8h (506536) map
I (232) esp_image: segment 4: paddr=000bbad0 vaddr=4037fbd4 size=062d4h ( 25300) load
I (238) esp_image: segment 5: paddr=000c1dac vaddr=50000000 size=00010h ( 16) load
I (239) esp_image: segment 6: paddr=000c1dc4 vaddr=600fe000 size=0002ch ( 44) load
I (254) boot: Loaded app from partition at offset 0x10000
I (254) boot: Disabling RNG early entropy source...
E (270) psram: PSRAM ID read error: 0x00ffffff
E (270) cpu_start: Failed to init external RAM!