espressif / esp-idf

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

ESP-IDF v5.3-beta2-dirty 为什么不可以配置S3芯片的PSRAM (IDFGH-13114) #14061

Closed shenxiaozheng closed 2 months ago

shenxiaozheng commented 3 months ago

Answers checklist.

IDF version.

ESP-IDF v5.3-beta2-dirty

Espressif SoC revision.

ESP32S3

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

ESP32-S3-Korvo v4.0

Power Supply used.

USB

What is the expected behavior?

我在写代码的过程中,硬件完好的情况下,PSRAM无法通过sdkconfig进行配置。

What is the actual behavior?

我在写代码的过程中,硬件完好的情况下,PSRAM无法通过sdkconfig进行配置。

Steps to reproduce.

  1. 写一个c程序
  2. 程序中在psram上申请1k的内存
  3. 编译通过之后烧板子
  4. 直接报错 ...

Debug Logs.

No response

More Information.

No response

nopnop2002 commented 3 months ago

I was able to successfully mount it using ESP-IDF v5.3 and ESP32S3.

I (27) boot: ESP-IDF v5.3-beta2 2nd stage bootloader
I (27) boot: compile time Jul  1 2024 18:32:13
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (34) boot.esp32s3: Boot SPI Speed : 80MHz
I (39) boot.esp32s3: SPI Mode       : DIO
I (44) boot.esp32s3: SPI Flash Size : 2MB

I (177) esp_psram: Found 8MB PSRAM device
ginkgm commented 2 months ago

Hi @shenxiaozheng ,

The Korvo has a Octal PSRAM. Could you select this config option and try again: config SPIRAM_MODE_OCT?

If you still fail, please provide more detailed information, including sdkconfig, IDF sha, your testing code, failing log.

Thanks, Michael

shenxiaozheng commented 2 months ago

@nopnop2002 Well, thank you very much. I have followed your instructions to resolve this issue.

Alvin1Zhang commented 2 months ago

Thanks for sharing the updates, feel free to reopen.