psram: PSRAM ID read error: 0x00ffffff

robbietree
Posts: 6
Joined: Mon Oct 17, 2022 8:26 am

psram: PSRAM ID read error: 0x00ffffff

Postby robbietree » Tue Nov 08, 2022 6:46 am

我们有个项目使用了esp32s3+es8388音频芯片,由于音频解码需要占用的内存比较大,想着用flash当一部分ram用,但是遇到了如标题所示的问题,搜寻了一番,没有找到什么解决方案,看看论坛里有没有人遇到过或者有思路的。


具体参数如下:

使用的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!

ESP_William
Posts: 131
Joined: Tue Apr 24, 2018 5:54 am

Re: psram: PSRAM ID read error: 0x00ffffff

Postby ESP_William » Thu Nov 10, 2022 11:17 am

CONFIG_ESP32S3_SPIRAM_SUPPORT=y
这个配置需要有 PSRAM 才能运行,您可以使用 ESP32-S3R2 这个芯片(内置 2M Psram)来开发

robbietree
Posts: 6
Joined: Mon Oct 17, 2022 8:26 am

Re: psram: PSRAM ID read error: 0x00ffffff

Postby robbietree » Fri Nov 11, 2022 6:12 am

嗯, 后来买了你说的这款新品就ok了,谢谢

Who is online

Users browsing this forum: No registered users and 9 guests